diff options
author | Brad King <brad.king@kitware.com> | 2005-08-01 20:49:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-08-01 20:49:37 (GMT) |
commit | bccf040b00ecbea0d754d7cc4ecf5bba34b065e4 (patch) | |
tree | fe4bfbdd1674490dd5b6b214768b0185d834f499 /Source/cmListFileLexer.in.l | |
parent | 0592f3adbc045c45baa5532175fb40f841eaccdb (diff) | |
download | CMake-bccf040b00ecbea0d754d7cc4ecf5bba34b065e4.zip CMake-bccf040b00ecbea0d754d7cc4ecf5bba34b065e4.tar.gz CMake-bccf040b00ecbea0d754d7cc4ecf5bba34b065e4.tar.bz2 |
BUG: Unquoted arguments can have quotes that are not at the beginning, but only an even number of them.
Diffstat (limited to 'Source/cmListFileLexer.in.l')
-rw-r--r-- | Source/cmListFileLexer.in.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileLexer.in.l b/Source/cmListFileLexer.in.l index a28b982..176db2e 100644 --- a/Source/cmListFileLexer.in.l +++ b/Source/cmListFileLexer.in.l @@ -132,7 +132,7 @@ MAKEVAR \$\([A-Za-z0-9_]*\) return 1; } -({MAKEVAR}|[^ \t\r\n\(\)#\\\"]|\\.)({MAKEVAR}|[^ \t\r\n\(\)#\\]|\\.)* { +({MAKEVAR}|[^ \t\r\n\(\)#\\\"]|\\.)({MAKEVAR}|[^ \t\r\n\(\)#\\\"]|\\.|\"({MAKEVAR}|[^ \t\r\n\(\)#\\\"]|\\.)*\")* { lexer->token.type = cmListFileLexer_Token_ArgumentUnquoted; cmListFileLexerSetToken(lexer, yytext, yyleng); lexer->column += yyleng; |