summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/Unquoted1.cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmListFileLexer: Fix lexing of single '[' character (#15092)Brad King2014-08-181-1/+1
| | | | | | | | The lexer changes in commit v3.0.0-rc1~495^2 (Add Lua-style long brackets and long comments to CMake language, 2013-08-06) accidentally left out matching '[' as a single character in an unquoted argument. Add a lexer rule to match it and extend the RunCMake.Syntax test to cover this case.
* Add RunCMake.Syntax test to cover argument parsingBrad King2013-08-081-0/+1
Test basic unquoted and quoted argument parsing cases including failure on an unterminated string and an unterminated command invocation. Also cover arguments not separated by any spaces, which is accidentally allowed by the current parser.