summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-09-03 07:51:25 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-09-03 07:51:25 +0000
commitdf26b134fc13cee4c854afd4306d847873885270 (patch)
tree3dd98c1e8b5286d60534b06f23d069676a743335 /src/compiler
parentd626a194de5c48e0ceedfc3946443f63fd6a4ad8 (diff)
fix in the GF compiler and runtime which let us to define pre construct detecting whether this is the last token.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/GF/Compile/GeneratePMCFG.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Compile/GeneratePMCFG.hs b/src/compiler/GF/Compile/GeneratePMCFG.hs
index d34518cf6..9b8fb8765 100644
--- a/src/compiler/GF/Compile/GeneratePMCFG.hs
+++ b/src/compiler/GF/Compile/GeneratePMCFG.hs
@@ -379,7 +379,7 @@ convertTerm opts sel ctype (Alts s alts)
strings (C u v) = strings u ++ strings v
strings (Strs ss) = concatMap strings ss
strings (EPatt p) = getPatts p
- strings Empty = [] -- ??
+ strings Empty = [""]
strings t = bug $ "strings "++show t
getPatts p =