diff options
| author | Quentin Carbonneaux | 2024-09-02 18:17:34 +0200 |
|---|---|---|
| committer | Quentin Carbonneaux | 2024-09-02 18:18:54 +0200 |
| commit | 3bea0b61a5f24a00927bb26f9fa569d95c609fcf (patch) | |
| tree | 8d1cffa61eb1cab71e1c5161a56f80a1e9748813 | |
| parent | e187e988d52f6699c9350f007d9eef7908692350 (diff) | |
fix a nonassoc bug
I am not sure if the mirror thing
should be implemented in the else
branch.
This fix makes a clean pgsql yacc
parser go through.
| -rw-r--r-- | yacc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -444,7 +444,7 @@ tblset(int *tbl, Item *i, Term *t) s = t->rule->rhs[t->dot]; if (s!=S) { /* shift */ - if (s>=ntk) + if (s>=ntk || tbl[s]==-1) return; assert(i->gtbl[s]); act = ARight; |
