You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expr = Expr . `await`
| Place
Place = Id $*Projections
Projections = `.` FieldId
...then a.await will be parsed as a parse error by Place. The reason is that it parses a as an Id (correctly) but when it sees the . it commits to that being followed by a projection. Right now the rule is that we commit if we consumed anything but whitespace. We should let users define the "commit" point.
The text was updated successfully, but these errors were encountered:
If you have a grammar like this...
...then
a.await
will be parsed as a parse error byPlace
. The reason is that it parsesa
as anId
(correctly) but when it sees the.
it commits to that being followed by a projection. Right now the rule is that we commit if we consumed anything but whitespace. We should let users define the "commit" point.The text was updated successfully, but these errors were encountered: