This commit is contained in:
Ginger Bill
2017-05-14 10:32:48 +01:00
parent 807e17207a
commit e025a828ca
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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]);