1
0
forked from GitHub/gf-core

simple refactoring in PGF.Macros and related

This commit is contained in:
krasimir
2010-12-06 14:19:51 +00:00
parent 0f444d8893
commit b6446ec36d
5 changed files with 17 additions and 17 deletions

View File

@@ -107,7 +107,7 @@ pgfToCFG pgf lang = mkCFG (showCId (lookStartCat pgf)) extCats (startRules ++ co
profilesToTerm :: [Profile] -> CFTerm
profilesToTerm ps = CFObj f (zipWith profileToTerm argTypes ps)
where (argTypes,_) = catSkeleton $ lookType pgf f
where (argTypes,_) = catSkeleton $ lookType (abstract pgf) f
profileToTerm :: CId -> Profile -> CFTerm
profileToTerm t [] = CFMeta t