diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-14 15:45:09 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-15 20:42:28 +0900 |
commit | 24fd80555cb35d9fc63cca9e8697bf156f41780b (patch) | |
tree | 0bb5402b8061f63ebef0ff779e59d0d50e20db9e /spec/grammar.go | |
parent | Prohibit applying the expansion operator to anything other than identifiers (diff) | |
download | cotia-24fd80555cb35d9fc63cca9e8697bf156f41780b.tar.gz cotia-24fd80555cb35d9fc63cca9e8697bf156f41780b.tar.xz |
Prohibit applying #left, #right, #assign, and #prec to an error symbol
The shift of the error symbol is an operation forced by the driver.
Therefore it is impossible to change this behavior by giving precedence
to the error symbol. If we desire to change the precedence of a production
rule with the error symbol, we can use #prec directive.
Diffstat (limited to 'spec/grammar.go')
0 files changed, 0 insertions, 0 deletions