diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-09-02 10:18:40 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-09-02 10:18:40 +0200 |
commit | 35b17357b5b55e73c6bbc59e7dae094412b7b02a (patch) | |
tree | e3c9aa9d884a4a1c485df6f2494aca103f0351f5 /struct.lang | |
parent | 2a54765a590e1d393442262002885adcbfe156cd (diff) |
Fully support structs
Diffstat (limited to 'struct.lang')
-rw-r--r-- | struct.lang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/struct.lang b/struct.lang index 5bd38c4..4f89e52 100644 --- a/struct.lang +++ b/struct.lang @@ -11,7 +11,7 @@ func f(int iets1, S s, int iets2) { } func int main() { - // global.x = 3 * global.x + int(global.y); + global.x = 3 * global.x + int(global.y); putint(global.x + 1); putc(global.y); putc('\n'); int a := getc(); int b := getc(); |