From 558a091c08a1833af4f10502a2297eb00aa465e9 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 2 Jan 2013 15:08:02 +0100 Subject: [PATCH 1/1] remove ast.h-include from lexer.h to parser.c... --- lexer.h | 2 -- parser.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.2