summaryrefslogtreecommitdiffstats
path: root/src/cmd/hoc/hoc.y
Commit message (Collapse)AuthorAgeFilesLines
* hoc: don't nest calls to follow() when lexing ++/+= and --/-= (#287)deepcube2019-09-191-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.
* shut up, gcc!rsc2006-04-201-2/+2
|
* add hocrsc2003-12-041-0/+398