diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-09-23 12:19:12 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-09-23 12:19:12 (GMT) |
commit | 93802f62b1b7db705e29fe8dcd3abe5fedd6b8d9 (patch) | |
tree | 0f51141ce77037f18b3777c23c9ab7666b590eea /generic/regc_cvec.c | |
parent | 00e36faa85d26704fb289ee399cad3c810c0eaa2 (diff) | |
parent | 401ea793a5691a5dc91795371922de138ea7f68c (diff) | |
download | tcl-93802f62b1b7db705e29fe8dcd3abe5fedd6b8d9.zip tcl-93802f62b1b7db705e29fe8dcd3abe5fedd6b8d9.tar.gz tcl-93802f62b1b7db705e29fe8dcd3abe5fedd6b8d9.tar.bz2 |
Merge trunk
Diffstat (limited to 'generic/regc_cvec.c')
-rw-r--r-- | generic/regc_cvec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/regc_cvec.c b/generic/regc_cvec.c index 0247521..d450d3e 100644 --- a/generic/regc_cvec.c +++ b/generic/regc_cvec.c @@ -81,6 +81,7 @@ addchr( struct cvec *cv, /* character vector */ pchr c) /* character to add */ { + assert(cv->nchrs < cv->chrspace); cv->chrs[cv->nchrs++] = (chr)c; } |