aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-02 21:20:33 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit5e240bdab90c45f935e7d2b33181de13295e7e6b (patch)
tree0718d7ca2386292c5b3646d0cb1ae499bb7ba818 /tests
parent2a17f5225a09c01eb04225d0241c686ea553f912 (diff)
Add string, variable and number. Fix identifier match against const and var
Diffstat (limited to 'tests')
-rw-r--r--tests/main.amal3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/main.amal b/tests/main.amal
index 0cd7154..68ddc47 100644
--- a/tests/main.amal
+++ b/tests/main.amal
@@ -4,7 +4,8 @@ const main = () {
var hello = () {
}
- const value = "hello, world!";
+ const value = "hello"
+ print(value, "world", 356)
}
const print = () {