add support for character literals using single quotes

This commit is contained in:
2020-10-07 19:27:30 +02:00
parent ce5bf513c0
commit 562fc48151
2 changed files with 21 additions and 14 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
(cmp r1 1 (ne? (fault)))
; test reverse push
(push @r0 1)
(push @r0 '🐈')
(push @r0 7)
(rpush @r0 8)
@@ -19,7 +19,7 @@
(cmp r1 7 (ne? (fault)))
(pop r1 @r0)
(cmp r1 1 (ne? (fault)))
(cmp r1 '🐈' (ne? (fault)))
(pop r1 @r0)
(cmp r1 8 (ne? (fault)))