mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-23 01:52:50 -06:00
forgotten changes in Predef.gf for making CAPIT a built-in operation
This commit is contained in:
@@ -39,5 +39,6 @@ resource Predef = {
|
|||||||
oper nonExist : Str = variants {} ; -- a placeholder for non-existant morphological forms
|
oper nonExist : Str = variants {} ; -- a placeholder for non-existant morphological forms
|
||||||
oper BIND : Str = variants {} ; -- a token for gluing
|
oper BIND : Str = variants {} ; -- a token for gluing
|
||||||
oper SOFT_BIND : Str = variants {} ; -- a token for soft gluing
|
oper SOFT_BIND : Str = variants {} ; -- a token for soft gluing
|
||||||
|
oper CAPIT : Str = variants {} ; -- a token for capitalization
|
||||||
|
|
||||||
} ;
|
} ;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
-- This file defines some prelude facilities usable in all grammars.
|
-- This file defines some prelude facilities usable in all grammars.
|
||||||
|
|
||||||
resource Prelude = Predef[nonExist, BIND, SOFT_BIND] ** open (Predef=Predef) in {
|
resource Prelude = Predef[nonExist, BIND, SOFT_BIND, CAPIT] ** open (Predef=Predef) in {
|
||||||
|
|
||||||
oper
|
oper
|
||||||
|
|
||||||
@@ -111,7 +111,6 @@ oper
|
|||||||
-- These should be hidden, and never changed since they are hardcoded in (un)lexers
|
-- These should be hidden, and never changed since they are hardcoded in (un)lexers
|
||||||
|
|
||||||
PARA : Str = "&-" ;
|
PARA : Str = "&-" ;
|
||||||
CAPIT : Str = "&|" ;
|
|
||||||
|
|
||||||
-- Embed between commas, where the latter one disappears in front of other punctuation
|
-- Embed between commas, where the latter one disappears in front of other punctuation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user