fix in the GF compiler and runtime which let us to define pre construct detecting whether this is the last token.

This commit is contained in:
kr.angelov
2013-09-03 07:51:25 +00:00
parent c6fbe3d23f
commit ee7307fbfb
4 changed files with 15 additions and 10 deletions

View File

@@ -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 =