summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/math/MATH-InvalidExpression-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-16 17:06:29 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-16 18:46:43 (GMT)
commit406f397e8b5524107457cc2d70bd22878350e9e1 (patch)
tree9ff09e0750b1b7e98c690f50da265869643afc43 /Tests/RunCMake/math/MATH-InvalidExpression-stderr.txt
parentdd5c54600b6f651898925bfd9ec4406ccfc7be95 (diff)
downloadCMake-406f397e8b5524107457cc2d70bd22878350e9e1.zip
CMake-406f397e8b5524107457cc2d70bd22878350e9e1.tar.gz
CMake-406f397e8b5524107457cc2d70bd22878350e9e1.tar.bz2
math: Restore toleration of unexpected characters in an expression
Prior to commit 7c4c13ffef (math: Reject unexpected expression input explicitly, 2018-05-18) we ignored unexpected characters in an expression that otherwise can be parsed. In order to preserve compatibility with projects that accidentally used this, convert the error to a warning.
Diffstat (limited to 'Tests/RunCMake/math/MATH-InvalidExpression-stderr.txt')
-rw-r--r--Tests/RunCMake/math/MATH-InvalidExpression-stderr.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/RunCMake/math/MATH-InvalidExpression-stderr.txt b/Tests/RunCMake/math/MATH-InvalidExpression-stderr.txt
index 18ac9f7..9e73ed5 100644
--- a/Tests/RunCMake/math/MATH-InvalidExpression-stderr.txt
+++ b/Tests/RunCMake/math/MATH-InvalidExpression-stderr.txt
@@ -1,6 +1,5 @@
^CMake Error at MATH-InvalidExpression.cmake:1 \(math\):
- *math cannot parse the expression: "INVALID": syntax error, unexpected
- *character, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER
- *\(1\).
+ math cannot parse the expression: "INVALID": syntax error, unexpected \$end,
+ expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER \(7\).
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$