summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2015-03-04 19:30:03 -0500
committerQuentin Carbonneaux2015-03-04 19:30:03 -0500
commitf876ccd814140523cc300070dc2e15b4f7c032e6 (patch)
tree98580214e3aff62d635d3bd17dbecd38b769ca79
parent58e9fc1df61074fa86c6cd985f52893138b840d4 (diff)
remove useless code
-rw-r--r--miniyacc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/miniyacc.c b/miniyacc.c
index 57a85ce..b2fd2d7 100644
--- a/miniyacc.c
+++ b/miniyacc.c
@@ -382,7 +382,6 @@ stgen()
ini = &i0;
r = rfind(Sym0);
- assert(r);
tini.rule = r;
tini.dot = 0;
tszero(&tini.lk);
@@ -390,7 +389,6 @@ stgen()
i0.nt = 0;
i0.ts[i0.nt++] = tini;
stadd(&ini);
- ini->dirty = 1;
do {
chg = 0;
for (n=0; n<nst; n++) {