Remove paren_depth global
[deliverable/binutils-gdb.git] / gdb / go-exp.y
index d112a73f21a7957128897ef3fe66f84f27f6f1e6..aaffe3d45a063a23025339fee12a1111a22cf6ce 100644 (file)
@@ -1001,6 +1001,9 @@ static int saw_name_at_eof;
    do field name completion.  */
 static int last_was_structop;
 
+/* Depth of parentheses.  */
+static int paren_depth;
+
 /* Read one token, getting characters through lexptr.  */
 
 static int
@@ -1566,6 +1569,7 @@ go_parse (struct parser_state *par_state)
   /* Initialize some state used by the lexer.  */
   last_was_structop = 0;
   saw_name_at_eof = 0;
+  paren_depth = 0;
 
   token_fifo.clear ();
   popping = 0;
This page took 0.024455 seconds and 4 git commands to generate.