Changed block code tags

This commit is contained in:
Ben Ashton 2022-09-25 16:20:16 -06:00
parent 98c6c442fb
commit 2a6e78d67b
2 changed files with 3 additions and 7 deletions

View File

@ -1,5 +1 @@
<h1>Hello</h1>
${
echo "hello world";
echo "\}$";
}$
<{ echo "hi" }>

View File

@ -3,8 +3,8 @@ import { TemplateSyntaxError } from './errors/template_syntax_error.mjs';
export class TokenStream {
static ESCAPE = '\\';
static OPEN_STATEMENT = '${';
static CLOSE_STATEMENT = '}$';
static OPEN_STATEMENT = '<{';
static CLOSE_STATEMENT = '}>';
static OPEN_INLINE = '<%';
static CLOSE_INLINE = '%>';
static OPEN_INLINE_UNESCAPED = '<!%';