add LALR conflict resolution (untested)

This commit is contained in:
Sven M. Hallberg 2013-06-13 14:45:26 +02:00
parent ddfd3796a7
commit fd297b636c
3 changed files with 138 additions and 38 deletions

View file

@ -59,6 +59,7 @@ static inline HStringMap *h_stringmap_get_char(const HStringMap *m, const uint8_
* A NULL return means we are unable to represent the parser as a CFG.
*/
HCFGrammar *h_cfgrammar(HAllocator* mm__, const HParser *parser);
HCFGrammar *h_cfgrammar_(HAllocator* mm__, HCFChoice *start);
HCFGrammar *h_cfgrammar_new(HAllocator *mm__);