1
0
forked from GitHub/gf-rgl

(Fin) Allow any characters in dSDP

There are so many edge cases, like tokens ending in %, or any special character—better not restrict the input
This commit is contained in:
Inari Listenmaa
2022-12-19 16:10:43 +01:00
committed by GitHub
parent 4ceb822713
commit f8dfc34895

View File

@@ -330,8 +330,8 @@ resource MorphoFin = ResFin ** open Prelude in {
<"n","a","na","een","ien","ia","ina","issa","iin"> ;
"0" | "8" =>
<"n","aa","na","aan","ien","ia","ina","issa","iin"> ;
_ => Predef.error (["illegal abbreviation"] ++ errorMsg) } ;
_ => --- NB. not even trying to match every special character, add your own if needed!
<"n","a","na","iin","ien","ia","ina","issa","ihin"> } ;
-- for adjective comparison