view TODO @ 64:f50b4ea6cbfe

Prune single-line comments from (most) directive lines. Also, don't pass the string length to the directive processing functions, as half of them weren't honoring it. Instead, ensure that the directive line is terminated at the place the directive processing functions should stop looking at it.
author David A. Holland
date Sun, 31 Mar 2013 02:04:56 -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.