(scan_decls): After seeing an extern variable declaration...
authorRichard Stallman <rms@gnu.org>
Mon, 8 Nov 1993 03:09:05 +0000 (03:09 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 8 Nov 1993 03:09:05 +0000 (03:09 +0000)
(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

gcc/scan-decls.c

index 8191045fb75aece06ca4adf4e5b9c7fe2a81ca4a..6fbc8ee9a8e78c675d8f6073ceb9bc3508e1efb2 100644 (file)
@@ -185,7 +185,7 @@ scan_decls (fp)
          else if (nextc == ';' && saw_extern)
            {
              recognized_extern (buf.base, rtype.base);
-             goto handle_statement;
+             goto new_statement;
            }
          else
            ungetc (nextc, fp);