diff options
author | Kyle Gunger <corechg@gmail.com> | 2020-09-20 18:18:26 -0400 |
---|---|---|
committer | Kyle Gunger <corechg@gmail.com> | 2020-09-20 18:18:26 -0400 |
commit | 4adc90d9a8e48a5c1841874cae0cb30c3deee6e1 (patch) | |
tree | 4025660d2f9cf825a3b6bf080c590f02405657bf /tests/block-test.tnsl | |
parent | 99a037c68522a9ff74449a6aa41c546d85d1bc15 (diff) |
Basic updates
- Move preprocessor to it's own file
- Begin working on new delimiters
- Begin working on blocks in the tree
Diffstat (limited to 'tests/block-test.tnsl')
-rw-r--r-- | tests/block-test.tnsl | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/tests/block-test.tnsl b/tests/block-test.tnsl index a05ca60..e5c3aaf 100644 --- a/tests/block-test.tnsl +++ b/tests/block-test.tnsl @@ -1,33 +1,26 @@ -;int i = 0 - /;if (i==0) ;i = 2 - ;/ -/;else - ;i = 0 -;/ +/: import + "this" + "that" +:/ # ;; can be used as a quick block re-definition /;if (i==0) ;i = 2 - ;;else ;i = 0 - ;/ -/;if - ;char ch = '\n' - -;;else - ;int it = 90 - -;/ +# Comment block switching -/;main - ; - +/; if (i == 2) + ;i = 4 +;# + Comment +#; else + ;i = 6 ;/
\ No newline at end of file |