diff options
author | Ori Bernstein <ori@eigenstate.org> | 2019-06-18 22:47:15 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2019-06-18 22:47:15 -0700 |
commit | 94fb8869dfba9e09afa9f64a37302dc444393766 (patch) | |
tree | e371cdf1ec1f66fc71ac66f36185169e6528b7ca /sys/src/cmd/cpp/cpp.c | |
parent | ff344562dbefe0e53adc900b6e7cd962ae555e94 (diff) |
Always turn on the -+ flag in cpp
C99 comments have been the default in compilers for something like 20 years
now. This means we don't need to remember to turn it on when porting software,
and gets rid of cryptic errors about unterminated character constants when
someone writes something like:
// Didn't need to...
We still accept the flag to avoid breaking mkfiles, but we do nothing with it.
This also removes the documentation, since the option does nothing now.
Diffstat (limited to 'sys/src/cmd/cpp/cpp.c')
-rw-r--r-- | sys/src/cmd/cpp/cpp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/cmd/cpp/cpp.c b/sys/src/cmd/cpp/cpp.c index 49027b34d..c7b6146bb 100644 --- a/sys/src/cmd/cpp/cpp.c +++ b/sys/src/cmd/cpp/cpp.c @@ -28,7 +28,6 @@ main(int argc, char **argv) maketokenrow(3, &tr); expandlex(); setup(argc, argv); - fixlex(); iniths(); genline(); process(&tr); |