| author | |
| committer | |
| log | 8c6cafd94a5c0978ed534edc14d8847960941aa6 |
| tree | 7094c6c82084f3f7686e70ba3279e5c416d4dafd |
| parent | 168f3420e9b12e7b48af9e859f6c7c2df23eb81d |
1 files changed, 4 insertions(+), 0 deletions(-)
src/astgen.zig+4| ... | ... | @@ -207,6 +207,10 @@ const Parser = struct { |
| 207 | 207 | var temp: []const string = &.{}; |
| 208 | 208 | while (!self.tryEatSymbol("}")) { |
| 209 | 209 | if (self.nextIs(.string)) { |
| 210 | if (temp.len > 0) { | |
| 211 | ret = ret ++ &[_]Arg{.{ .lookup = temp }}; | |
| 212 | temp = &.{}; | |
| 213 | } | |
| 210 | 214 | ret = ret ++ &[_]Arg{.{ .plain = self.eat(.string) }}; |
| 211 | 215 | continue; |
| 212 | 216 | } |