From 6df8474bd803da1b2937273edfec0ce9d0298fef Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 19 Nov 2015 01:36:46 -0800 Subject: [PATCH] Automatic semi-colon insertion broke with Bison 3. --- Cycript.yy.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cycript.yy.in b/Cycript.yy.in index ae8330c..8eba3a4 100644 --- a/Cycript.yy.in +++ b/Cycript.yy.in @@ -755,7 +755,7 @@ StrictSemi Terminator : ";" - | error { if (yyla.type_get() != yyeof_ && yyla.type != token::CloseBrace && !yyla.value.newline_) YYABORT; else { yyerrok; driver.errors_.pop_back(); } } StrictSemi + | error { if (yyla.type_get() != yyeof_ && yyla.type != yytranslate_(token::CloseBrace) && !yyla.value.newline_) { error(@1, "required semi-colon"); } else { yyerrok; driver.errors_.pop_back(); } } StrictSemi ; TerminatorOpt -- 2.49.0