diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-12-14 20:38:14 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-12-14 20:38:14 +0200 |
commit | c55956b6a10d0a4d0b151c1be976dc9c344c1103 (patch) | |
tree | 8711c2b5a501af116782f470fa5c0ec9e18dbabf /awkgram.c | |
parent | b6ac928a53d146233741fc5f7fe1cac66de27303 (diff) | |
download | egawk-c55956b6a10d0a4d0b151c1be976dc9c344c1103.tar.gz egawk-c55956b6a10d0a4d0b151c1be976dc9c344c1103.tar.bz2 egawk-c55956b6a10d0a4d0b151c1be976dc9c344c1103.zip |
More fixes to stop allocating an extra byte.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4548,7 +4548,7 @@ yyerror(const char *m, ...) if (mesg == NULL) mesg = m; - count = (bp - thisline) + strlen(mesg) + 2 + 1; + count = (bp - thisline) + strlen(mesg) + 1 + 1; emalloc(buf, char *, count, "yyerror"); bp = buf; |