view TODO @ 42:ad7763329eba

Don't crash if a macro tries to expand itself recursively.
author David A. Holland
date Sat, 30 Mar 2013 22:29:42 -0400
parents b81ddd969691
children 64d275661bf0
line wrap: on
line source

not implemented:
	- mode.input_allow_dollars.
	- column counts do not take tabstops into account.
	- mode.output_linenumbers.
	- mode.do_depend.
	- mode.do_macrolist.
	- mode.do_trace.
	- warns.endiflabels. (they cause errors)
	- warns.unused.	
	- the -iremap option.
	- #line directives.
	- $CPP_RESTRICTED
	- other environment variables

tidy up:
	- get rid of inlinedefs.h
	- use of places in and below macro.c is pretty bogus.
	- macro code should be reworked.
	- do some output buffering.

fix:
	- "#if 0 && 1/0" should not crash; fix eval method.
	- see tech-toolchain stuff about comment removal.

also:
	- need tests.