diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-04-10 03:00:50 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-04-10 03:00:50 +0000 |
| commit | 17026331d69176e4c95903632f212376192de70e (patch) | |
| tree | 9f2eda0c1fd8344a2cff5abe5848eacbf499c973 /usr.bin | |
| parent | 89d1cbc7aa01a0f480446701893d265a9f0abdb2 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/yacc/output.c | 1 | ||||
| -rw-r--r-- | usr.bin/yacc/reader.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/yacc/output.c b/usr.bin/yacc/output.c index db841425c7f4..835f21e7fad4 100644 --- a/usr.bin/yacc/output.c +++ b/usr.bin/yacc/output.c @@ -636,6 +636,7 @@ int vector; short *from; short *to; + loc = 0; i = order[vector]; t = tally[i]; assert(t); diff --git a/usr.bin/yacc/reader.c b/usr.bin/yacc/reader.c index 8358f78c6c60..5beb19990b19 100644 --- a/usr.bin/yacc/reader.c +++ b/usr.bin/yacc/reader.c @@ -1888,6 +1888,7 @@ print_grammar() if (!vflag) return; k = 1; + spacing = 0; for (i = 2; i < nrules; ++i) { if (rlhs[i] != rlhs[i-1]) |
