From: Jay Freeman (saurik) Date: Mon, 12 Jul 2010 01:05:30 +0000 (+0000) Subject: Don't optimize {} to ; in the parser. X-Git-Tag: v0.9.432~17 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/039ea0ce2f7197c9dae2382e09cfdfb0ddf6021e?ds=sidebyside Don't optimize {} to ; in the parser. --- diff --git a/Cycript.yy.in b/Cycript.yy.in index 224d6bf..22a601a 100644 --- a/Cycript.yy.in +++ b/Cycript.yy.in @@ -1264,7 +1264,7 @@ Block_ ; Block - : Block_ { if ($1) $$ = CYNew CYBlock($1); else $$ = CYNew CYEmpty(); } + : Block_ { $$ = CYNew CYBlock($1); } ; StatementList