forked from GitHub/gf-core
Adding coding pragmas --# -coding=latin1 so that grammars will continue to work when we change the default character encoding to UTF-8.
15 lines
322 B
Plaintext
15 lines
322 B
Plaintext
--# -coding=cp1251
|
|
concrete TextBul of Text = CatBul ** {
|
|
flags coding=cp1251 ;
|
|
|
|
|
|
-- 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} ;
|
|
|
|
}
|