summaryrefslogtreecommitdiff
path: root/deprecated/old-lib/resource/spanish/TextSpa.gf
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/old-lib/resource/spanish/TextSpa.gf')
-rw-r--r--deprecated/old-lib/resource/spanish/TextSpa.gf11
1 files changed, 11 insertions, 0 deletions
diff --git a/deprecated/old-lib/resource/spanish/TextSpa.gf b/deprecated/old-lib/resource/spanish/TextSpa.gf
new file mode 100644
index 000000000..9f9eb75b9
--- /dev/null
+++ b/deprecated/old-lib/resource/spanish/TextSpa.gf
@@ -0,0 +1,11 @@
+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} ;
+
+}