diff options
Diffstat (limited to 'src/prc1/td.c')
| -rw-r--r-- | src/prc1/td.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/prc1/td.c b/src/prc1/td.c index 4f894af..a1212b4 100644 --- a/src/prc1/td.c +++ b/src/prc1/td.c @@ -27,8 +27,12 @@ static int p(const struct lex *, struct prv *); static const struct seq seqs[] = { {(struct step[]){{ID, "end"}, {0}}, .fn = end}, - {(struct step[]){{ID}, {ID, "constant"}, {ID, "to"}, {ID}, {0}}, .fn = cid}, - {(struct step[]){{ID}, {ID, "constant"}, {ID, "to"}, {NUM}, {0}}, .fn = cnum}, + {(struct step[]){ + {ID}, {ID, "constant"}, {ID, "set"}, {ID, "to"}, {ID}, {0}}, .fn = cid}, + {(struct step[]){ + {ID}, {ID, "constant"}, {ID, "set"}, {ID, "to"}, {NUM}, {0}}, + .fn = cnum + }, {(struct step[]){{ID}, {ID, "alias"}, {0}}, .fn = a}, {(struct step[]){{ID}, {ID, "union"}, {0}}, .fn = u}, {(struct step[]){{ID}, {ID, "struct"}, {0}}, .fn = s}, |
