Skip to content

Commit

Permalink
Make DebugToken not subject to recursion rules
Browse files Browse the repository at this point in the history
  • Loading branch information
boxbeam committed Jun 1, 2022
1 parent 798e0fd commit dc17fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redempt/redlex/debug/DebugToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public boolean characterMatches(String input, int pos, int offset) {
}

@Override
protected Token findForward(String str, int pos, LexContext ctx) {
public Token tryTokenize(String str, int pos, LexContext ctx) {
history.begin(this, pos);
Token value = child.tryTokenize(str, pos, ctx);
history.result(this, pos, value == null ? 0 : value.length(), value != null);
Expand Down

0 comments on commit dc17fba

Please sign in to comment.