From c8ceed08efcc0bdc1fcbd89bce643d9f52f0991b Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 9 Dec 2009 09:47:16 +0000 Subject: moving a few things to deprecated --- deprecated/old-lib/resource/common/TextX.gf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 deprecated/old-lib/resource/common/TextX.gf (limited to 'deprecated/old-lib/resource/common/TextX.gf') diff --git a/deprecated/old-lib/resource/common/TextX.gf b/deprecated/old-lib/resource/common/TextX.gf new file mode 100644 index 000000000..a5ddebc54 --- /dev/null +++ b/deprecated/old-lib/resource/common/TextX.gf @@ -0,0 +1,11 @@ +concrete TextX of Text = CommonX ** { + +-- This will work for almost all languages except 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} ; + +} -- cgit v1.2.3