diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-04-18 20:15:15 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-04-18 20:15:15 +0300 |
commit | 9abeda33e7ce111a266d5e3ec4dafe65c26d5cd0 (patch) | |
tree | 68694f00d403866a7d64c606b93db56155aaf56f /awkgram.c | |
parent | 33218616b4987c7afd860d0b3f4dad9cdb703547 (diff) | |
download | egawk-9abeda33e7ce111a266d5e3ec4dafe65c26d5cd0.tar.gz egawk-9abeda33e7ce111a266d5e3ec4dafe65c26d5cd0.tar.bz2 egawk-9abeda33e7ce111a266d5e3ec4dafe65c26d5cd0.zip |
Fix core dump upon syntax error.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -198,7 +198,7 @@ static int continue_allowed; /* kludge for continue */ static char *tokstart = NULL; static char *tok = NULL; static char *tokend; -static int errcount = 0; +int errcount = 0; extern char *source; extern int sourceline; |