mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-25 08:57:55 +00:00
Fix line error printing for error messages
This commit is contained in:
+2
-2
@@ -367,7 +367,7 @@ gb_global char const *union_type_kind_strings[UnionType_COUNT] = {
|
||||
"#shared_nil",
|
||||
};
|
||||
|
||||
struct AstOrderedArgs {
|
||||
struct AstSplitArgs {
|
||||
Slice<Ast *> positional;
|
||||
Slice<Ast *> named;
|
||||
};
|
||||
@@ -447,7 +447,7 @@ AST_KIND(_ExprBegin, "", bool) \
|
||||
ProcInlining inlining; \
|
||||
bool optional_ok_one; \
|
||||
bool was_selector; \
|
||||
AstOrderedArgs *ordered_args; \
|
||||
AstSplitArgs *split_args; \
|
||||
}) \
|
||||
AST_KIND(FieldValue, "field value", struct { Token eq; Ast *field, *value; }) \
|
||||
AST_KIND(EnumFieldValue, "enum field value", struct { \
|
||||
|
||||
Reference in New Issue
Block a user