-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
OK, inserted return parseSymbol(state) at the point where not is detected. Note that it's necessary to restore state to what it was before grabbing the ( token; you can't just return parseSymbol(saveState). In other words, the state object that comes into parseUnary must be aliased somewhere, so that if it doesn't agree with the state passed into parseSymbol then the parse is spoiled. Should I file an issue about that, or just not worry about it since the parser is working as long as you properly update the input state object in every parseXxx() function? (I'm inclined toward the latter.)
Originally posted by @gwhitney in #3611 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels