568569570571572573574575576577578
Terminal[] terms = new Terminal[n_terms]; terms[0] = grammar.eof; int n = 1; for (int i = 0; i < rules.length; i++) { RHS rhs = rules[i].rhs; if (rhs.n_term > 0) { for (int j = 0; j < rhs.items.length; j++) { GrammarSymbol sym = rhs.items[j].symbol;
599600601602603604605606607608609
NonTerminal[] nts = new NonTerminal[n_nonterms]; int n = 0; for (int i = 0; i < rules.length; i++) { RHS rhs = rules[i].rhs; if (rhs.n_nonterm > 0) { for (int j = 0; j < rhs.items.length; j++) { GrammarSymbol sym = rhs.items[j].symbol;
543544545546547548549550551552553
574575576577578579580581582583584