Files
gf-core/lib/resource/spanish/TextSpa.gf
2007-12-12 20:30:11 +00:00

12 lines
327 B
Plaintext

concrete TextSpa of Text = CommonX - [Tense,TPres,TPast,TFut,TCond] ** {
-- This works for the special punctuation marks of Spanish.
lin
TEmpty = {s = []} ;
TFullStop x xs = {s = x.s ++ "." ++ xs.s} ;
TQuestMark x xs = {s = "¿" ++ x.s ++ "?" ++ xs.s} ;
TExclMark x xs = {s = "¡" ++ x.s ++ "!" ++ xs.s} ;
}