mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-07 18:22:50 -06:00
added option -plus-as-bind which treats (+) as a bind when used with runtime variables
This commit is contained in:
@@ -333,9 +333,7 @@ checkComputeTerm sgr t = do
|
||||
mo <- maybe (raise "no source grammar in scope") return $ greatestResource sgr
|
||||
((t,_),_) <- runCheck $ do t <- renameSourceTerm sgr mo t
|
||||
inferLType sgr [] t
|
||||
t1 <- {-if new
|
||||
then-} return (CN.normalForm (CN.resourceValues sgr) (L NoLoc identW) t)
|
||||
{-else computeConcrete sgr t-}
|
||||
t1 <- return (CN.normalForm (CN.resourceValues noOptions sgr) (L NoLoc identW) t)
|
||||
checkPredefError t1
|
||||
|
||||
fetchCommand :: GFEnv -> IO String
|
||||
|
||||
Reference in New Issue
Block a user