diff options
author | avl <avl> | 2017-03-05 19:38:43 (GMT) |
---|---|---|
committer | avl <avl> | 2017-03-05 19:38:43 (GMT) |
commit | 465ee21b4398dd928e24e7241f4ebf0be3601df7 (patch) | |
tree | 0574472bdfe596237867ca6a3b3f51cbdd546f7f /tests/parse.test | |
parent | ca4151477f00d6c5aa468ada3361a8cf76208eaa (diff) | |
download | tcl-tip_465.zip tcl-tip_465.tar.gz tcl-tip_465.tar.bz2 |
Deal with backslashes in ${...}, change "char" to "character" in error, fix tests.tip_465
Diffstat (limited to 'tests/parse.test')
-rw-r--r-- | tests/parse.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/parse.test b/tests/parse.test index 287c392..e031327 100644 --- a/tests/parse.test +++ b/tests/parse.test @@ -601,8 +601,8 @@ test parse-12.6 {Tcl_ParseVarName procedure, braced variable name} testparser { testparser {${..[]b}cd} 0 } {- {${..[]b}cd} 1 word {${..[]b}cd} 3 variable {${..[]b}} 1 text {..[]b} 0 text cd 0 {}} test parse-12.7 {Tcl_ParseVarName procedure, braced variable name} testparser { - testparser "\$\{\{\} " 0 -} {- \$\{\{\}\ 1 word \$\{\{\} 2 variable \$\{\{\} 1 text \{ 0 {}} + testparser "\$\{\{\\\\\}\} " 0 +} {- {${{\\}} } 1 word {${{\\}}} 2 variable {${{\\}}} 1 text {{\\}} 0 {}} test parse-12.8 {Tcl_ParseVarName procedure, missing close brace} testparser { list [catch {testparser "$\{abc" 0} msg] $msg $::errorInfo } {1 {missing close-brace for variable name} missing\ close-brace\ for\ variable\ name\n\ \ \ \ (remainder\ of\ script:\ \"\{abc\")\n\ \ \ \ invoked\ from\ within\n\"testparser\ \"\$\\\{abc\"\ 0\"} @@ -797,7 +797,7 @@ test parse-15.16 {CommandComplete procedure} { } 1 test parse-15.17 {CommandComplete procedure} { info complete {a b "c $dd("} -} 0 +} 1 test parse-15.18 {CommandComplete procedure} { info complete {a b "c \"} } 0 |