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
In other words, there's no difference between the ASTs for ~2 and for 2.
It looks to me as though Ohm is first discarding the node for the literal string "~", and then incorrectly deciding that the rule UnaryExp_bitwise_not has only one node, and hence considering it an intermediate node.
The text was updated successfully, but these errors were encountered:
Using Ohm 17.1.0, and the following grammar:
I run the following code:
and the output is:
In other words, there's no difference between the ASTs for
~2
and for2
.It looks to me as though Ohm is first discarding the node for the literal string
"~"
, and then incorrectly deciding that the ruleUnaryExp_bitwise_not
has only one node, and hence considering it an intermediate node.The text was updated successfully, but these errors were encountered: