plan9fox/sys/src/cmd/cpp
Ori Bernstein 0366f11300 cpp: fix mutually recursive macros
Handle cases where parameterless macros expand to each other:

	#define FOO BAR
	#define BAR FOO
	FOO

There were cases where the macros didn't make it into the hidesets,
and we would recurse infinitely. This fixes that.
2020-07-13 18:50:14 -07:00
..
cpp.c Improve the posix preprocessor. 2020-03-17 22:03:25 -07:00
cpp.h cpp: fix mutually recursive macros 2020-07-13 18:50:14 -07:00
eval.c Make priority array max size explicit. 2020-04-19 11:26:31 -07:00
hideset.c cpp: fix memory corruption due to input buffer relocation 2015-09-24 05:13:03 +02:00
include.c missing headers rate a FATAL. 2020-04-27 20:13:16 -07:00
lex.c Always turn on the -+ flag in cpp 2019-06-18 22:47:15 -07:00
macro.c cpp: fix mutually recursive macros 2020-07-13 18:50:14 -07:00
mkfile Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
nlist.c Always turn on the -+ flag in cpp 2019-06-18 22:47:15 -07:00
test.c copy all the tokens from the tokenrows with a paste. 2020-04-26 09:32:42 -07:00
test.expected Improve the posix preprocessor. 2020-03-17 22:03:25 -07:00
tokens.c cpp: fix memory corruption due to input buffer relocation 2015-09-24 05:13:03 +02:00