Commit 8da09f6e authored by Brad King's avatar Brad King 💬 Committed by Kitware Robot
Browse files

Merge topic 'cmake-syntax'

9040ec91 Do not warn about left paren not separated by a space
parents d4daaa54 9040ec91
...@@ -287,8 +287,8 @@ bool cmListFileParser::ParseFunction(const char* name, long line) ...@@ -287,8 +287,8 @@ bool cmListFileParser::ParseFunction(const char* name, long line)
if(token->type == cmListFileLexer_Token_ParenLeft) if(token->type == cmListFileLexer_Token_ParenLeft)
{ {
parenDepth++; parenDepth++;
this->AddArgument(token, cmListFileArgument::Unquoted);
this->Separation = SeparationOkay; this->Separation = SeparationOkay;
this->AddArgument(token, cmListFileArgument::Unquoted);
} }
else if(token->type == cmListFileLexer_Token_ParenRight) else if(token->type == cmListFileLexer_Token_ParenRight)
{ {
......
-- unquoted\(unquoted\)
-- quoted\(quoted\)
message(STATUS unquoted(unquoted))
message(STATUS "quoted"("quoted"))
...@@ -11,6 +11,7 @@ run_cmake(String1) ...@@ -11,6 +11,7 @@ run_cmake(String1)
run_cmake(StringNoSpace) run_cmake(StringNoSpace)
run_cmake(Unquoted0) run_cmake(Unquoted0)
run_cmake(Unquoted1) run_cmake(Unquoted1)
run_cmake(ParenNoSpace)
run_cmake(UnterminatedCall1) run_cmake(UnterminatedCall1)
run_cmake(UnterminatedCall2) run_cmake(UnterminatedCall2)
run_cmake(UnterminatedString) run_cmake(UnterminatedString)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment