auto generated notice

This commit is contained in:
Krzosa Karol
2026-05-10 14:35:52 +02:00
parent c2c0b351b8
commit 723ebb8f62
2 changed files with 3 additions and 0 deletions

2
meta.c
View File

@@ -73,6 +73,8 @@ int main() {
{"RSHIFT", ">>"},
};
printf("// auto generated by meta.c\n");
printf("typedef enum {\n");
for (int i = 0; i < ilen(kinds); i += 1) {
printf(" TOK_%s,\n", kinds[i].name);

View File

@@ -1,3 +1,4 @@
// auto generated by meta.c
typedef enum {
TOK_EOF,
TOK_ERROR,