1
0
forked from GitHub/gf-core

register the callback for the Symb category

This commit is contained in:
kr.angelov
2014-12-08 15:22:33 +00:00
parent fa53434bce
commit 568c6bb542

View File

@@ -481,6 +481,7 @@ public class Translator {
mConcr = mGrammarLoader.getGrammar().getLanguages().get(mLanguage.getConcrete());
mConcr.load(in);
mConcr.addLiteral("PN", new NercLiteralCallback(mGrammarLoader.getGrammar(), mConcr));
mConcr.addLiteral("Symb", new UnknownLiteralCallback(mmConcr));
long t2 = System.currentTimeMillis();
Log.d(TAG, name + " loaded ("+(t2-t1)+" ms)");
} catch (FileNotFoundException e) {