add stub GLR backend with h_glr_parse() a copy of h_lr_parse()

This commit is contained in:
Sven M. Hallberg 2013-06-19 17:20:53 +02:00
parent 54ba62bfb7
commit 55c9a3d9c5
7 changed files with 138 additions and 3 deletions

View file

@ -131,6 +131,7 @@ const HLRAction *h_lrengine_action(HLREngine *engine, HInputStream *stream);
bool h_lrengine_step(HLREngine *engine, const HLRAction *action);
HParseResult *h_lrengine_result(HLREngine *engine);
HParseResult *h_lr_parse(HAllocator* mm__, const HParser* parser, HInputStream* stream);
HParseResult *h_glr_parse(HAllocator* mm__, const HParser* parser, HInputStream* stream);
void h_pprint_lritem(FILE *f, const HCFGrammar *g, const HLRItem *item);
void h_pprint_lrstate(FILE *f, const HCFGrammar *g,