summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2019-01-10 16:33:22 +1100
committerJed Barber <jjbarber@y7mail.com>2019-01-10 16:33:22 +1100
commit6e413884feaf4d037d8c60efdf2ad98ef0034907 (patch)
tree58e7184bc3ba9cc97173526aeb30980c9392399a /src
parent67edc77677d366d4dc0ff42154c79a1d87c2dd29 (diff)
Corrected Start_Of_Line and End_Of_Line to be generic
Diffstat (limited to 'src')
-rw-r--r--src/packrat-lexer-combinators.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/packrat-lexer-combinators.ads b/src/packrat-lexer-combinators.ads
index 764887c..08bdbec 100644
--- a/src/packrat-lexer-combinators.ads
+++ b/src/packrat-lexer-combinators.ads
@@ -153,6 +153,8 @@ package Packrat.Lexer.Combinators is
+ generic
+ EOL_Item : in Element;
function Start_Of_Line
(Input : in Element_Array;
Start : in Positive;
@@ -160,6 +162,8 @@ package Packrat.Lexer.Combinators is
Value : out Element_Array)
return Result;
+ generic
+ EOL_Item : in Element;
function End_Of_Line
(Input : in Element_Array;
Start : in Positive;