diff options
Diffstat (limited to '')
-rw-r--r-- | tests/snippets/nasm/checkid.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/snippets/nasm/checkid.txt b/tests/snippets/nasm/checkid.txt new file mode 100644 index 0000000..72f25da --- /dev/null +++ b/tests/snippets/nasm/checkid.txt @@ -0,0 +1,32 @@ +---input--- +print_brick_no_color: + inc bx + mov di, bx ; comment + jmp check_col + +---tokens--- +'print_brick_no_color:' Name.Label +'\n' Text.Whitespace + +' ' Text.Whitespace +'inc' Name.Function +' ' Text.Whitespace +'bx' Name.Builtin +'\n' Text.Whitespace + +' ' Text.Whitespace +'mov' Name.Function +' ' Text.Whitespace +'di' Name.Builtin +',' Punctuation +' ' Text.Whitespace +'bx' Name.Builtin +' ' Text.Whitespace +'; comment' Comment.Single +'\n' Text.Whitespace + +' ' Text.Whitespace +'jmp' Name.Function +' ' Text.Whitespace +'check_col' Name.Variable +'\n' Text.Whitespace |