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
returns a ParseRuleContext object with start and stop token pointing to EOF for zero-length input. This library returns start as expected, but stop property value is undefined. This breaks the logic of searching for the rule bounds (from parseTree.start!.start to parseTree.stop!.stop). I've added additional checks, but it would be nice not to have them at all.
antlr4ng version 3.0.4
antlr4ng-cli version 2.0.0
The text was updated successfully, but these errors were encountered:
In java ANTLR4 implementation the code like:
returns a ParseRuleContext object with
start
andstop
token pointing to EOF for zero-length input. This library returnsstart
as expected, butstop
property value is undefined. This breaks the logic of searching for the rule bounds (from parseTree.start!.start to parseTree.stop!.stop). I've added additional checks, but it would be nice not to have them at all.antlr4ng version 3.0.4
antlr4ng-cli version 2.0.0
The text was updated successfully, but these errors were encountered: