@kumikijs/compiler 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2783,6 +2783,7 @@ var Parser = class {
2783
2783
  }
2784
2784
  const tok0 = this.peek();
2785
2785
  if (tok0.kind === "ident") {
2786
+ if (parentTakesValueArg) return this.parseExpr();
2786
2787
  const name = tok0.value;
2787
2788
  const p1 = this.peek(1);
2788
2789
  const looksLikeTileCall = p1.kind === "op" && (p1.value === "(" || p1.value === "{");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kumikijs/compiler",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "Kumiki compiler — lexer, parser, typechecker, and code generator.",
6
6
  "license": "Apache-2.0",