From 97391045bda76822c40850b83ecdabeead63f6db Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 18 Jun 2004 10:54:45 -0400 Subject: [PATCH] BUG: Fixed parsing of unquoted arguments to allow double-quotes within the argument. --- Docs/cmake-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el index 6cd33f3e8..d3e949d55 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