From 94fb8869dfba9e09afa9f64a37302dc444393766 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Tue, 18 Jun 2019 22:47:15 -0700 Subject: 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. --- sys/src/cmd/cpp/cpp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/src/cmd/cpp/cpp.c') 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); -- cgit v1.2.3