diff options
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 |