]> git.saurik.com Git - cycript.git/blobdiff - Cycript.yy.in
Move FunctionInstance_ into alphabetical order.
[cycript.git] / Cycript.yy.in
index 1345060c783790e236b99787affc9410cf1cd119..3f240e40651a809119b939539255d9c3afb573ed 100644 (file)
 #include "E4X/Syntax.hpp"
 @end
 
+#include "Highlight.hpp"
+
 typedef struct {
     bool newline_;
+    hi::Value highlight_;
 
     union {
         bool bool_;
@@ -536,11 +539,11 @@ LexNoBrace
     ;
 
 LexNoFunction
-    : { driver.no_.Function = true; }
+    : { if (yychar == yyempty_) driver.no_.Function = true; else if (yychar == token::Function) yychar = token::Function_; }
     ;
 
 LexNoAtImplementation
-    : { driver.no_.AtImplementation = true; }
+    : { if (yychar == yyempty_) driver.no_.AtImplementation = true; else if (yychar == token::AtImplementation) yychar = token::AtImplementation_; }
     ;
 
 LexSetStatement