harmonyc 0.10.4 → 0.10.5

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/package.json +1 -1
  2. package/parser/parser.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "harmonyc",
3
3
  "description": "Harmony Code - model-driven BDD for Vitest",
4
- "version": "0.10.4",
4
+ "version": "0.10.5",
5
5
  "author": "Bernát Kalló",
6
6
  "type": "module",
7
7
  "bin": {
package/parser/parser.js CHANGED
@@ -34,7 +34,7 @@ export const DENTS = apply(opt_sc(seq(S, alt_sc(tok(T.Plus), tok(T.Minus)), tok(
34
34
  const [dents, seqOrFork] = lineHead;
35
35
  return { dent: dents.length / 2, isFork: seqOrFork.kind === T.Plus };
36
36
  });
37
- export const LINE = apply(seq(DENTS, BRANCH), ([{ dent, isFork }, branch], [start, end]) => ({
37
+ export const LINE = apply(seq(DENTS, BRANCH, S), ([{ dent, isFork }, branch], [start, end]) => ({
38
38
  dent,
39
39
  branch: branch.setFork(isFork),
40
40
  }));