summaryrefslogtreecommitdiff
path: root/utils/cc/lexbody
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cc/lexbody')
-rw-r--r--utils/cc/lexbody6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/cc/lexbody b/utils/cc/lexbody
index d8e3f6eb..6b226ada 100644
--- a/utils/cc/lexbody
+++ b/utils/cc/lexbody
@@ -417,10 +417,8 @@ l1:
if(c1 == '/') {
for(;;) {
c = GETC();
- if(c == '\n') {
- lineno++;
- goto l0;
- }
+ if(c == '\n')
+ goto l1;
if(c == EOF) {
yyerror("eof in comment");
errorexit();