mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 16:42:51 -06:00
workaround for a compilation bug for param defs (to be fixed)
This commit is contained in:
@@ -10,7 +10,7 @@ param
|
|||||||
|
|
||||||
Case = Nom | Acc | CPrep Prep ;
|
Case = Nom | Acc | CPrep Prep ;
|
||||||
|
|
||||||
NPForm = Ton Case | Aton Case | Poss AAgr ;
|
NPForm = Ton Case | Aton Case | Poss {g : Gender ; n : Number} ; --- AAgr
|
||||||
|
|
||||||
RelForm = RSimple Case | RComplex Gender Number Case ;
|
RelForm = RSimple Case | RComplex Gender Number Case ;
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ incomplete concrete NounRomance of Noun =
|
|||||||
n = Sg
|
n = Sg
|
||||||
} ;
|
} ;
|
||||||
DetPl quant num ord = {
|
DetPl quant num ord = {
|
||||||
s = \\g,c => quant.s ! g ! c ++ num.s ! g ++ ord.s ! aagr g Sg ;
|
s = \\g,c => quant.s ! g ! c ++ num.s ! g ++ ord.s ! aagr g Pl ;
|
||||||
n = Pl
|
n = Pl
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ incomplete concrete NounRomance of Noun =
|
|||||||
n = Sg
|
n = Sg
|
||||||
} ;
|
} ;
|
||||||
DefPl = {
|
DefPl = {
|
||||||
s = \\g,c => artDef g Sg c ;
|
s = \\g,c => artDef g Pl c ;
|
||||||
n = Pl
|
n = Pl
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ checkResInfo gr (c,info) = do
|
|||||||
return (c, ResOper pty' pde')
|
return (c, ResOper pty' pde')
|
||||||
|
|
||||||
ResParam (Yes pcs) -> chIn "parameter type" $ do
|
ResParam (Yes pcs) -> chIn "parameter type" $ do
|
||||||
|
---- mapM ((mapM (computeLType gr . snd)) . snd) pcs
|
||||||
mapM_ ((mapM_ (checkIfParType gr . snd)) . snd) pcs
|
mapM_ ((mapM_ (checkIfParType gr . snd)) . snd) pcs
|
||||||
return (c,info)
|
return (c,info)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user