diff options
| author | gingerBill <bill@gingerbill.org> | 2023-06-19 22:12:47 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-06-19 22:12:47 +0100 |
| commit | 6568625dea679b4622024f62fc14725aa49b2106 (patch) | |
| tree | e7b06b3450671094640d73e1d233dd1654db359a /src/parser.hpp | |
| parent | 427f212170114b006fcb6ff1366231f99acff13e (diff) | |
Fix line error printing for error messages
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index e0e78fa1d..900fddbab 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -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 { \ |