kulp/tenyr — Issue #7: parsing of type1 expressions fails
Author: kulp
Created: 2012-02-25 21:19:39+00:00
State: open

The following four expressions are all legal. However, the fourth one does not parse as of `v0.2.3-23-g4368c8e` :

```M <- G + M
M <- G + 2
M <- G + M + 2
M <- G + 2 + M # this didn't parse as of v0.2.3-23-g4368c8e```

This is likely related to the shift-reduce conflicts that are encountered by bison during parser generation ; the parser says

```syntax error, unexpected REGISTER, expecting '.' or '(' or INTEGER or LOCAL at line 4 column 14 at `M'```

since it is expecting to parse `2 + ...` as a `reloc_expr`.