summaryrefslogtreecommitdiffstats
path: root/tests/parseExpr.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-10 11:55:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-10 11:55:34 (GMT)
commit72c49f69099c98bd55334dbad3d68645c72bc707 (patch)
tree0debb19ded04cad467e9517c2299fcb5b41ba197 /tests/parseExpr.test
parentfeb336f6b3663f107c978288f063f1e7cf9b2458 (diff)
parent44d6e3ab5ea76fb135058f21fde9dfebdbbd035b (diff)
downloadtcl-72c49f69099c98bd55334dbad3d68645c72bc707.zip
tcl-72c49f69099c98bd55334dbad3d68645c72bc707.tar.gz
tcl-72c49f69099c98bd55334dbad3d68645c72bc707.tar.bz2
Merge 8.7. Tweak "tclreg" directory/library name and tclLoad.c, such that the entry point of the "dde" and "registry" extensions can be guessed correctly
Diffstat (limited to 'tests/parseExpr.test')
-rw-r--r--tests/parseExpr.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/parseExpr.test b/tests/parseExpr.test
index 3fbd14e..74ffd41 100644
--- a/tests/parseExpr.test
+++ b/tests/parseExpr.test
@@ -1075,6 +1075,14 @@ test parseExpr-22.21 {Bug d2ffcca163} -constraints testexprparser -body {
testexprparser in\u0433(0) -1
} -returnCodes error -match glob -result {missing operand*}
+test parseExpr-23.1 {TIP 582: comments} -constraints testexprparser -body {
+ testexprparser "7 # * 8 " -1
+} -result {- {} 0 subexpr 7 1 text 7 0 {}}
+test parseExpr-23.2 {TIP 582: comments} -constraints testexprparser -body {
+ testexprparser "7 #\n* 8 " -1
+} -result {- {} 0 subexpr {7 #
+*} 5 operator # 0 subexpr 7 1 text 7 0 subexpr * 1 text * 0 {}}
+
# cleanup
cleanupTests
return