From f8918f815e8c8363b6ee05f5ac4d2bbdf7c8fa84 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Tue, 24 Nov 2015 13:51:18 -0500 Subject: [PATCH] Build an empty C string. --- app/Main.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Main.hs b/app/Main.hs index afbf7589f..bf70fa1ee 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -39,6 +39,7 @@ main = do document <- ts_document_make language <- ts_language_c ts_document_set_language document language + source <- newCString "" putStrLn $ "cSizeOf " ++ show (cSizeOf document) parseModuleFile :: FilePath -> IO (ParseResult HsModule)