Embarrassing bug!

This commit is contained in:
XANTRONIX Development 2023-09-12 12:01:20 -04:00
parent a3e88aa0fb
commit 7b71a6dfc1

16
main.c
View file

@ -72,14 +72,14 @@ static char *zx_tokens_low[3] = {
}; };
static char *zx_tokens[64] = { static char *zx_tokens[64] = {
"\"\"", "AT", "TAB", NULL, "CODE", "VAL", "LEN", "SIN", "\"\"", "AT", "TAB", NULL, "CODE", "VAL", "LEN", "SIN",
"COS", "TAN", "ASN", "ACS", "ATN", "LN", "EXP", "INT", "COS", "TAN", "ASN", "ACS", "ATN", "LN", "EXP", "INT",
"SQR", "SGN", "ABS", "PEEK", "USR", "STR$", "CHR$", "NOT", "SQR", "SGN", "ABS", "PEEK", "USR", "STR$", "CHR$", "NOT",
"**", "OR", "AND", "<=", ">=", "<>", "THEN", "TO", "**", "OR", "AND", "<=", ">=", "<>", "THEN", "TO",
"STEP", "LPRINT", "LLIST", "STOP", "SLOW", "FAST", "NEW", "SCROLL", "STEP", "LPRINT", "LLIST", "STOP", "SLOW", "FAST", "NEW", "SCROLL",
"CONT", "DIM", "REM", "FOR", "GOTO", "GOSUB", "INPUT", "LOAD", "CONT", "DIM", "REM", "FOR", "GOTO", "GOSUB", "INPUT", "LOAD",
"LIST", "LET", "PAUSE", "NEXT", "POKE", "PRINT", "PLOT", "RUN", "LIST", "LET", "PAUSE", "NEXT", "POKE", "PRINT", "PLOT", "RUN",
"SAVE", "RAND", "IF", "CLS", "UNPLOT", "CLEAR", "RETURN" "COPY", "SAVE", "RAND", "IF", "CLS", "UNPLOT", "CLEAR", "RETURN", "COPY",
}; };
static inline size_t utf8_encode(uint8_t *buf, uint32_t codepoint) { static inline size_t utf8_encode(uint8_t *buf, uint32_t codepoint) {