From: Wolfgang Bumiller Date: Wed, 2 Jan 2013 14:08:02 +0000 (+0100) Subject: remove ast.h-include from lexer.h to parser.c... X-Git-Tag: before-library~390 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=558a091c08a1833af4f10502a2297eb00aa465e9 remove ast.h-include from lexer.h to parser.c... --- diff --git a/lexer.h b/lexer.h index 82aa046..919dbec 100644 --- a/lexer.h +++ b/lexer.h @@ -25,8 +25,6 @@ typedef struct token_s token; -#include "ast.h" - struct token_s { int ttype; diff --git a/parser.c b/parser.c index 260e81d..4256682 100644 --- a/parser.c +++ b/parser.c @@ -26,6 +26,7 @@ #include "gmqcc.h" #include "lexer.h" +#include "ast.h" /* beginning of locals */ #define PARSER_HT_LOCALS 2