From d0975f0ae61979633f4ef6537a8baa3e4c9c1fc3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 29 Dec 2013 21:03:51 +0000 Subject: [PATCH] parser: change exitcode in case of oom errors --- parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.y b/parser.y index bdfc1f2..acca9e1 100644 --- a/parser.y +++ b/parser.y @@ -186,7 +186,7 @@ _jp_alloc_op(struct jp_state *s, int type, int num, char *str, ...) if (!newop) { fprintf(stderr, "Out of memory\n"); - exit(1); + exit(127); } newop->type = type; -- 2.25.1