aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-11-09 07:17:56 +1000
committerSteve Bennett <steveb@workware.net.au>2011-11-09 07:18:25 +1000
commit2fd47a708fb151565eaf6de2b555d2af1fbd820a (patch)
tree172f8a8b069ca9d9a23836078c25ee75148c2945 /tests
parente87b07712dc470c8a2a36be6a555edad16926747 (diff)
downloadjimtcl-2fd47a708fb151565eaf6de2b555d2af1fbd820a.zip
jimtcl-2fd47a708fb151565eaf6de2b555d2af1fbd820a.tar.gz
jimtcl-2fd47a708fb151565eaf6de2b555d2af1fbd820a.tar.bz2
Fix a parsing bug for quoted orphan $
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests')
-rw-r--r--tests/parse.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/parse.test b/tests/parse.test
index 427a717..e352fc3 100644
--- a/tests/parse.test
+++ b/tests/parse.test
@@ -312,4 +312,12 @@ test parse-1.61 "quote in command" {
lindex $x end
} x
+test parse-1.62 "quoted orphan dollar sign" {
+ set x "x$"
+} {x$}
+
+test parse-1.63 "unquoted dollar sign" {
+ set x x$
+} {x$}
+
testreport