Remove last, add unscan and rescan, add handle for if not exist, just gets skipped for now

This commit is contained in:
Pablu
2025-10-28 13:16:19 +01:00
parent cd5f72bfbe
commit 396b531013
4 changed files with 69 additions and 58 deletions

View File

@@ -20,6 +20,7 @@ const (
RPAREN
COMMA
// Keywords
CREATE
TABLE
@@ -47,6 +48,8 @@ var keywords map[string]Token = map[string]Token{
"TEXT": TEXT,
"INTEGER": INTEGER,
"NULL": NULL,
"IF": IF,
"EXISTS": EXISTS,
}
type Position struct {