aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/hoc/hoc.y
AgeCommit message (Collapse)AuthorFilesLines
2019-09-19hoc: don't nest calls to follow() when lexing ++/+= and --/-= (#287)deepcube1-2/+2
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.
2006-04-20shut up, gcc!rsc1-2/+2
2003-12-04add hocrsc1-0/+398