mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-16 01:15:03 +01:00
many things
This commit is contained in:
parent
f582a5b4c3
commit
924236532c
13 changed files with 264 additions and 85 deletions
|
|
@ -37,7 +37,8 @@ export type DatalessToken =
|
|||
| "=="
|
||||
| "<="
|
||||
| ">="
|
||||
| "!=";
|
||||
| "!="
|
||||
| "end of file";
|
||||
|
||||
export type TokenIdent = { kind: "identifier"; ident: string };
|
||||
|
||||
|
|
@ -109,6 +110,9 @@ export function tokenize(input: string): Token[] {
|
|||
throw new CompilerError("unterminated block comment", span);
|
||||
}
|
||||
}
|
||||
i++;
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (SINGLE_PUNCT.includes(next)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue