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:
parent
dea11341b4
commit
f8918f815e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user