public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a2fda
)
Had forgotten to initialise the line number on which a nonterminal
author
ceriel
<none@none>
Fri, 12 Oct 1984 14:19:34 +0000
(14:19 +0000)
committer
ceriel
<none@none>
Fri, 12 Oct 1984 14:19:34 +0000
(14:19 +0000)
symbol occurred first.
util/LLgen/src/name.c
patch
|
blob
|
history
diff --git
a/util/LLgen/src/name.c
b/util/LLgen/src/name.c
index
85ac104
..
2537b69
100644
(file)
--- a/
util/LLgen/src/name.c
+++ b/
util/LLgen/src/name.c
@@
-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;