From db3c559fc85fb3028a2a22a07878b5e35060e956 Mon Sep 17 00:00:00 2001 From: Inari Listenmaa Date: Wed, 29 Apr 2020 19:20:34 +0200 Subject: [PATCH] (Hun) Remove calls to Predef.error --- src/hungarian/NounMorphoHun.gf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hungarian/NounMorphoHun.gf b/src/hungarian/NounMorphoHun.gf index ebf4e85c..5b08fb42 100644 --- a/src/hungarian/NounMorphoHun.gf +++ b/src/hungarian/NounMorphoHun.gf @@ -448,7 +448,7 @@ oper x + "u" => x + "ú" ; x + "ö" => x + "ő" ; x + "ü" => x + "ű" ; - _ => Predef.error "Lengthening not applicable to" ++ str + _ => str -- Lengthening not applicable to str } ; shorten : Str -> Str = \str -> case str of { @@ -459,7 +459,7 @@ oper x + "ú" => x + "u" ; x + "ő" => x + "ö" ; x + "ű" => x + "ü" ; - _ => Predef.error "Shortening not applicable to" ++ str + _ => str -- Shortening not applicable to str } ; -- Function to get a harmony from a string