Commit db025de8 by Richard Stallman

(scan_decls): After seeing an extern variable declaration...

(scan_decls):  After seeing an extern variable
declaration, goto new_statement to read a new token, rather
than going to handle_statement (which uses the current token).

From-SVN: r6037
parent 4b7bc656
...@@ -185,7 +185,7 @@ scan_decls (fp) ...@@ -185,7 +185,7 @@ scan_decls (fp)
else if (nextc == ';' && saw_extern) else if (nextc == ';' && saw_extern)
{ {
recognized_extern (buf.base, rtype.base); recognized_extern (buf.base, rtype.base);
goto handle_statement; goto new_statement;
} }
else else
ungetc (nextc, fp); ungetc (nextc, fp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment