mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 17:19:05 -05:00
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.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
^\\##\[\[#\]\]#\[\[\]\]x#\\"
|
||||
\$\@\^\\; \(\)#\\"
|
||||
\$\@\^; \(\)$
|
||||
@@ -0,0 +1,3 @@
|
||||
message([[\#]] \#[[ \#]] "#[[]]" x#comment
|
||||
"\#\\\"\n\$\@\^\;\ \t\(\)"#comment
|
||||
\#\\\"\n\$\@\^\;\ \t\(\))
|
||||
@@ -39,6 +39,7 @@ run_cmake(BracketNoSpace2)
|
||||
run_cmake(BracketNoSpace3)
|
||||
run_cmake(BracketNoSpace4)
|
||||
run_cmake(BracketNoSpace5)
|
||||
run_cmake(Escape1)
|
||||
run_cmake(ParenNoSpace0)
|
||||
run_cmake(ParenNoSpace1)
|
||||
run_cmake(ParenNoSpace2)
|
||||
|
||||
Reference in New Issue
Block a user