OSDN Git Service

(scan_decls): After seeing an extern variable
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 1993 03:09:05 +0000 (03:09 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 1993 03:09:05 +0000 (03:09 +0000)
declaration, goto new_statement to read a new token, rather
than going to handle_statement (which uses the current token).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6037 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/scan-decls.c

index 8191045..6fbc8ee 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);