summaryrefslogtreecommitdiff
path: root/src/packrat-parsers.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2021-01-18 11:25:59 +1100
committerJed Barber <jjbarber@y7mail.com>2021-01-18 11:25:59 +1100
commitd588551014dfdc248c8ea97a95e987da254b9931 (patch)
tree9ca2c331d32175d5bb939b72e6fc7de9c113a5c1 /src/packrat-parsers.adb
parent159759f78036288e267d587a97ff5d37b1527148 (diff)
Changed Redirect error to Constraint_Error
Diffstat (limited to 'src/packrat-parsers.adb')
-rw-r--r--src/packrat-parsers.adb2
1 files changed, 1 insertions, 1 deletions
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;