diff options
author | drh <drh@noemail.net> | 2019-04-30 14:26:31 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-04-30 14:26:31 +0000 |
commit | f135cb7d7f123a42940ddbb4dadc91e86f84cb35 (patch) | |
tree | 0d45c71e5e259b154b29fd5315036b0317490620 /tool/lemon.c | |
parent | cf83323936dccae4ccafa8c6d17d4a9d7c439e5a (diff) | |
download | sqlite-f135cb7d7f123a42940ddbb4dadc91e86f84cb35.tar.gz sqlite-f135cb7d7f123a42940ddbb4dadc91e86f84cb35.zip |
Fix an error message in the Lemon parser generator.
FossilOrigin-Name: b6d7d42b7426622a26b67809cd1f21285fea120aa1897377b9946840463b41f1
Diffstat (limited to 'tool/lemon.c')
-rw-r--r-- | tool/lemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lemon.c b/tool/lemon.c index 7ef99fd52..eb4adbbc6 100644 --- a/tool/lemon.c +++ b/tool/lemon.c @@ -3848,7 +3848,7 @@ PRIVATE int translate_code(struct lemon *lemp, struct rule *rp){ ErrorMsg(lemp->filename,rp->ruleline, "%s(%s) has the same label as the LHS but is not the left-most " "symbol on the RHS.", - rp->rhs[i]->name, rp->rhsalias); + rp->rhs[i]->name, rp->rhsalias[i]); lemp->errorcnt++; } for(j=0; j<i; j++){ |