summaryrefslogtreecommitdiff
path: root/src/GF/UseGrammar/Custom.hs
diff options
context:
space:
mode:
authoraarne <unknown>2004-08-25 15:17:13 +0000
committeraarne <unknown>2004-08-25 15:17:13 +0000
commit51c9afa5c8025971d8080fa271a0e8486b9effde (patch)
treef5bf73caee6a25347d72385f16cc5dcf8fd12967 /src/GF/UseGrammar/Custom.hs
parent4af78854b77949ebc839c43281774976b5575309 (diff)
codevars
Diffstat (limited to 'src/GF/UseGrammar/Custom.hs')
-rw-r--r--src/GF/UseGrammar/Custom.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/UseGrammar/Custom.hs b/src/GF/UseGrammar/Custom.hs
index e7989de30..9df79e983 100644
--- a/src/GF/UseGrammar/Custom.hs
+++ b/src/GF/UseGrammar/Custom.hs
@@ -320,7 +320,7 @@ customTokenizer =
,(strCI "vars", const $ tokVars)
,(strCI "chars", const $ map (tS . singleton))
,(strCI "code", const $ lexHaskell)
- ,(strCI "codevars", const $ (mkTokVars lexHaskell))
+ ,(strCI "codevars", lexHaskellVar . stateIsWord)
,(strCI "text", const $ lexText)
,(strCI "unglue", \gr -> map tS . decomposeWords (stateMorpho gr))
,(strCI "codelit", lexHaskellLiteral . stateIsWord)