Repository navigation
Commit 440f2be
committed
Disambiguate let port names and types
A let port can start with its name (`let l(T) = T;`) or a named type
(`let l(T value) = value;`). Parse the optional type, name and dimensions
together using the existing declaration rule.
This is in preparation for removing TYPE_IDENTIFIER. Keep the explicit
`untyped` alternative separate and remove the unused let_formal_type rule.
Let declarations remain unsupported.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>1 parent 6fa98d0 commit 440f2be
1 file changed
Lines changed: 9 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1267 | 1267 | | |
1268 | 1268 | | |
1269 | 1269 | | |
1270 | | - | |
| 1270 | + | |
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
| |||
6088 | 6088 | | |
6089 | 6089 | | |
6090 | 6090 | | |
6091 | | - | |
| 6091 | + | |
| 6092 | + | |
| 6093 | + | |
| 6094 | + | |
| 6095 | + | |
| 6096 | + | |
6092 | 6097 | | |
6093 | | - | |
| 6098 | + | |
| 6099 | + | |
6094 | 6100 | | |
6095 | 6101 | | |
6096 | 6102 | | |
6097 | | - | |
6098 | | - | |
6099 | | - | |
6100 | | - | |
6101 | | - | |
6102 | | - | |
6103 | | - | |
6104 | 6103 | | |
6105 | 6104 | | |
6106 | 6105 | | |
| |||
0 commit comments