diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-05-14 10:32:48 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-05-14 10:32:48 +0100 |
| commit | e025a828ca6f8014e11837d6281a14313ec13714 (patch) | |
| tree | 08a4a88e56d3dfea580637f9af66a650e298e233 /src | |
| parent | 807e17207a7dc226d4eab60135b28d3cc47da19d (diff) | |
Fix issue #66
Diffstat (limited to 'src')
| -rw-r--r-- | src/checker.c | 4 | ||||
| -rw-r--r-- | src/main.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/checker.c b/src/checker.c index cd6de9bb9..989fd1256 100644 --- a/src/checker.c +++ b/src/checker.c @@ -137,9 +137,9 @@ typedef enum AddressingMode { Addressing_Value, // computed value (rvalue) Addressing_Immutable, // immutable computed value (const rvalue) Addressing_Variable, // addressable variable (lvalue) - Addressing_Constant, // constant & type will be a of Type_Basic (stripping Type_Named) + Addressing_Constant, // constant Addressing_Type, // type - Addressing_Builtin, // built in procedure + Addressing_Builtin, // built-in procedure Addressing_Overload, // overloaded procedure Addressing_MapIndex, // map index expression - // lhs: acts like a Variable diff --git a/src/main.c b/src/main.c index 68673949b..0e1af5907 100644 --- a/src/main.c +++ b/src/main.c @@ -177,7 +177,7 @@ int main(int argc, char **argv) { } init_filename = argv[2]; } else if (str_eq(arg1, str_lit("version"))) { - gb_printf("%s version %.*s", argv[0], LIT(build_context.ODIN_VERSION)); + gb_printf("%s version %.*s\n", argv[0], LIT(build_context.ODIN_VERSION)); return 0; } else { usage(argv[0]); |