ref: 3d2cb9931a7aa956b7cd04a13de1711d7dd5dd48
parent: 0d0bc82ddf683049af8ed69d23be227001be18c3
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Jul 11 05:15:19 EDT 2014
Simplify directdcl() Removed a goto that was not necessary.
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -70,7 +70,7 @@
} else if (flags) {
if (yytoken != IDEN) {
if (flags & ID_EXPECTED)
- goto expected;
+ error("unexpected '%s'", yytext);
sym = install("", NS_IDEN);
} else {
sym = newiden();
@@ -87,9 +87,6 @@
default: return dp;
}
}
-
-expected:
- error("expected '(' or identifier before of '%s'" , yytext);
}
static struct dcldata*