diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-07-23 23:50:25 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-07-23 23:50:25 +0000 |
| commit | fc3a3ee7205ef7a69528333530821c255e8505ab (patch) | |
| tree | 47e4461de55ace825853620a849da3ea71989678 /sbin/devd | |
| parent | f30595058e1ecadbeb4f68885549f300fa3424bf (diff) | |
Notes
Diffstat (limited to 'sbin/devd')
| -rw-r--r-- | sbin/devd/token.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/token.l b/sbin/devd/token.l index eb71d5d85a855..03a5a722175b5 100644 --- a/sbin/devd/token.l +++ b/sbin/devd/token.l @@ -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; } |
