aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index be82197..c26cd9c 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -307,8 +307,10 @@ nexttoken()
int
putback()
{
- if (curs == 0)
- error(10, 0, _("INTERNAL ERROR: cannot return token to stream"));
+ if (curs == 0) {
+ error(0, 0, _("INTERNAL ERROR: cannot return token to stream"));
+ abort();
+ }
curs--;
if (curs > 0) {
tok = token_stack[curs-1];

Return to:

Send suggestions and report system problems to the System administrator.