pt = ParserGenerator.createParseTable(g);
} catch (StateConflict e) {
throw new RuntimeException(e) ;
}
PGENTokenStream tokenizer = new PGENTokenStream(r) ;
AugmentedParseTable apt = new AugmentedParseTableImpl(mapper,pt) ;
Parser parser = new Parser(apt,tokenizer) ;
parsedg = (Pgen)parser.parse() ;
return parsedg;
}