dvk (12/01/82)
In reference to "comments to the end of a line" (ihuxx!ignatz, Dave Ihnat): What do you mean "I am not supposed to know about that". I consider any part of the C compiler (be that cpp, c0, c1, or c2) to be as much of the whole as any other part. The pre-processor ONLY knows about lines, 'cuz you have to "continue" them when you are in a #define (via. "\"). Since cpp eliminates all comments to speed up I/O in the later passes, why NOT have comments to the end of line? Bliss-32 (a language I consider FAR superior to C) allows single line comments (everything after a "!" is ignored), and multi-line comments (via "%(" and ")%") So why not C? You could use some silly overloading of current lexemes (for example: "!!" or "%%"). -Dan Klein, Mellon Institute, Pittsburgh