From: Jay Freeman (saurik) Date: Wed, 6 Jun 2012 20:53:01 +0000 (-0700) Subject: Remove unneeded cy::parser:: qualitifications. X-Git-Tag: v0.9.456~22 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/9ab1d5c50e8e696f27c48cefde8a9151cd5ac063?ds=sidebyside Remove unneeded cy::parser:: qualitifications. --- diff --git a/Cycript.yy.in b/Cycript.yy.in index 492ab29..803cffb 100644 --- a/Cycript.yy.in +++ b/Cycript.yy.in @@ -529,13 +529,13 @@ LexSetStatement 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; - 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; } } @@ -558,7 +558,7 @@ 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