Had forgotten to initialise the line number on which a nonterminal

symbol occurred first.
This commit is contained in:
ceriel 1984-10-12 14:19:34 +00:00
parent f1a2fdaa43
commit 9eb72b6ee8

View file

@ -169,6 +169,7 @@ search(type,str,option) register string str; {
q = &nonterms[nnonterms];
q->n_rule = 0;
q->n_lineno = linecount;
q->n_string = f_input;
q->n_follow = 0;
q->n_flags = 0;