plan9port/src/cmd/hoc
deepcube f1dd3f065a hoc: don't nest calls to follow() when lexing ++/+= and --/-= (#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.
2019-09-19 13:10:28 -04:00
..
code.c hoc: print exact floating point output 2007-12-07 15:29:19 -05:00
hoc.h add hoc 2003-12-04 17:45:49 +00:00
hoc.y hoc: don't nest calls to follow() when lexing ++/+= and --/-= (#287) 2019-09-19 13:10:28 -04:00
init.c Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
math.c add hoc 2003-12-04 17:45:49 +00:00
mkfile Goodbye SHORTLIB 2005-01-04 22:10:29 +00:00
symbol.c add hoc 2003-12-04 17:45:49 +00:00