summaryrefslogtreecommitdiff
path: root/src/packrat-lexer.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2020-04-19 23:26:59 +1000
committerJed Barber <jjbarber@y7mail.com>2020-04-19 23:26:59 +1000
commitd8e6a2bcf74f1059f83c681e646fd8a22876e737 (patch)
tree97b2ec58ba5b3fef9c8453e03ddce4b0eccaea57 /src/packrat-lexer.adb
parent4aa7653f76f2223c41debdfdddf6a420d3f0db88 (diff)
Removed Finish field from Tokens for Graph reasons
Diffstat (limited to 'src/packrat-lexer.adb')
-rw-r--r--src/packrat-lexer.adb1
1 files changed, 0 insertions, 1 deletions
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);