always trimming fat

This commit is contained in:
Maieul BOYER 2024-06-30 20:10:09 +02:00
parent bf669ee8a7
commit 74d642f297
No known key found for this signature in database
8 changed files with 808 additions and 1450 deletions

View file

@ -1,11 +1,6 @@
#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