]> git.saurik.com Git - cycript.git/commitdiff
Remove unneeded cy::parser:: qualitifications.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 6 Jun 2012 20:53:01 +0000 (13:53 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 6 Jun 2012 20:59:18 +0000 (13:59 -0700)
Cycript.yy.in

index 492ab295beb1e58f5376619d3fe32c59229e0143..803cffb94f6ae39eeed1a15064a1487e5b8ac895 100644 (file)
@@ -529,13 +529,13 @@ LexSetStatement
         if (yychar == 0)
             driver.statement_ = true;
         else switch (yychar) {
         if (yychar == 0)
             driver.statement_ = true;
         else switch (yychar) {
-            case cy::parser::token::Function:
-                yychar = cy::parser::token::Function_;
+            case token::Function:
+                yychar = token::Function_;
             break;
 
             break;
 
-            case cy::parser::token::OpenBrace:
-            case cy::parser::token::OpenBrace_:
-                yychar = cy::parser::token::OpenBrace__;
+            case token::OpenBrace:
+            case token::OpenBrace_:
+                yychar = token::OpenBrace__;
             break;
         }
     }
             break;
         }
     }
@@ -558,7 +558,7 @@ Terminator_
 
 Terminator
     : Terminator_
 
 Terminator
     : Terminator_
-    | error { if (yychar != 0 && yychar != cy::parser::token::CloseBrace && !yylval.newline_) YYABORT; else { yyerrok; driver.errors_.pop_back(); } } StrictSemi
+    | error { if (yychar != 0 && yychar != token::CloseBrace && !yylval.newline_) YYABORT; else { yyerrok; driver.errors_.pop_back(); } } StrictSemi
     ;
 
 TerminatorOpt
     ;
 
 TerminatorOpt