mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-30 23:02:50 -06:00
for backward compatibility we have the old parse function again. the old functionality is exposed by parse_
This commit is contained in:
@@ -897,7 +897,7 @@ allCommands env@(pgf, mos) = Map.fromList [
|
||||
]
|
||||
where
|
||||
par opts s = case optOpenTypes opts of
|
||||
[] -> [parse pgf lang (optType opts) s | lang <- optLangs opts]
|
||||
[] -> [parse_ pgf lang (optType opts) s | lang <- optLangs opts]
|
||||
open_typs -> [parseWithRecovery pgf lang (optType opts) open_typs s | lang <- optLangs opts]
|
||||
|
||||
void = ([],[])
|
||||
|
||||
Reference in New Issue
Block a user