diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/GF/Grammar/PrGrammar.hs | 1 | ||||
| -rw-r--r-- | src/GF/Source/LexGF.hs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/GF/Grammar/PrGrammar.hs b/src/GF/Grammar/PrGrammar.hs index c49553425..ec01cdab5 100644 --- a/src/GF/Grammar/PrGrammar.hs +++ b/src/GF/Grammar/PrGrammar.hs @@ -168,6 +168,7 @@ instance Print Val where prt (VClos env e) = case e of Meta _ -> prt_ e ++ prEnv env _ -> prt_ e ---- ++ prEnv env ---- for debugging + prt VType = "Type" prv1 v = case v of VApp _ _ -> prParenth $ prt v diff --git a/src/GF/Source/LexGF.hs b/src/GF/Source/LexGF.hs index 400ae4be3..81ed2ab8f 100644 --- a/src/GF/Source/LexGF.hs +++ b/src/GF/Source/LexGF.hs @@ -59,7 +59,7 @@ prToken t = case t of PT _ (TD s) -> s PT _ (TC s) -> s PT _ (T_LString s) -> s - + _ -> show t eitherResIdent :: (String -> Tok) -> String -> Tok eitherResIdent tv s = if isResWord s then (TS s) else (tv s) where |
