From 313dc5e904d1d73e67fc348dec331c40d585ab1f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 19 May 2011 12:09:18 +1000 Subject: Variables names may contain braces like %ProgramFiles(x86)%. These are now treated as one variable name instead of being broken up. From Florian Balmer. --- lexers/LexOthers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers') diff --git a/lexers/LexOthers.cxx b/lexers/LexOthers.cxx index 7d0f099bb..bc2c28773 100644 --- a/lexers/LexOthers.cxx +++ b/lexers/LexOthers.cxx @@ -58,7 +58,7 @@ static bool IsBOperator(char ch) { // Tests for BATCH Separators static bool IsBSeparator(char ch) { return (ch == '\\') || (ch == '.') || (ch == ';') || - (ch == '\"') || (ch == '\'') || (ch == '/') || (ch == ')'); + (ch == '\"') || (ch == '\'') || (ch == '/'); } static void ColouriseBatchLine( -- cgit v1.2.3