summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsGR.c
diff options
context:
space:
mode:
authorandreask <andreask>2014-11-06 18:38:36 (GMT)
committerandreask <andreask>2014-11-06 18:38:36 (GMT)
commit0ef1f55724aaef1571e7b10bfa86d7ba748f1195 (patch)
treec8ac936da5fd2bc1d67b309ab88bd64ee0ef1609 /generic/tclCompCmdsGR.c
parent5c78c0fbe9247e995b881b9f4bbf45e979830d1b (diff)
parent48dfa4d688675bd1efd021c810fd2d54c990286d (diff)
downloadtcl-0ef1f55724aaef1571e7b10bfa86d7ba748f1195.zip
tcl-0ef1f55724aaef1571e7b10bfa86d7ba748f1195.tar.gz
tcl-0ef1f55724aaef1571e7b10bfa86d7ba748f1195.tar.bz2
Merged latest trunk work (especially changes to eof handling) into the RC.
Diffstat (limited to 'generic/tclCompCmdsGR.c')
-rw-r--r--generic/tclCompCmdsGR.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompCmdsGR.c b/generic/tclCompCmdsGR.c
index 9d258fc..98407f7 100644
--- a/generic/tclCompCmdsGR.c
+++ b/generic/tclCompCmdsGR.c
@@ -871,7 +871,7 @@ TclCompileLappendCmd(
/* TODO: Consider support for compiling expanded args. */
numWords = parsePtr->numWords;
- if (numWords == 1) {
+ if (numWords < 3) {
return TCL_ERROR;
}