Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
8da09f6e
Commit
8da09f6e
authored
Aug 15, 2013
by
Brad King
💬
Committed by
Kitware Robot
Aug 15, 2013
Browse files
Merge topic 'cmake-syntax'
9040ec91
Do not warn about left paren not separated by a space
parents
d4daaa54
9040ec91
Changes
5
Hide whitespace changes
Inline
Side-by-side
Source/cmListFileCache.cxx
View file @
8da09f6e
...
...
@@ -287,8 +287,8 @@ bool cmListFileParser::ParseFunction(const char* name, long line)
if
(
token
->
type
==
cmListFileLexer_Token_ParenLeft
)
{
parenDepth
++
;
this
->
AddArgument
(
token
,
cmListFileArgument
::
Unquoted
);
this
->
Separation
=
SeparationOkay
;
this
->
AddArgument
(
token
,
cmListFileArgument
::
Unquoted
);
}
else
if
(
token
->
type
==
cmListFileLexer_Token_ParenRight
)
{
...
...
Tests/RunCMake/Syntax/ParenNoSpace-stderr.txt
0 → 100644
View file @
8da09f6e
^$
Tests/RunCMake/Syntax/ParenNoSpace-stdout.txt
0 → 100644
View file @
8da09f6e
-- unquoted\(unquoted\)
-- quoted\(quoted\)
Tests/RunCMake/Syntax/ParenNoSpace.cmake
0 → 100644
View file @
8da09f6e
message
(
STATUS
unquoted
(
unquoted
))
message
(
STATUS
"quoted"
(
"quoted"
))
Tests/RunCMake/Syntax/RunCMakeTest.cmake
View file @
8da09f6e
...
...
@@ -11,6 +11,7 @@ run_cmake(String1)
run_cmake
(
StringNoSpace
)
run_cmake
(
Unquoted0
)
run_cmake
(
Unquoted1
)
run_cmake
(
ParenNoSpace
)
run_cmake
(
UnterminatedCall1
)
run_cmake
(
UnterminatedCall2
)
run_cmake
(
UnterminatedString
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment