mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Simplistic C comment re is wrong, use more correct one
This commit is contained in:
parent
f30595058e
commit
fc3a3ee720
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117945
@ -56,7 +56,7 @@ update_lineno(const char *cp)
|
||||
; { return SEMICOLON; }
|
||||
#.*$ ;
|
||||
\/\/.*$ ;
|
||||
\/\*(.|\n)*\*\/ { update_lineno(yytext); }
|
||||
\/\*([^*]|(\*+([^*\/])))*\*+\/ { update_lineno(yytext); }
|
||||
\{ { return BEGINBLOCK; }
|
||||
\} { return ENDBLOCK; }
|
||||
[0-9]+ { yylval.i = atoi(yytext); return NUMBER; }
|
||||
|
Loading…
Reference in New Issue
Block a user