}
}
public static Tok parseTok(Reader r) throws SyntaxError {
Tok parsedg;
DefaultTranslationMapper mapper = new DefaultTranslationMapper() ;
Grammar g ;
mapper.addTranslation(new Rule("explist"),new explist_base()) ;
mapper.addTranslation(new Rule("type","ID"),new simpleType()) ;
mapper.addTranslation(new Rule("type","type",".","ID"),new dotType()) ;
mapper.addTranslation(new Rule("explist","explist","REGEXP","CODE",";"),new explist_add()) ;
mapper.addTranslation(new Rule("explist","explist","ID","REGEXP"),new explist_addsymlib()) ;
mapper.addTranslation(new Rule("explist","explist","EXTENDS","type"),new explist_extends()) ;
mapper.addTranslation(new Rule("explist","explist","IMPORT","type"),new import_add()) ;
mapper.addTranslation(new Rule("explist","explist","IMPORT","type",".","*"),new import_addstar()) ;
try {
g = new Grammar("S",new ConcatCollection<Rule>(mapper.rules.keySet(),new Rule("S","explist")),new Tree23Map<String,AssocType>(),
new Tree23Map<String,Integer>(),
new Tree23Map<Rule,Integer>()) ;
} catch (InvalidStartRule e) {