diff options
-rw-r--r-- | Parser/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/parser.c b/Parser/parser.c index d379f60..6eaa925 100644 --- a/Parser/parser.c +++ b/Parser/parser.c @@ -40,7 +40,7 @@ s_push(register stack *s, dfa *d, node *parent) register stackentry *top; if (s->s_top == s->s_base) { fprintf(stderr, "s_push: parser stack overflow\n"); - return -1; + return E_NOMEM; } top = --s->s_top; top->s_dfa = d; |