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:
parent
186bf4578a
commit
8944e704c1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user