projects
/
cascardo
/
grammar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added header to item collection building
[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