]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
remove ast.h-include from lexer.h to parser.c...
authorWolfgang Bumiller <blub@speed.at>
Wed, 2 Jan 2013 14:08:02 +0000 (15:08 +0100)
committerWolfgang Bumiller <blub@speed.at>
Wed, 2 Jan 2013 14:08:02 +0000 (15:08 +0100)
lexer.h
parser.c

diff --git a/lexer.h b/lexer.h
index 82aa046126e77405ff3533f745b299cad45cb7a4..919dbec1d10078a7c2a449701e34251cc42ad5fe 100644 (file)
--- a/lexer.h
+++ b/lexer.h
@@ -25,8 +25,6 @@
 
 typedef struct token_s token;
 
 
 typedef struct token_s token;
 
-#include "ast.h"
-
 struct token_s {
     int ttype;
 
 struct token_s {
     int ttype;
 
index 260e81d94163ebceb762149d70ddc6bf2db075b6..425668225f2ee37c21be88d8c1ab4bbf40bc17b1 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -26,6 +26,7 @@
 
 #include "gmqcc.h"
 #include "lexer.h"
 
 #include "gmqcc.h"
 #include "lexer.h"
+#include "ast.h"
 
 /* beginning of locals */
 #define PARSER_HT_LOCALS  2
 
 /* beginning of locals */
 #define PARSER_HT_LOCALS  2