mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-26 11:18:55 -06:00
examples/foods: add --# -coding=latin1
Adding coding pragmas --# -coding=latin1 so that grammars will continue to work when we change the default character encoding to UTF-8.
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
--# -coding=latin1
|
||||||
resource CharactersGla = {
|
resource CharactersGla = {
|
||||||
|
|
||||||
--Character classes
|
--Character classes
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--# -coding=latin1
|
||||||
resource CharactersGle = {
|
resource CharactersGle = {
|
||||||
|
|
||||||
--Character classes
|
--Character classes
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
-- (c) 2009 Laurette Pretorius Sr & Jr and Ansu Berg under LGPL
|
-- (c) 2009 Laurette Pretorius Sr & Jr and Ansu Berg under LGPL
|
||||||
|
--# -coding=latin1
|
||||||
|
|
||||||
concrete FoodsAfr of Foods = open Prelude, Predef in{
|
concrete FoodsAfr of Foods = open Prelude, Predef in{
|
||||||
lincat
|
lincat
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--# -coding=latin1
|
||||||
concrete FoodsGla of Foods = open MutationsGla, CharactersGla, Prelude in {
|
concrete FoodsGla of Foods = open MutationsGla, CharactersGla, Prelude in {
|
||||||
param Gender = Masc|Fem ;
|
param Gender = Masc|Fem ;
|
||||||
param Number = Sg|Pl ;
|
param Number = Sg|Pl ;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--# -coding=latin1
|
||||||
concrete FoodsGle of Foods = open MutationsGle, CharactersGle in {
|
concrete FoodsGle of Foods = open MutationsGle, CharactersGle in {
|
||||||
param Gender = Masc|Fem ;
|
param Gender = Masc|Fem ;
|
||||||
param Number = Sg|Pl ;
|
param Number = Sg|Pl ;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
--# -path=.:prelude
|
--# -path=.:prelude
|
||||||
|
--# -coding=latin1
|
||||||
|
|
||||||
-- (c) 2009 Martha Dis Brandt under LGPL
|
-- (c) 2009 Martha Dis Brandt under LGPL
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
-- (c) 2009 Rami Shashati under LGPL
|
-- (c) 2009 Rami Shashati under LGPL
|
||||||
|
--# -coding=latin1
|
||||||
|
|
||||||
concrete FoodsPor of Foods = open Prelude in {
|
concrete FoodsPor of Foods = open Prelude in {
|
||||||
lincat
|
lincat
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
-- (c) 2009 Aarne Ranta under LGPL
|
-- (c) 2009 Aarne Ranta under LGPL
|
||||||
|
--# -coding=latin1
|
||||||
|
|
||||||
instance LexFoodsFin of LexFoods =
|
instance LexFoodsFin of LexFoods =
|
||||||
open SyntaxFin, ParadigmsFin in {
|
open SyntaxFin, ParadigmsFin in {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
-- (c) 2009 Aarne Ranta under LGPL
|
-- (c) 2009 Aarne Ranta under LGPL
|
||||||
|
--# -coding=latin1
|
||||||
|
|
||||||
instance LexFoodsGer of LexFoods =
|
instance LexFoodsGer of LexFoods =
|
||||||
open SyntaxGer, ParadigmsGer in {
|
open SyntaxGer, ParadigmsGer in {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
-- (c) 2009 Aarne Ranta under LGPL
|
-- (c) 2009 Aarne Ranta under LGPL
|
||||||
|
--# -coding=latin1
|
||||||
|
|
||||||
instance LexFoodsSwe of LexFoods =
|
instance LexFoodsSwe of LexFoods =
|
||||||
open SyntaxSwe, ParadigmsSwe in {
|
open SyntaxSwe, ParadigmsSwe in {
|
||||||
|
|||||||
Reference in New Issue
Block a user