mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
making TryPol compile
This commit is contained in:
@@ -13,7 +13,7 @@ concrete GrammarPol of Grammar =
|
||||
RelativePol,
|
||||
ConjunctionPol,
|
||||
PhrasePol,
|
||||
TextPol,
|
||||
TextX - [CAdv],
|
||||
StructuralPol,
|
||||
IdiomPol
|
||||
** { flags startcat = Phr ; unlexer = text ; lexer = text ;} ;
|
||||
|
||||
@@ -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} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user