1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00

Attempt to print the string.

This commit is contained in:
Rob Rix 2015-10-27 11:45:54 -04:00
parent d29c6b5cdd
commit 533f8753b9

View File

@ -40,6 +40,6 @@ if let a = arguments[1] {
ts_document_set_input(document, a)
ts_document_parse(document)
let root = ts_document_root_node(document)
print(ts_node_name(root, document))
print(String.fromCString(ts_node_name(root, document)))
ts_document_free(document)
}