Update with lr1 branch
[cascardo/grammar.git] / item.h
diff --git a/item.h b/item.h
new file mode 100644 (file)
index 0000000..4924562
--- /dev/null
+++ b/item.h
@@ -0,0 +1,14 @@
+#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