Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hoc: don't nest calls to follow() when lexing ++/+= and --/-= (9fans#287
) The code had a nested use of the follow() function that could cause +=+ and -=- to register as ++ and --. The first follow() to execute could consume a character and match and then the second follow() could consume another character and match. For example i-=-10 would result in a syntax error and i-=- would decrement i.
- Loading branch information