Fix order in the cncnames list in unionPGF. It was made in reverse.

This commit is contained in:
bjorn
2008-08-19 07:40:45 +00:00
parent 55603b78f6
commit bc3281d5e7

View File

@@ -160,7 +160,7 @@ unionPGF one two = case absname one of
n | n == wildCId -> two -- extending empty grammar
| n == absname two -> one { -- extending grammar with same abstract
concretes = Map.union (concretes two) (concretes one),
cncnames = union (cncnames two) (cncnames one)
cncnames = union (cncnames one) (cncnames two)
}
_ -> one -- abstracts don't match ---- print error msg