1
0
forked from GitHub/gf-core

Support gfc-nofud

This commit is contained in:
aarne
2003-10-06 08:57:16 +00:00
parent 7aa7a3cf19
commit 53e2307bbf
3 changed files with 9 additions and 4 deletions

View File

@@ -43,9 +43,9 @@ parseStringC opts0 sg cat s
| oElem newParser opts0 = do
let pm = maybe "" id $ getOptVal opts0 useParser -- -parser=pm
gr = grammar sg
ps <- checkErr $ N.newParser pm gr (cfCat2Cat cat) s
checkWarn $ unlines ps
return []
ct = cfCat2Cat cat
ts <- checkErr $ N.newParser pm gr (cfCat2Cat cat) s
mapM (checkErr . (annotate gr)) ts
| otherwise = do
let opts = unionOptions opts0 $ stateOptions sg