1
0
forked from GitHub/gf-core
Commit Graph

4 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
virk.shafqat
e52f51007f refinementsPnb-2011-05-10 2011-05-10 15:27:57 +00:00
virk.shafqat
458675a8e8 refinements-Pnb-2011-04-30 2011-04-30 18:11:48 +00:00
aarne
35773ccca5 Punjabi resource by Shafqat and Humayoun. 2010-11-24 13:43:53 +00:00