summaryrefslogtreecommitdiff
path: root/next-lib/src/spanish/TextSpa.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-09-22 11:49:15 +0000
committeraarne <aarne@cs.chalmers.se>2008-09-22 11:49:15 +0000
commit98665df78b8018af30051cb4a9a31f845e0ba19d (patch)
tree67ba30b09e2b9590a00a4b193bf7611caa935af8 /next-lib/src/spanish/TextSpa.gf
parent4862018f140a1bdcc7961d445ed9aa92facd742f (diff)
moved lib/next-resource to next-lib/src, to enable linking with next-lib as value of GF_LIB_PATH
Diffstat (limited to 'next-lib/src/spanish/TextSpa.gf')
-rw-r--r--next-lib/src/spanish/TextSpa.gf11
1 files changed, 11 insertions, 0 deletions
diff --git a/next-lib/src/spanish/TextSpa.gf b/next-lib/src/spanish/TextSpa.gf
new file mode 100644
index 000000000..b689e1bbf
--- /dev/null
+++ b/next-lib/src/spanish/TextSpa.gf
@@ -0,0 +1,11 @@
+concrete TextSpa of Text = CommonX - [Temp,TTAnt,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} ;
+
+}