#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;