Re^2: Want a way to strip comments from a

Maarten Litmaath maart at cs.vu.nl
Thu Mar 23 04:10:23 AEST 1989


leo at philmds.UUCP (Leo de Wit) writes:
\Appearances are deceptive, it won't handle trigraphs. For instance, try:
\??' (trigraph for ^) and your code thinks it is in_char.

My sed script can easily be fixed to handle that case too: just add another
state to the FSM :-)
-- 
 Modeless editors and strong typing:   |Maarten Litmaath @ VU Amsterdam:
   both for people with weak memories. |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.lang.c mailing list