diff options
-rw-r--r-- | parser.l | 4 | ||||
-rw-r--r-- | txr.1 | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -908,12 +908,12 @@ UONLY {U2}{U}|{U3}{U}{U}|{U4}{U}{U}{U} yy_push_state(SPECIAL, yyscanner); } -<INITIAL>^@[#;].*{NL} { +<INITIAL>^@{WS}*[#;].*{NL} { /* eat whole line comment */ yyextra->lineno++; } -<INITIAL>@[#;].* { +<INITIAL>@{WS}*[#;].* { /* comment to end of line */ } @@ -909,7 +909,7 @@ are output on standard output. .SS* Comments A query may contain comments which are delimited by the sequence .code @; -and extend to the end of the line. No whitespace can occur between the +and extend to the end of the line. Whitespace can occur between the .code @ and .codn ; . |