From bd892b8a1dd74b7f1b0fd66f498bc7c9fef1bf78 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Fri, 4 Apr 2014 11:46:40 +0000 Subject: fix the haskell binding to handle parse errors --- src/runtime/haskell-bind/PGF2/FFI.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/runtime/haskell-bind/PGF2') diff --git a/src/runtime/haskell-bind/PGF2/FFI.hs b/src/runtime/haskell-bind/PGF2/FFI.hs index 45faef8eb..35ed15958 100644 --- a/src/runtime/haskell-bind/PGF2/FFI.hs +++ b/src/runtime/haskell-bind/PGF2/FFI.hs @@ -51,6 +51,9 @@ foreign import ccall "gu/type.h &gu_type__PgfLinNonExist" foreign import ccall "gu/type.h &gu_type__PgfExn" gu_type__PgfExn :: Ptr GuType + +foreign import ccall "gu/type.h &gu_type__PgfParseError" + gu_type__PgfParseError :: Ptr GuType foreign import ccall "gu/string.h gu_string_in" gu_string_in :: CString -> Ptr GuPool -> IO (Ptr GuIn) -- cgit v1.2.3