Update to branch lr1
[cascardo/grammar.git] / item.h
diff --git a/item.h b/item.h
index 4924562..0457099 100644 (file)
--- a/item.h
+++ b/item.h
@@ -1,6 +1,9 @@
 #ifndef ITEM_H
 #define ITEM_H
 
 #ifndef ITEM_H
 #define ITEM_H
 
+#include <grammar.h>
+#include <glib.h>
+
 typedef struct
 {
   symbol_t* left;
 typedef struct
 {
   symbol_t* left;
@@ -9,6 +12,6 @@ typedef struct
   symbol_t* lookahead;
 } item_t;
 
   symbol_t* lookahead;
 } item_t;
 
-GHashTable* item_set_collection (Grammar*, GHashTable*, symbol_t*);
+GHashTable* item_set_collection (grammar_t*, GHashTable*, symbol_t*);
 
 #endif
 
 #endif