summaryrefslogtreecommitdiffstats
path: root/generic/regc_lex.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-19 07:20:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-19 07:20:06 (GMT)
commit7bfe776283e21b9f434c9b47c2ac37b8451f41e8 (patch)
treea6f5b5d040080a7366f187aa469fea20773d7863 /generic/regc_lex.c
parent957890bf54197a9221fb3c3e65ef4cbc07490352 (diff)
parentbdd6e3f4dfea4d7d47d323b51a660c7c7517a531 (diff)
downloadtcl-7bfe776283e21b9f434c9b47c2ac37b8451f41e8.zip
tcl-7bfe776283e21b9f434c9b47c2ac37b8451f41e8.tar.gz
tcl-7bfe776283e21b9f434c9b47c2ac37b8451f41e8.tar.bz2
Fix [7c64aa5e1a]: Another uninitialized-variable bug in BRE-mode parsing. Thanks to Tom Lane for the bug-report and the fix
Diffstat (limited to 'generic/regc_lex.c')
-rw-r--r--generic/regc_lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regc_lex.c b/generic/regc_lex.c
index ec43497..d96d22f 100644
--- a/generic/regc_lex.c
+++ b/generic/regc_lex.c
@@ -427,7 +427,7 @@ next(
if (INCON(L_BBND) && NEXT1('}')) {
v->now++;
INTOCON(L_BRE);
- RET('}');
+ RETV('}', 1);
} else {
FAILW(REG_BADBR);
}