diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-07 22:36:38 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-07 22:36:38 +0200 |
commit | 00d797090ffd9dcc7b1a8fa729c542846ab0242b (patch) | |
tree | 2960fd09ce1460da938737de06e83289b5e47a15 /awkgram.c | |
parent | d26dc534cf748c810d19b9daf4185b8dfaff1a9c (diff) | |
download | egawk-00d797090ffd9dcc7b1a8fa729c542846ab0242b.tar.gz egawk-00d797090ffd9dcc7b1a8fa729c542846ab0242b.tar.bz2 egawk-00d797090ffd9dcc7b1a8fa729c542846ab0242b.zip |
Regex bug fix and token bug fix. See ChangeLog.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -4973,7 +4973,14 @@ next_sourcefile() closefunc = one_line_close; } - assert(lexeof == TRUE); + /* + * This won't be true if there's an invalid character in + * the source file or source string (e.g., user typo). + * Previous versions of gawk did not core dump in such a + * case. + * + * assert(lexeof == TRUE); + */ lexeof = FALSE; eof_warned = FALSE; sourcefile->srclines = sourceline; /* total no of lines in current file */ |