Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ttreesitter_d/treesitter_ttreesitter.cpp:138:47: error: cannot convert ‘TSParser*’ to ‘tyObject_tSParser_Aj38y5pZJE9cypvICiD0s9ag*’ in assignment
- p_9bc9cRKHbup9bPy9b6cADZFVCw = ts_parser_new();
- ^
- In file included from ttreesitter_d/treesitter_ttreesitter.cpp:11:0:
- nimtreesitter/treesitter/treesitter/include/tree_sitter/runtime.h:17:16: note: class type ‘TSParser’ is incomplete
- typedef struct TSParser TSParser;
- ^~~~~~~~
- ttreesitter_d/treesitter_ttreesitter.cpp:140:47: error: cannot convert ‘tyObject_tSParser_Aj38y5pZJE9cypvICiD0s9ag*’ to ‘TSParser*’ for argument ‘1’ to ‘void ts_parser_delete(TSParser*)’
- ts_parser_delete(p_9bc9cRKHbup9bPy9b6cADZFVCw);
- ^
- ttreesitter_d/treesitter_ttreesitter.cpp:25:8: note: class type ‘tyObject_tSParser_Aj38y5pZJE9cypvICiD0s9ag’ is incomplete
- struct tyObject_tSParser_Aj38y5pZJE9cypvICiD0s9ag;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment