Update keywords.cpp

This commit is contained in:
XL_up 2023-08-28 23:11:19 +08:00
parent 7b9a65f8d9
commit 8e01f2eeeb
1 changed files with 3 additions and 1 deletions

View File

@ -21,9 +21,11 @@
#define PG_KEYWORD(a, b, c) {a, b, c},
// A table that stores keywords information.
// This table will be used in keyword-matching process.
const ScanKeyword ScanKeywords[] = {
#include "parser/kwlist.h"
};
// The number of table items, which is also the total number of keywords
const int NumScanKeywords = lengthof(ScanKeywords);