1
0
forked from GitHub/gf-core

correctly recognize some parameter records for gfcc

This commit is contained in:
aarne
2007-09-21 20:36:43 +00:00
parent 190066725f
commit f17728ee55
2 changed files with 44 additions and 39 deletions

View File

@@ -17,7 +17,7 @@ main = do
_ | oElem (iOpt "-make") opts -> do
gr <- batchCompile opts fs
let name = justModuleName (last fs)
let (abs,gc) = prGrammar2gfcc name gr
let (abs,gc) = prGrammar2gfcc opts name gr
let target = abs ++ ".gfcc"
writeFile target gc
putStrLn $ "wrote file " ++ target