diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-26 15:59:33 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-26 15:59:33 (GMT) |
commit | bc6a36f9493f9a335838085a41f225ed458e4075 (patch) | |
tree | d49af1e5860d63c02ddce6079f06ae40a6beb100 /generic/tclCompCmdsSZ.c | |
parent | 40c481c41a592c3498ba83422edd7d1394b5a1b0 (diff) | |
parent | 208f8c30a1c20162f7ec27c09afb7818153f254d (diff) | |
download | tcl-bc6a36f9493f9a335838085a41f225ed458e4075.zip tcl-bc6a36f9493f9a335838085a41f225ed458e4075.tar.gz tcl-bc6a36f9493f9a335838085a41f225ed458e4075.tar.bz2 |
Merge 9.0
Diffstat (limited to 'generic/tclCompCmdsSZ.c')
-rw-r--r-- | generic/tclCompCmdsSZ.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclCompCmdsSZ.c b/generic/tclCompCmdsSZ.c index 54b7734..39c03d0 100644 --- a/generic/tclCompCmdsSZ.c +++ b/generic/tclCompCmdsSZ.c @@ -2980,6 +2980,9 @@ TclCompileTryCmd( goto failedToCompile; } finallyToken = TokenAfter(tokenPtr); + if (finallyToken->type != TCL_TOKEN_SIMPLE_WORD) { + goto failedToCompile; + } } else { goto failedToCompile; } |