making TryPol compile

This commit is contained in:
aarne committed 2009-10-23 16:11:54 +00:00
1 parent 266b412a4b
commit ed25ef3b6f
5 files changed
+11 -15

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ concrete GrammarPol of Grammar =
RelativePol,
ConjunctionPol,
PhrasePol,
TextPol,
TextX - [CAdv],
StructuralPol,
IdiomPol
** { flags startcat = Phr ; unlexer = text ; lexer = text ;} ;
-9
View File
@@ -1,9 +0,0 @@
concrete TextPol of Text = {
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} ;
}