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:
parent
144068e270
commit
8640e52979
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue