tree-sitter / tree-sitter-c

C grammar for tree-sitter
MIT License
225 stars 100 forks source link

Process finished with exit code -1073741571 (0xC00000FD) #170

Closed sluck430 closed 10 months ago

sluck430 commented 10 months ago

 C_LANGUAGE = Language('build/my-languages.so', 'c')
 c_parser = Parser()
 c_parser.set_language(C_LANGUAGE)
 with open(file=c_path, mode='rb') as f:
            file_bytes = f.read()
 tree = c_parser.parse(file_bytes)
···

why “Process finished with exit code -1073741571 (0xC00000FD)” at " tree = c_parser.parse(file_bytes) " ?
amaanq commented 10 months ago

seems like your parser just doesnt exist at that path, are you sure you built it there?