X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fgrammar.git;a=blobdiff_plain;f=item.c;h=c089253eb199342da251173244a7122f8c997c56;hp=8634d90aefb6ff314894a2e980ac92d89bb9a063;hb=58c67aca3f0c6090ae9fba5d872d041d514c6b8f;hpb=fde465e3b93784a060bb9c5dd754d348d7599439 diff --git a/item.c b/item.c index 8634d90..c089253 100644 --- a/item.c +++ b/item.c @@ -173,7 +173,7 @@ void item_set_print (GHashTable* item_set) } #endif -void item_set_closure_step (GHashTable* item_set, Grammar* grammar, +void item_set_closure_step (GHashTable* item_set, grammar_t* grammar, item_t* item) { if (item->dot != NULL) @@ -198,7 +198,7 @@ void item_set_closure_step (GHashTable* item_set, Grammar* grammar, } } -GHashTable* item_set_closure (GHashTable* item_set, Grammar* grammar) +GHashTable* item_set_closure (GHashTable* item_set, grammar_t* grammar) { int size; int last_size; @@ -220,7 +220,7 @@ GHashTable* item_set_closure (GHashTable* item_set, Grammar* grammar) return item_set; } -GHashTable* item_set_goto (GHashTable* item_set, Grammar* grammar, +GHashTable* item_set_goto (GHashTable* item_set, grammar_t* grammar, symbol_t* symbol) { GList* l; @@ -349,7 +349,7 @@ void item_collection_print (GHashTable* collection) } #endif -GHashTable* item_collection_goto (GHashTable* collection, Grammar* grammar, +GHashTable* item_collection_goto (GHashTable* collection, grammar_t* grammar, GHashTable* item_set, symbol_t* symbol) { GHashTable* symbols; @@ -380,7 +380,7 @@ GHashTable* item_collection_goto (GHashTable* collection, Grammar* grammar, } } -void item_set_collection (Grammar* grammar, symbol_t* start) +void item_set_collection (grammar_t* grammar, symbol_t* start) { GHashTable* collection; GHashTable* item_set;