Simplistic C comment re is wrong, use more correct one

This commit is contained in:
Warner Losh 2003-07-23 23:50:25 +00:00
parent f30595058e
commit fc3a3ee720
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117945

View File

@ -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; }