CMake/Tests/RunCMake/Syntax
Brad King 58e524165d Warn about arguments not separated by whitespace
Teach the lexer to return tokens for whitespace.  Teach the parser to
tolerate the space tokens where whitespace is allowed.  Also teach the
parser to diagnose and warn about cases of quoted arguments followed
immediately by another argument.  This was accidentally allowed
previously, so we only warn.

Update the RunCMake.Syntax test case StringNoSpace expected stderr to
include the warnings.
2013-08-08 13:26:27 -04:00
..
.gitattributes Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CMakeLists.txt Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
CommandComments-stderr.txt Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandComments.cmake Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandError0-result.txt Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandError0-stderr.txt Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandError0.cmake Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandError1-result.txt Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandError1-stderr.txt Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandError1.cmake Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandNewlines-stderr.txt Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandNewlines.cmake Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandSpaces-stderr.txt Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandSpaces.cmake Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandTabs-stderr.txt Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
CommandTabs.cmake Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
RunCMakeTest.cmake Add RunCMake.Syntax test cases for command invocation styles 2013-08-08 13:26:27 -04:00
String0-stderr.txt Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
String0.cmake Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
String1-stderr.txt Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
String1.cmake Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
StringNoSpace-stderr.txt Warn about arguments not separated by whitespace 2013-08-08 13:26:27 -04:00
StringNoSpace.cmake Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
Unquoted0-stderr.txt Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
Unquoted0.cmake Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
Unquoted1-stderr.txt Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
Unquoted1.cmake Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
UnterminatedCall1-result.txt Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
UnterminatedCall1-stderr.txt Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
UnterminatedCall1.cmake Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
UnterminatedCall2-result.txt cmListFileLexer: Fix line number after backslash in string 2013-08-08 13:26:26 -04:00
UnterminatedCall2-stderr.txt cmListFileLexer: Fix line number after backslash in string 2013-08-08 13:26:26 -04:00
UnterminatedCall2.cmake cmListFileLexer: Fix line number after backslash in string 2013-08-08 13:26:26 -04:00
UnterminatedString-result.txt Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
UnterminatedString-stderr.txt Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00
UnterminatedString.cmake Add RunCMake.Syntax test to cover argument parsing 2013-08-08 13:26:26 -04:00