added truc

This commit is contained in:
Maieul BOYER 2024-06-30 17:58:31 +02:00
parent 313652be47
commit 8d192a0abc
No known key found for this signature in database
58 changed files with 116828 additions and 37 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