From 02bbd8ec1e9d892c39ee30ff1c52e9f845fafe9f Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sat, 29 Jul 2023 22:12:51 +0200 Subject: [PATCH] add \M --- src/lexer.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lexer.ts b/src/lexer.ts index 7ec4f2e..eadb1fb 100644 --- a/src/lexer.ts +++ b/src/lexer.ts @@ -169,6 +169,10 @@ export function tokenize(input: string): Token[] { // device control 3 for callie's big project result.push("\x13"); break; + case "M": + // end of medium for callie's big project + result.push("\x19"); + break; default: throw new CompilerError( `invalid escape character: ${input[i]}`,