summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraarne <unknown>2004-10-13 11:47:24 +0000
committeraarne <unknown>2004-10-13 11:47:24 +0000
commit357c2fa4cfa1bd5ea8815ff40fd14319fe00ab61 (patch)
tree702de4edff0350bad805e2fc5a74757dd5ca110d /src
parentf299de7b3f6cf6a31d79b688be0c5c69ced2f99b (diff)
update highlights; fix cat warning bug
Diffstat (limited to 'src')
-rw-r--r--src/GF/Shell.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Shell.hs b/src/GF/Shell.hs
index 1b8a8520d..2b7a66701 100644
--- a/src/GF/Shell.hs
+++ b/src/GF/Shell.hs
@@ -250,7 +250,7 @@ execC co@(comm, opts0) sa@((st,(h,_)),a) = checkOptions st co >> case comm of
let c0 = firstAbsCat os gro
c <- GrammarToCanon.redQIdent c0
lang <- maybeErr "no concrete" $ languageOfOptState os st
- t <- Look.lookupLincat cgr $ CMacros.redirectIdent lang c
+ t <- return $ errVal CMacros.defLinType $ Look.lookupLincat cgr $ CMacros.redirectIdent lang c
return $ if CMacros.isDiscontinuousCType t
then (putStrLn ("Warning: discontinuous category" +++ prt_ c))
else (return ())