From 402a113b567a96eef61946552b68df6ac6eb6712 Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 20 Jun 2006 08:38:44 +0000 Subject: made -fcfg default parser; added lexer textvars --- src/GF/Compile/ShellState.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/GF/Compile/ShellState.hs') diff --git a/src/GF/Compile/ShellState.hs b/src/GF/Compile/ShellState.hs index 3a7115b34..88da1283b 100644 --- a/src/GF/Compile/ShellState.hs +++ b/src/GF/Compile/ShellState.hs @@ -188,6 +188,10 @@ stateOptions = loptions stateGrammarWords = allMorphoWords . stateMorpho stateGrammarLang st = (grammar st, cncId st) +---- this should be computed at compile time and stored +stateHasHOAS :: StateGrammar -> Bool +stateHasHOAS = hasHOAS . stateGrammarST + cncModuleIdST :: StateGrammar -> CanonGrammar cncModuleIdST = stateGrammarST -- cgit v1.2.3