1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Build an empty C string.

This commit is contained in:
Rob Rix 2015-11-24 13:51:18 -05:00
parent dea11341b4
commit f8918f815e

View File

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