#include <sent/stddefs.h>
#include <sent/dfa.h>
#include <ctype.h>
Go to the source code of this file.
Functions | |
WORD_ID | dfa_symbol_lookup (DFA_INFO *dinfo, char *terminalname) |
Return category id corresponding to the given terminal name. |
Actually the category ids are assigned beforehand by the grammar compiler mkdfa.pl. This function only checks the value.
Definition in file dfa_lookup.c.
Return category id corresponding to the given terminal name.
Actually they are mere strings of ID itself.
dinfo | [in] DFA grammar information | |
terminalname | [in] name string |
Definition at line 45 of file dfa_lookup.c.
Referenced by make_dfa_voca_ref().