[MDEV-9169] BINLOG_SYM in keywords_sp causes shift/reduce conflicts Created: 2015-11-23 Updated: 2015-11-23 Resolved: 2015-11-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 10.1, 10.2 |
| Fix Version/s: | 10.2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 10.2.0-1 |
| Description |
|
Currently BINLOG_SYM is specified in the "keywords_sp" rule. It should be moved to the "keywords" rule instead. This removes around 20 shift/reduce conflicts. We do want "binlog" to be an identifier, like this:
but it should not be allowed as a label in a stored routine, to avoid shift/reduce conflicts with "BINLOG" as a beginning of a verb clause. |