diff options
-rw-r--r-- | src/packrat-parsers.adb | 2 |
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; |