%parse-param { struct jp_state *s }
%lex-param { struct jp_state *s }
-%code provides {
+%code requires {
#ifndef __PARSER_H_
#define __PARSER_H_
struct jp_opcode *pool;
struct jp_opcode *path;
const char *error;
+ char str_quote;
char str_buf[128];
char *str_ptr;
};
if (!newop)
{
fprintf(stderr, "Out of memory\n");
- exit(1);
+ exit(127);
}
newop->type = type;