From d588551014dfdc248c8ea97a95e987da254b9931 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 18 Jan 2021 11:25:59 +1100 Subject: Changed Redirect error to Constraint_Error --- src/packrat-parsers.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/packrat-parsers.adb b/src/packrat-parsers.adb index 0ddd864..7f7f7f1 100644 --- a/src/packrat-parsers.adb +++ b/src/packrat-parsers.adb @@ -711,7 +711,7 @@ package body Packrat.Parsers is return Combinator_Result is begin if Combo = null then - raise Parser_Error; + raise Constraint_Error; else return Combo (Input, Context, Start); end if; -- cgit