Fix a bunch of missing semicolon parse errors from bison.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33426 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-upgrade/UpgradeParser.y.cvs b/tools/llvm-upgrade/UpgradeParser.y.cvs
index 5ad118a..da0772c 100644
--- a/tools/llvm-upgrade/UpgradeParser.y.cvs
+++ b/tools/llvm-upgrade/UpgradeParser.y.cvs
@@ -1483,8 +1483,9 @@
$$ = 0;
}
| ConstPool { $$ = 0; }
+ ;
-External : EXTERNAL | UNINITIALIZED { $$ = $1; *$$ = "external"; }
+External : EXTERNAL | UNINITIALIZED { $$ = $1; *$$ = "external"; } ;
// ConstPool - Constants with optional names assigned to them.
ConstPool : ConstPool OptAssign TYPE TypesV {
@@ -1564,7 +1565,7 @@
AsmBlock : STRINGCONSTANT ;
-BigOrLittle : BIG | LITTLE
+BigOrLittle : BIG | LITTLE ;
TargetDefinition
: ENDIAN '=' BigOrLittle {
@@ -1671,6 +1672,7 @@
BEGIN : BEGINTOK { $$ = new std::string("{"); delete $1; }
| '{' { $$ = new std::string ("{"); }
+ ;
FunctionHeader
: OptLinkage FunctionHeaderH BEGIN {
@@ -1796,7 +1798,7 @@
$$ = 0;
};
-Unwind : UNWIND | EXCEPT { $$ = $1; *$$ = "unwind"; }
+Unwind : UNWIND | EXCEPT { $$ = $1; *$$ = "unwind"; } ;
BBTerminatorInst : RET ResolvedVal { // Return with a result...
*O << " " << *$1 << ' ' << *$2->val << '\n';