mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
catch nested /* in comments
This commit is contained in:
parent
ff0144f870
commit
8079c9951c
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ m ([\-+]?)
|
|||
%%
|
||||
|
||||
"/*" { BEGIN (comment); }
|
||||
<comment>"/*" { warning (0, "nested /* in comment"); }
|
||||
<comment>"*/" { BEGIN (INITIAL); }
|
||||
<comment>\r*\n { pr.source_line++; }
|
||||
<comment>. /* nothing to do */
|
||||
|
|
Loading…
Reference in a new issue