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

Set the document’s language.

This commit is contained in:
Rob Rix 2015-11-24 13:46:00 -05:00
parent 186bf4578a
commit 8944e704c1

View File

@ -36,6 +36,7 @@ main = do
-- return ()
document <- ts_document_make
language <- ts_language_c
ts_document_set_language document language
putStrLn $ "cSizeOf " ++ show (cSizeOf document)
parseModuleFile :: FilePath -> IO (ParseResult HsModule)