experiments with unlexer

This commit is contained in:
aarne
2004-08-15 21:02:10 +00:00
parent a454e7f6c4
commit face83bb18
4 changed files with 36 additions and 3 deletions

View File

@@ -122,7 +122,8 @@ updateShellState opts sh ((_,sgr,gr),rts) = do
a' = ifNull Nothing (return . head) $ allAbstracts cgr0
abstr0 <- case abstract sh of
Just a -> do
-- test that abstract is compatible
-- test that abstract is compatible --- unsafe exception for old?
--- if True oElem showOld opts then return () else
testErr (maybe True (a==) a') ("expected abstract" +++ P.prt a)
return $ Just a
_ -> return a'