From 45a20ab721a513710138340faff3d59a31c3e01e Mon Sep 17 00:00:00 2001 From: forsyth Date: Mon, 3 Jun 2013 21:01:14 +0000 Subject: sync compilers with Plan 9 remove 1[acl] 2[acl] --- utils/cc/lexbody | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'utils/cc/lexbody') diff --git a/utils/cc/lexbody b/utils/cc/lexbody index 6b226ada..d8e3f6eb 100644 --- a/utils/cc/lexbody +++ b/utils/cc/lexbody @@ -417,8 +417,10 @@ l1: if(c1 == '/') { for(;;) { c = GETC(); - if(c == '\n') - goto l1; + if(c == '\n') { + lineno++; + goto l0; + } if(c == EOF) { yyerror("eof in comment"); errorexit(); -- cgit v1.2.3