diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-05-08 12:19:01 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2016-05-08 12:19:01 +0200 |
commit | 4dbbdbab2dbdd265e2c06db02823c29c236e91dd (patch) | |
tree | 3b6ed6e4f8e1cb952aa1b8badf4140a98fc52186 /lib | |
parent | b42098ef8cc477459d1926bf08bd8400c6ecbfea (diff) | |
download | RegexTest-4dbbdbab2dbdd265e2c06db02823c29c236e91dd.tar.gz |
grammar-l11: remove left-recursion
In the original change, the EXP in PROD-EXP should have been PROD-EXP,
similarly EXP in SINGLE-EXP should have been SINGLE-EXP. Otherwise the
operator precedence is not applied correctly (consider 1+2*3, it should
be interpreted as 1+(2*3), not (1+2)*3).
Anyway, this change removes left-recursion as described in 2.12.1.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions