forked from GitHub/gf-core
print the "linking..." message when building the GFCC code
This commit is contained in:
@@ -13,8 +13,9 @@ compileToGFCC :: Options -> [FilePath] -> IOE GFCC
|
|||||||
compileToGFCC opts fs =
|
compileToGFCC opts fs =
|
||||||
do gr <- batchCompile opts fs
|
do gr <- batchCompile opts fs
|
||||||
let name = justModuleName (last fs)
|
let name = justModuleName (last fs)
|
||||||
|
gc1 <- putPointE opts "linking ... " $
|
||||||
let (abs,gc0) = mkCanon2gfcc opts name gr
|
let (abs,gc0) = mkCanon2gfcc opts name gr
|
||||||
gc1 <- ioeIO $ checkGFCCio gc0
|
in ioeIO $ checkGFCCio gc0
|
||||||
let opt = if oElem (iOpt "noopt") opts then id else optGFCC
|
let opt = if oElem (iOpt "noopt") opts then id else optGFCC
|
||||||
par = if oElem (iOpt "noparse") opts then id else addParsers
|
par = if oElem (iOpt "noparse") opts then id else addParsers
|
||||||
return (par (opt gc1))
|
return (par (opt gc1))
|
||||||
|
|||||||
Reference in New Issue
Block a user