fix bsearch tables that must be sorted, add comment to all tables that must be sorted

This commit is contained in:
mrdudz
2025-06-09 17:58:58 +02:00
parent 58171691d0
commit ba80de5efc
18 changed files with 50 additions and 24 deletions

View File

@@ -131,6 +131,7 @@ static int C = 0; /* Current input character */
int ForcedEnd = 0;
/* List of dot keywords with the corresponding tokens */
/* CAUTION: table must be sorted for bsearch */
struct DotKeyword {
const char* Key; /* MUST be first field */
token_t Tok;