* Bug fix in parsing of /* ... */ comments; due to longest match
regexp there could be only one such comment per file.
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ inherit { return INHERIT; }
|
||||
|
||||
[ \t\n]+ /* eat up whitespace */
|
||||
\#[^\n]* /* single-line comments */
|
||||
\/\*(.|\n)*\*\/ /* long comments */
|
||||
\/\*([^*]|\*[^\/])*\*\/ /* long comments */
|
||||
|
||||
. return yytext[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user