Had forgotten to initialise the line number on which a nonterminal
symbol occurred first.
This commit is contained in:
parent
f1a2fdaa43
commit
9eb72b6ee8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue