Update: Added Ts runtime

This commit is contained in:
Maieul BOYER 2024-04-28 17:49:29 +02:00
parent d4af13cab3
commit cf4620d0e9
No known key found for this signature in database
24 changed files with 9995 additions and 3 deletions

View file

@ -0,0 +1,11 @@
#ifndef TREE_SITTER_ERROR_COSTS_H_
#define TREE_SITTER_ERROR_COSTS_H_
#define ERROR_STATE 0
#define ERROR_COST_PER_RECOVERY 500
#define ERROR_COST_PER_MISSING_TREE 110
#define ERROR_COST_PER_SKIPPED_TREE 100
#define ERROR_COST_PER_SKIPPED_LINE 30
#define ERROR_COST_PER_SKIPPED_CHAR 1
#endif