Want a way to strip comments from a
Tim_CDC_Roberts at cup.portal.com
Tim_CDC_Roberts at cup.portal.com
Wed Mar 22 03:20:59 AEST 1989
You know, this discussion has brought up something that has bothered me
(although not a great deal).
When scanning the result of preprocessing a nontrivial C program with
many include files, one finds dozens (in some cases hundreds) of blank
lines. Obviously, they are the result of eliminating preprocessor
directives and multiline comments. What I have always wondered is why,
given the #line directive which can re-sync the preprocessor and the
compiler, does the preprocessor insist on keeping all those blank lines?
Why not eliminate them and issue a #line instead?
Just curious.
Tim_CDC_Roberts at cup.portal.com | Control Data...
...!sun!portal!cup.portal.com!tim_cdc_roberts | ...or it will control you.
More information about the Comp.lang.c
mailing list