lexer: strings

This commit is contained in:
2026-04-22 17:29:48 +02:00
parent 754fd13dfd
commit 5b99c73a1a
3 changed files with 200 additions and 3 deletions

View File

@@ -19,7 +19,15 @@ typedef enum noomL_ErrorType {
NOOML_ERROR_UNKNOWN,
NOOML_ERROR_MALFORMED_NUM,
NOOML_ERROR_UNFINISHED_COMMENT
NOOML_ERROR_UNFINISHED_COMMENT,
NOOML_ERROR_UNFINISHED_STRING,
NOOML_ERROR_UNFINISHED_LONG_STRING,
NOOML_ERROR_DECIMAL_ESCAPE_TOO_BIG,
NOOML_ERROR_HEX_ESCAPE_INVALID,
NOOML_ERROR_UNICODE_ESCAPE_UNOPENED,
NOOML_ERROR_UNICODE_ESCAPE_UNCLOSED,
NOOML_ERROR_UNICODE_ESCAPE_TOO_BIG,
} noomL_ErrorType;
typedef struct noomL_Token {