1
0
forked from GitHub/gf-core

Add explicit character encoding specifications in 39 more RGL modules

To silence warnings and avoid potential problems after changing the default
encoding to UTF-8.
This commit is contained in:
hallgren
2013-11-25 18:17:12 +00:00
parent 1c34005ffc
commit fc2f5b0a1a
39 changed files with 39 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
concrete IdiomAmh of Idiom = CatAmh ** open Prelude, ResAmh in { concrete IdiomAmh of Idiom = CatAmh ** open Prelude, ResAmh in {
flags coding=utf8;
---- ----
---- flags optimize=all_subs ; ---- flags optimize=all_subs ;
---- ----

View File

@@ -1,4 +1,5 @@
concrete RelativeAmh of Relative = CatAmh ** open ResAmh in { concrete RelativeAmh of Relative = CatAmh ** open ResAmh in {
flags coding=utf8;
---- ----
---- flags optimize=all_subs ; ---- flags optimize=all_subs ;
---- ----

View File

@@ -1,4 +1,5 @@
concrete AdverbAra of Adverb = CatAra ** open ResAra, Prelude in { concrete AdverbAra of Adverb = CatAra ** open ResAra, Prelude in {
flags coding=utf8;
lin lin
PositAdvAdj a = {s = a.s ! APosit Masc Sg Indef Acc} ; PositAdvAdj a = {s = a.s ! APosit Masc Sg Indef Acc} ;

View File

@@ -1,4 +1,5 @@
concrete IdiomAra of Idiom = CatAra ** open Prelude, ResAra in { concrete IdiomAra of Idiom = CatAra ** open Prelude, ResAra in {
flags coding=utf8;
-- --
-- flags optimize=all_subs ; -- flags optimize=all_subs ;
-- --

View File

@@ -2,6 +2,7 @@ concrete PhraseAra of Phrase = CatAra ** open
ParamX, ParamX,
Prelude, Prelude,
ResAra in { ResAra in {
flags coding=utf8;
lin lin
PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ! Masc ++ voc.s} ;--FIXME PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ! Masc ++ voc.s} ;--FIXME

View File

@@ -1,4 +1,5 @@
concrete RelativeAra of Relative = CatAra ** open ResAra in { concrete RelativeAra of Relative = CatAra ** open ResAra in {
flags coding=utf8;
-- --
-- flags optimize=all_subs ; -- flags optimize=all_subs ;
-- --

View File

@@ -2,6 +2,7 @@
-- Romance languages. -- Romance languages.
abstract ExtraCatAbs = ExtraRomanceAbs ** { abstract ExtraCatAbs = ExtraRomanceAbs ** {
flags coding=utf8;
fun fun

View File

@@ -1,5 +1,5 @@
concrete IdiomChi of Idiom = CatChi ** open Prelude, ResChi in { concrete IdiomChi of Idiom = CatChi ** open Prelude, ResChi in {
flags coding=utf8;
lin lin
---- formal subject, e.g. it is hot ?? now empty subject ---- formal subject, e.g. it is hot ?? now empty subject
ImpersCl vp = mkClause [] vp ; ImpersCl vp = mkClause [] vp ;

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
instance DiffDan of DiffScand = open CommonScand, Prelude in { instance DiffDan of DiffScand = open CommonScand, Prelude in {
-- Parameters. -- Parameters.

View File

@@ -1,4 +1,5 @@
--# -path=.:../scandinavian:../common:../abstract:../../prelude --# -path=.:../scandinavian:../common:../abstract:../../prelude
--# -coding=latin1
--1 Danish Lexical Paradigms --1 Danish Lexical Paradigms
-- --

View File

@@ -5,7 +5,7 @@ abstract ExtraDutAbs = Extra [
VV,VP,Conj,IComp,ICompAP,IAdvAdv,Adv,AP,IAdv, VV,VP,Conj,IComp,ICompAP,IAdvAdv,Adv,AP,IAdv,
VPSlash, NominalizeVPSlashNP] ** VPSlash, NominalizeVPSlashNP] **
{ {
flags coding=utf8;
--{ --{
-- --
-- fun -- fun

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
abstract IrregDutAbs = Cat ** { abstract IrregDutAbs = Cat ** {
fun bakken_V : V ; -- to fry fun bakken_V : V ; -- to fry

View File

@@ -1,7 +1,7 @@
concrete ConjunctionEst of Conjunction = concrete ConjunctionEst of Conjunction =
CatEst ** open ResEst, Coordination, Prelude in { CatEst ** open ResEst, Coordination, Prelude in {
flags optimize=all_subs ; flags optimize=all_subs ; coding=utf8;
lin lin

View File

@@ -1,6 +1,6 @@
concrete ExtraEst of ExtraEstAbs = CatEst ** concrete ExtraEst of ExtraEstAbs = CatEst **
open ResEst, MorphoEst, Coordination, Prelude, NounEst, StructuralEst, (R = ParamX) in { open ResEst, MorphoEst, Coordination, Prelude, NounEst, StructuralEst, (R = ParamX) in {
flags coding=utf8;
lin lin
GenNP np = { GenNP np = {
s,sp = \\_,_ => np.s ! NPCase Gen ; s,sp = \\_,_ => np.s ! NPCase Gen ;

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
abstract ExtraEstAbs = Extra [ abstract ExtraEstAbs = Extra [
GenNP, GenNP,
VPI,ListVPI,BaseVPI,ConsVPI,MkVPI,ComplVPIVV,ConjVPI, VPI,ListVPI,BaseVPI,ConsVPI,MkVPI,ComplVPIVV,ConjVPI,

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
concrete CatFin of Cat = CommonX ** open ResFin, StemFin, Prelude in { concrete CatFin of Cat = CommonX ** open ResFin, StemFin, Prelude in {
flags optimize=all_subs ; flags optimize=all_subs ;

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
abstract ExtraFinAbs = Extra [ abstract ExtraFinAbs = Extra [
GenNP,GenIP,GenRP, GenNP,GenIP,GenRP,
VPI,ListVPI,BaseVPI,ConsVPI,MkVPI,ComplVPIVV,ConjVPI, VPI,ListVPI,BaseVPI,ConsVPI,MkVPI,ComplVPIVV,ConjVPI,

View File

@@ -1,7 +1,7 @@
concrete IdiomFin of Idiom = CatFin ** concrete IdiomFin of Idiom = CatFin **
open MorphoFin, ParadigmsFin, Prelude in { open MorphoFin, ParadigmsFin, Prelude in {
flags optimize=all_subs ; flags optimize=all_subs ; coding=utf8;
lin lin
ExistNP np = ExistNP np =

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
concrete QuestionFin of Question = CatFin ** open ResFin, Prelude in { concrete QuestionFin of Question = CatFin ** open ResFin, Prelude in {
flags optimize=all_subs ; flags optimize=all_subs ;

View File

@@ -1,5 +1,6 @@
--1 Verb Phrases in Finnish --1 Verb Phrases in Finnish
--# -coding=latin1
concrete VerbFin of Verb = CatFin ** open Prelude, ResFin, StemFin in { concrete VerbFin of Verb = CatFin ** open Prelude, ResFin, StemFin in {
flags optimize=all_subs ; flags optimize=all_subs ;

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
concrete NumeralFre of Numeral = CatFre [Numeral,Digits] ** concrete NumeralFre of Numeral = CatFre [Numeral,Digits] **
open CommonRomance, ResRomance, MorphoFre, Prelude in { open CommonRomance, ResRomance, MorphoFre, Prelude in {

View File

@@ -3,7 +3,7 @@ abstract ExtraGerAbs = Extra [
VPS,ListVPS,BaseVPS,ConsVPS,ConjVPS,MkVPS,PredVPS,EmptyRelSlash, VPS,ListVPS,BaseVPS,ConsVPS,ConjVPS,MkVPS,PredVPS,EmptyRelSlash,
VPSlash,PassVPSlash,CompIQuant, VPSlash,PassVPSlash,CompIQuant,
Temp,Tense,Pol,S,NP,VV,VP,Conj,IAdv,IQuant,IComp,ICompAP,IAdvAdv,Adv,AP] ** { Temp,Tense,Pol,S,NP,VV,VP,Conj,IAdv,IQuant,IComp,ICompAP,IAdvAdv,Adv,AP] ** {
flags coding=utf8;
fun fun
PPzuAdv : CN -> Adv ; -- zum Lied, zur Flasche PPzuAdv : CN -> Adv ; -- zum Lied, zur Flasche
TImpfSubj : Tense ; -- ich möchte... --# notpresent TImpfSubj : Tense ; -- ich möchte... --# notpresent

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
concrete IdiomGer of Idiom = CatGer ** concrete IdiomGer of Idiom = CatGer **
open MorphoGer, ParadigmsGer, Prelude in { open MorphoGer, ParadigmsGer, Prelude in {

View File

@@ -5,7 +5,7 @@
-- Licensed under LGPL -- Licensed under LGPL
concrete AdverbMlt of Adverb = CatMlt ** open ResMlt, Prelude in { concrete AdverbMlt of Adverb = CatMlt ** open ResMlt, Prelude in {
flags coding=utf8;
lin lin
-- A -> Adv -- A -> Adv

View File

@@ -7,7 +7,7 @@
--# -path=.:prelude:../abstract:../common --# -path=.:prelude:../abstract:../common
concrete IrregMlt of IrregMltAbs = CatMlt ** open ParadigmsMlt in { concrete IrregMlt of IrregMltAbs = CatMlt ** open ParadigmsMlt in {
flags coding=utf8;
{- {-
Known irregular verbs in Maltese: Known irregular verbs in Maltese:
- ĦA - ĦA

View File

@@ -1,5 +1,5 @@
concrete TextPes of Text = CommonX - [Temp,TTAnt,Tense,TPres,TPast,TFut,TCond] ** { concrete TextPes of Text = CommonX - [Temp,TTAnt,Tense,TPres,TPast,TFut,TCond] ** {
flags coding=utf8;
-- This works for the special punctuation marks of Persian. -- This works for the special punctuation marks of Persian.
lin lin

View File

@@ -1,5 +1,6 @@
abstract ExtraPolAbs = Cat, Extra [AP,CN,Pron,ProDrop] ** abstract ExtraPolAbs = Cat, Extra [AP,CN,Pron,ProDrop] **
{ {
flags coding=utf8;
-- in Polish there exists a distinction between -- in Polish there exists a distinction between
-- attributes describing a quality of some object (e.g. cold water) -- attributes describing a quality of some object (e.g. cold water)
-- and qualifying that object (e.g. sparkling water). -- and qualifying that object (e.g. sparkling water).

View File

@@ -1,6 +1,6 @@
incomplete concrete AdjectiveRomance of Adjective = incomplete concrete AdjectiveRomance of Adjective =
CatRomance ** open CommonRomance, ResRomance, Prelude in { CatRomance ** open CommonRomance, ResRomance, Prelude in {
flags coding=utf8;
lin lin
PositA a = { PositA a = {

View File

@@ -6,6 +6,7 @@
-- which depends on [DiffRomance DiffRomance.html]. -- which depends on [DiffRomance DiffRomance.html].
-- --
--# -coding=latin1
resource CommonRomance = ParamX ** open Prelude in { resource CommonRomance = ParamX ** open Prelude in {
flags optimize=all ; flags optimize=all ;

View File

@@ -1,6 +1,7 @@
--1 Romance auxiliary operations. --1 Romance auxiliary operations.
-- --
--# -coding=latin1
interface ResRomance = DiffRomance ** open CommonRomance, Prelude in { interface ResRomance = DiffRomance ** open CommonRomance, Prelude in {
flags optimize=all ; flags optimize=all ;

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
resource BeschRon = open Prelude, MorphoRon,CatRon in { resource BeschRon = open Prelude, MorphoRon,CatRon in {
flags optimize=noexpand ; flags optimize=noexpand ;

View File

@@ -1,7 +1,7 @@
--# -path=.:../abstract:../common:../prelude --# -path=.:../abstract:../common:../prelude
concrete SymbolRon of Symbol = concrete SymbolRon of Symbol =
CatRon ** open Prelude, ResRon in { CatRon ** open Prelude, ResRon in {
flags coding=utf8;
lin lin
SymbPN i = mkSymb i.s ; SymbPN i = mkSymb i.s ;
IntPN i = mkSymb i.s ; IntPN i = mkSymb i.s ;

View File

@@ -1,7 +1,7 @@
--# -path=.:../abstract:../common --# -path=.:../abstract:../common
concrete SymbolRus of Symbol = CatRus ** open Prelude, ResRus in { concrete SymbolRus of Symbol = CatRus ** open Prelude, ResRus in {
flags coding=utf8;
{- TODO! -} {- TODO! -}
lin lin
SymbPN i = {s = table {_ => i.s} ; g = Neut; anim = Inanimate } ; SymbPN i = {s = table {_ => i.s} ; g = Neut; anim = Inanimate } ;

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
incomplete concrete CatScand of Cat = incomplete concrete CatScand of Cat =
CommonX -[Tense,Temp] ** open (RS = ResScand), Prelude, CommonScand, (R = ParamX) in { CommonX -[Tense,Temp] ** open (RS = ResScand), Prelude, CommonScand, (R = ParamX) in {

View File

@@ -3,6 +3,7 @@
-- This module contains operations that are shared by the Scandinavian -- This module contains operations that are shared by the Scandinavian
-- languages, without dependence on parameters. -- languages, without dependence on parameters.
--# -coding=latin1
resource CommonScand = ParamX ** open Prelude in { resource CommonScand = ParamX ** open Prelude in {
flags optimize=all ; flags optimize=all ;

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
interface DiffScand = open CommonScand, Prelude in { interface DiffScand = open CommonScand, Prelude in {
--1 Differences between Scandinavian languages --1 Differences between Scandinavian languages

View File

@@ -1,3 +1,4 @@
--# -coding=latin1
concrete NumeralSpa of Numeral = CatSpa [Numeral,Digits] ** concrete NumeralSpa of Numeral = CatSpa [Numeral,Digits] **
open CommonRomance, ResRomance, MorphoSpa, Prelude in { open CommonRomance, ResRomance, MorphoSpa, Prelude in {

View File

@@ -3,7 +3,7 @@
-- Scandinavian languages. -- Scandinavian languages.
abstract ExtraSweAbs = ExtraScandAbs -[FocAP] ** { abstract ExtraSweAbs = ExtraScandAbs -[FocAP] ** {
flags coding=utf8;
cat ReflNP ; cat ReflNP ;
PronAD ; -- relational pronouns which can act like adjectives and PronAD ; -- relational pronouns which can act like adjectives and
-- determiners. 'fler' -- determiners. 'fler'

View File

@@ -3,6 +3,7 @@
-- (c) 2009 Server Çimen under LGPL -- (c) 2009 Server Çimen under LGPL
abstract IrregTurAbs = Cat ** { abstract IrregTurAbs = Cat ** {
flags coding=utf8;
fun fun
eat_V : V ; eat_V : V ;
fear_V : V ; fear_V : V ;