From: Jo-Philipp Wich Date: Sun, 29 Dec 2013 21:31:35 +0000 (+0000) Subject: parser: fix order of declarations X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd5db769d8b77dd540db44a095d09edb3153e2d8;p=oweals%2Fjsonpath.git parser: fix order of declarations --- diff --git a/parser.y b/parser.y index acca9e1..f5e8966 100644 --- a/parser.y +++ b/parser.y @@ -41,7 +41,7 @@ void yyerror(struct jp_state *s, const char *msg); %parse-param { struct jp_state *s } %lex-param { struct jp_state *s } -%code provides { +%code requires { #ifndef __PARSER_H_ #define __PARSER_H_