summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/PGF2/Expr.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/haskell-bind/PGF2/Expr.hsc')
-rw-r--r--src/runtime/haskell-bind/PGF2/Expr.hsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/haskell-bind/PGF2/Expr.hsc b/src/runtime/haskell-bind/PGF2/Expr.hsc
index 5b67ba097..af3afeef5 100644
--- a/src/runtime/haskell-bind/PGF2/Expr.hsc
+++ b/src/runtime/haskell-bind/PGF2/Expr.hsc
@@ -176,6 +176,9 @@ unMeta (Expr expr touch) =
touch
return (Just (fromIntegral (id :: CInt)))
+-- | this functions is only for backward compatibility with the old Haskell runtime
+mkCId x = x
+
-- | parses a 'String' as an expression
readExpr :: String -> Maybe Expr
readExpr str =