Guest User

Untitled

a guest
Nov 13th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. ttreesitter_d/treesitter_ttreesitter.cpp:138:47: error: cannot convert ‘TSParser*’ to ‘tyObject_tSParser_Aj38y5pZJE9cypvICiD0s9ag*’ in assignment
  2. p_9bc9cRKHbup9bPy9b6cADZFVCw = ts_parser_new();
  3. ^
  4. In file included from ttreesitter_d/treesitter_ttreesitter.cpp:11:0:
  5. nimtreesitter/treesitter/treesitter/include/tree_sitter/runtime.h:17:16: note: class type ‘TSParser’ is incomplete
  6. typedef struct TSParser TSParser;
  7. ^~~~~~~~
  8. ttreesitter_d/treesitter_ttreesitter.cpp:140:47: error: cannot convert ‘tyObject_tSParser_Aj38y5pZJE9cypvICiD0s9ag*’ to ‘TSParser*’ for argument ‘1’ to ‘void ts_parser_delete(TSParser*)’
  9. ts_parser_delete(p_9bc9cRKHbup9bPy9b6cADZFVCw);
  10. ^
  11. ttreesitter_d/treesitter_ttreesitter.cpp:25:8: note: class type ‘tyObject_tSParser_Aj38y5pZJE9cypvICiD0s9ag’ is incomplete
  12. struct tyObject_tSParser_Aj38y5pZJE9cypvICiD0s9ag;
  13. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment