summaryrefslogtreecommitdiffstats
path: root/Docs
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-06-18 14:54:45 (GMT)
committerBrad King <brad.king@kitware.com>2004-06-18 14:54:45 (GMT)
commit97391045bda76822c40850b83ecdabeead63f6db (patch)
treead778d5288a02d95aa4cdf3a75db374b12c70c65 /Docs
parent2716ac396676b8e24176e5aac086661af1cb33f0 (diff)
downloadCMake-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.el2
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