Patches applied:
* cascardo@tlscascardo--private/libgrammatic--lr1--0.1--patch-5
Added header to item collection building
git-archimport-id: cascardo@tlscascardo--private/libgrammatic--nogobject-lr1--0.1--patch-4
#include <grammar.h>
#include <first.h>
+#include <item.h>
#ifdef DEBUG
#include <stdio.h>
#endif
-typedef struct
-{
- symbol_t* left;
- rule_t* right;
- GList* dot;
- symbol_t* lookahead;
-} item_t;
-
item_t* item_new (symbol_t* left, rule_t* right, symbol_t* lookahead)
{
item_t* item;
--- /dev/null
+#ifndef ITEM_H
+#define ITEM_H
+
+typedef struct
+{
+ symbol_t* left;
+ rule_t* right;
+ GList* dot;
+ symbol_t* lookahead;
+} item_t;
+
+GHashTable* item_set_collection (Grammar*, GHashTable*, symbol_t*);
+
+#endif