From 507848cd8279346bf1c081faddfc1e471919c9e5 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 7 Jun 2012 15:50:33 -0700 Subject: [PATCH] Fix ;@implementation by adding it to LexSetStatement. --- Cycript.yy.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cycript.yy.in b/Cycript.yy.in index e8ca6b4..8efb228 100644 --- a/Cycript.yy.in +++ b/Cycript.yy.in @@ -534,8 +534,12 @@ LexNoFunction : { if (yychar == token::Function) yychar = token::Function_; } ; +LexNoAtImplementation + : { if (yychar == token::AtImplementation) yychar = token::AtImplementation_; } + ; + LexSetStatement - : LexNoBrace LexNoFunction + : LexNoBrace LexNoFunction LexNoAtImplementation ; /* }}} */ /* Virtual Tokens {{{ */ -- 2.47.2