/* SymbolNewNonTerm() - create a new non-terminal data structure. * * We assume someone else has already verified that no symbol * with this name already exists. ***********************************************************************/ SYMBOL SymbolNewNonTerm(TToken Token) { SYMBOL Result; Result = SymbolNew(Token, FALSE); Globals.NonTerms = SymListAdd(Globals.NonTerms, Result); return Result; }
static Object* readSymbol(Context* ctx, const char* token) { return SymbolNew(ctx, token); }