Chromium Code Reviews
DescriptionExperimental parser: remove hacks from replace_tokens_with_gotos.
The hack was for making sure that the state to which we "goto" is connected to
the state graph: it avoided doing the replacement for states which have an entry
action, and our grammar happened to have such an action, so it worked.
After this change, we insert a bogus edge to make the "goto" state connected to
the state graph, and remove the "don't replace states which have an entry
action" condition.
TBR=dcarney@chromium.org
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=18744
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : w/ dcarney #
Messages
Total messages: 1 (0 generated)
|
||||||||||||||||||||||||||||