| ... | @@ -207,6 +207,10 @@ const Parser = struct { | ... | @@ -207,6 +207,10 @@ const Parser = struct { |
| 207 | var temp: []const string = &.{}; | 207 | var temp: []const string = &.{}; |
| 208 | while (!self.tryEatSymbol("}")) { | 208 | while (!self.tryEatSymbol("}")) { |
| 209 | if (self.nextIs(.string)) { | 209 | if (self.nextIs(.string)) { |
| | 210 | if (temp.len > 0) { |
| | 211 | ret = ret ++ &[_]Arg{.{ .lookup = temp }}; |
| | 212 | temp = &.{}; |
| | 213 | } |
| 210 | ret = ret ++ &[_]Arg{.{ .plain = self.eat(.string) }}; | 214 | ret = ret ++ &[_]Arg{.{ .plain = self.eat(.string) }}; |
| 211 | continue; | 215 | continue; |
| 212 | } | 216 | } |