diff options
author | Brad King <brad.king@kitware.com> | 2004-06-18 14:51:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-06-18 14:51:10 (GMT) |
commit | 2716ac396676b8e24176e5aac086661af1cb33f0 (patch) | |
tree | a1dc0f9bce209b7970fc60d75e797b1a9472145f /Source/cmListFileLexer.in.l | |
parent | 7ce0ee34377886e6b35ee8275c81bc71bb500032 (diff) | |
download | CMake-2716ac396676b8e24176e5aac086661af1cb33f0.zip CMake-2716ac396676b8e24176e5aac086661af1cb33f0.tar.gz CMake-2716ac396676b8e24176e5aac086661af1cb33f0.tar.bz2 |
BUG: Fixed parsing of unquoted arguments to allow double-quotes within the argument.
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 d6c989f..5c86c92 100644 --- a/Source/cmListFileLexer.in.l +++ b/Source/cmListFileLexer.in.l @@ -129,7 +129,7 @@ static void cmListFileLexerDestroy(cmListFileLexer* lexer); return 1; } -([^ \t\r\n\(\)\"\\]|\\.)+ { +([^ \t\r\n\(\)#\\\"]|\\.)([^ \t\r\n\(\)#\\]|\\.)* { lexer->token.type = cmListFileLexer_Token_ArgumentUnquoted; cmListFileLexerSetToken(lexer, yytext, yyleng); lexer->column += yyleng; |