From d8e6a2bcf74f1059f83c681e646fd8a22876e737 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 19 Apr 2020 23:26:59 +1000 Subject: Removed Finish field from Tokens for Graph reasons --- src/packrat-lexer.adb | 1 - 1 file changed, 1 deletion(-) (limited to 'src/packrat-lexer.adb') diff --git a/src/packrat-lexer.adb b/src/packrat-lexer.adb index 256341e..319e05c 100644 --- a/src/packrat-lexer.adb +++ b/src/packrat-lexer.adb @@ -47,7 +47,6 @@ package body Packrat.Lexer is Context.Result_So_Far.Append (Gen_Tokens.Create (Label, Context.Position + Context.Offset, - Current_Result.Finish + Context.Offset, Input (Context.Position .. Current_Result.Finish))); if Current_Result.Finish = 0 then Context.Empty_Labels.Insert (Label); -- cgit