summaryrefslogtreecommitdiff
path: root/src/GF.hs
diff options
context:
space:
mode:
authoraarne <unknown>2003-11-11 15:44:24 +0000
committeraarne <unknown>2003-11-11 15:44:24 +0000
commit54c72f5ab023c0cdac83eb28dd1f81d4cd35aeae (patch)
treea2a41040c96a84b2bfadac0e25a9dc450aa41bfb /src/GF.hs
parent9b47b4aa128a5cbee74aa99e5494a0b76890ec4a (diff)
Working with interfaces.
Working with interfaces. Created new place for grammar parsers. Created new script jgf2+.
Diffstat (limited to 'src/GF.hs')
-rw-r--r--src/GF.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GF.hs b/src/GF.hs
index bdc9a9fea..3144e8a18 100644
--- a/src/GF.hs
+++ b/src/GF.hs
@@ -23,12 +23,13 @@ main = do
xs <- getArgs
let (os,fs) = getOptions "-" xs
java = oElem forJava os
+ isNew = oElem newParser os ---- temporary hack to have two parallel GUIs
putStrLn $ if java then encodeUTF8 welcomeMsg else welcomeMsg
st <- case fs of
_ -> useIOE emptyShellState $ foldM (shellStateFromFiles os) emptyShellState fs
--- _ -> return emptyShellState
if null fs then return () else putCPU
- if java then sessionLineJ st else do
+ if java then sessionLineJ isNew st else do
gfInteract (initHState st)
return ()