projects
/
cycript.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5602b1e
)
Do not assume lookahead (wish I could force it).
author
Jay Freeman (saurik)
<saurik@saurik.com>
Sun, 17 Jun 2012 00:44:41 +0000
(17:44 -0700)
committer
Jay Freeman (saurik)
<saurik@saurik.com>
Sun, 17 Jun 2012 00:44:41 +0000
(17:44 -0700)
Cycript.yy.in
patch
|
blob
|
blame
|
history
diff --git
a/Cycript.yy.in
b/Cycript.yy.in
index 1345060c783790e236b99787affc9410cf1cd119..465b32b50f9e198445483dbc8339d1cb532bf51d 100644
(file)
--- a/
Cycript.yy.in
+++ b/
Cycript.yy.in
@@
-536,11
+536,11
@@
LexNoBrace
;
LexNoFunction
;
LexNoFunction
- : {
driver.no_.Function = true
; }
+ : {
if (yychar == yyempty_) driver.no_.Function = true; else if (yychar == token::Function) yychar = token::Function_
; }
;
LexNoAtImplementation
;
LexNoAtImplementation
- : {
driver.no_.AtImplementation = true
; }
+ : {
if (yychar == yyempty_) driver.no_.AtImplementation = true; else if (yychar == token::AtImplementation) yychar = token::AtImplementation_
; }
;
LexSetStatement
;
LexSetStatement