summaryrefslogtreecommitdiff
path: root/src/GF/Compile
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/Compile')
-rw-r--r--src/GF/Compile/ShellState.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Compile/ShellState.hs b/src/GF/Compile/ShellState.hs
index 17ea2cc9a..138630c3a 100644
--- a/src/GF/Compile/ShellState.hs
+++ b/src/GF/Compile/ShellState.hs
@@ -88,7 +88,7 @@ stateGrammarST = grammar
stateCF = cf
stateMorpho = morpho
stateOptions = loptions
-stateGrammarWords = map fst . tree2list . stateMorpho
+stateGrammarWords = allMorphoWords . stateMorpho
cncModuleIdST = stateGrammarST