diff options
Diffstat (limited to 'tnslc/test.tnsl')
| -rw-r--r-- | tnslc/test.tnsl | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl index 7921513..c91eee4 100644 --- a/tnslc/test.tnsl +++ b/tnslc/test.tnsl @@ -1,20 +1,13 @@ - -struct Test { - int i, j, - ~Test next +struct Init { + ~int a, b } -/; method Test - /; init - a.b.c - a`.b.c - self.next.init(1) - self.next().a +/; method Init + + /; set (int a) + self.b` = a ;/ + ;/ -/; main - Test t - t.init() -;/ |