From 6e413884feaf4d037d8c60efdf2ad98ef0034907 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 10 Jan 2019 16:33:22 +1100 Subject: Corrected Start_Of_Line and End_Of_Line to be generic --- src/packrat-lexer-combinators.ads | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; -- cgit