diff options
author | Brad King <brad.king@kitware.com> | 2004-06-18 14:54:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-06-18 14:54:45 (GMT) |
commit | 97391045bda76822c40850b83ecdabeead63f6db (patch) | |
tree | ad778d5288a02d95aa4cdf3a75db374b12c70c65 /Docs | |
parent | 2716ac396676b8e24176e5aac086661af1cb33f0 (diff) | |
download | CMake-97391045bda76822c40850b83ecdabeead63f6db.zip CMake-97391045bda76822c40850b83ecdabeead63f6db.tar.gz CMake-97391045bda76822c40850b83ecdabeead63f6db.tar.bz2 |
BUG: Fixed parsing of unquoted arguments to allow double-quotes within the argument.
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/cmake-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el index 6cd33f3..d3e949d 100644 --- a/Docs/cmake-mode.el +++ b/Docs/cmake-mode.el @@ -38,7 +38,7 @@ (defconst cmake-regex-paren-left "(") (defconst cmake-regex-paren-right ")") (defconst cmake-regex-argument-quoted "\"\\([^\"\\\\]\\|\\\\\\(.\\|\n\\)\\)*\"") -(defconst cmake-regex-argument-unquoted "\\([^ \t\r\n()#\"\\\\]\\|\\\\.\\)+") +(defconst cmake-regex-argument-unquoted "\\([^ \t\r\n()#\"\\\\]\\|\\\\.\\)\\([^ \t\r\n()#\\\\]\\|\\\\.\\)*") (defconst cmake-regex-token (concat "\\(" cmake-regex-comment "\\|" cmake-regex-paren-left |