reshape for h_left and friends

This commit is contained in:
Sven M. Hallberg 2013-05-20 14:44:18 +02:00
parent 745aaebe02
commit 31256ba867
3 changed files with 31 additions and 2 deletions

View file

@ -37,7 +37,8 @@ static void collect_nts(HCFGrammar *grammar, HCFChoice *symbol);
static void collect_geneps(HCFGrammar *grammar);
static const HParsedToken *h_act_first(const HParseResult *p)
// XXX to be consolidated with glue.c when merged upstream
const HParsedToken *h_act_first(const HParseResult *p)
{
assert(p->ast);
assert(p->ast->token_type == TT_SEQUENCE);