String suffix = key.indexOf('.')==-1 ? key : key.substring(key.lastIndexOf('.')+1);
//System.err.println("suffix = " + suffix);
- MetaGrammar.Production p = new MetaGrammar.Production(tag, nonTerminalName, els, drops);
+ MetaGrammar.Production p = new MetaGrammar.Production(suffix, suffix, els, drops);
for(Method m : _allMethods.get(prefix))
if (new MetaGrammar.Target(m).isCompatible(p))
return new MetaGrammar.Target(m).makeSequence(p);