diff options
author | Brad King <brad.king@kitware.com> | 2013-10-29 14:21:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-29 14:21:50 (GMT) |
commit | 8640e5297911df98521b2b835aa1c024adbf845e (patch) | |
tree | a8e8239608f8881a46c2ead8965c1f58dcf24c4d /Tests/RunCMake/Syntax/Escape1.cmake | |
parent | 144068e270a5e99fb6c3e5dbea0eb94d0bd8fd79 (diff) | |
download | CMake-8640e5297911df98521b2b835aa1c024adbf845e.zip CMake-8640e5297911df98521b2b835aa1c024adbf845e.tar.gz CMake-8640e5297911df98521b2b835aa1c024adbf845e.tar.bz2 |
Add to RunCMake.Syntax test \-escape cases
Add an Escape1 test case covering \-escape cases inside bracket, quoted,
and unquoted arguments. Also cover comments immediately after quoted
and unquoted arguments on lines containing \# escapes.
Diffstat (limited to 'Tests/RunCMake/Syntax/Escape1.cmake')
-rw-r--r-- | Tests/RunCMake/Syntax/Escape1.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/Escape1.cmake b/Tests/RunCMake/Syntax/Escape1.cmake new file mode 100644 index 0000000..3bf801e --- /dev/null +++ b/Tests/RunCMake/Syntax/Escape1.cmake @@ -0,0 +1,3 @@ +message([[\#]] \#[[ \#]] "#[[]]" x#comment + "\#\\\"\n\$\@\^\;\ \t\(\)"#comment + \#\\\"\n\$\@\^\;\ \t\(\)) |