aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-04-18 20:15:15 +0300
committerArnold D. Robbins <arnold@skeeve.com>2019-04-18 20:15:15 +0300
commit9abeda33e7ce111a266d5e3ec4dafe65c26d5cd0 (patch)
tree68694f00d403866a7d64c606b93db56155aaf56f /awkgram.y
parent33218616b4987c7afd860d0b3f4dad9cdb703547 (diff)
downloadegawk-9abeda33e7ce111a266d5e3ec4dafe65c26d5cd0.tar.gz
egawk-9abeda33e7ce111a266d5e3ec4dafe65c26d5cd0.tar.bz2
egawk-9abeda33e7ce111a266d5e3ec4dafe65c26d5cd0.zip
Fix core dump upon syntax error.
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.y b/awkgram.y
index 87570dfa..08bd096e 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -154,7 +154,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;