add mulitple variable declaration, with null default. add call

This commit is contained in:
2025-06-05 04:04:41 +01:00
parent 7b76b0d888
commit 61d8bc61c3
14 changed files with 186 additions and 111 deletions

View File

@@ -1,6 +1,7 @@
#ifndef TOKEN_H
#define TOKEN_H
#include <stddef.h>
typedef enum {
TOKEN_STRING = 256,
TOKEN_NUMBER,
@@ -76,8 +77,8 @@ typedef enum {
typedef struct {
TokenType type;
int line;
int column;
size_t line;
size_t column;
char *value;
} Token;