Commit Graph

6 Commits

Author SHA1 Message Date
hallgren
72459b5158 lib/src/*/Numeral*.gf: fix inconsistent inheritance form Cat
While the abstract Numeral inherits only Cat[Numeral,Digits], some of the
concrete NumeralNNN of Numeral inherited everything from CatNNN.

Normally the compiler outputs a warning message when a concrete syntax 
contains superflous lincats, but apparently not when they get included
through inheritance...

This does not seem to cause problems in the Haskell run-time system, but the 
C run-time system fails to load PGFs with superflous lincats.

This problems shows up when creating application grammars that inherit Numeral.
The Phrasebook is an example of such a grammar.
2015-08-26 11:53:16 +00:00
aarne
2bd37da274 some adjustments for 0,1,2's in NumeralChi. Remaining problem: 225,250 gets "liang" as a variant for its second digit, should be only "er". 2014-10-20 22:07:32 +00:00
aarne
c85e85e36e more Chinese fixes by Chen Peng 2012-11-19 09:55:05 +00:00
aarne
ba1ad29b57 Chenpeng's fixes in NumeralChi 2012-11-16 13:15:03 +00:00
aarne
fefb95ecc7 fixes to Det and ComplSlash in Chi 2012-10-15 20:03:13 +00:00
aarne
754949f5cc chinese (Chi) in place and compiles, based on work by Jolene Zhuo Lin Qiqige 2012-10-15 08:07:17 +00:00