fez-lisp 1.3.18 → 1.3.19

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/src/macros.js +2 -3
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "fez-lisp",
3
3
  "description": "Lisp interpreted & compiled to JavaScript",
4
4
  "author": "AT290690",
5
- "version": "1.3.18",
5
+ "version": "1.3.19",
6
6
  "type": "module",
7
7
  "main": "index.js",
8
8
  "keywords": [
package/src/macros.js CHANGED
@@ -476,7 +476,7 @@ export const deSuggarAst = (ast, scope) => {
476
476
  }
477
477
  exp.iron = true
478
478
  exp.push(newScope)
479
- deSuggarAst(exp)
479
+ deSuggarAst(scope)
480
480
  }
481
481
  }
482
482
  break
@@ -585,16 +585,15 @@ export const deSuggarAst = (ast, scope) => {
585
585
  break
586
586
  default:
587
587
  {
588
- iron(scope)
589
588
  for (const e of exp) evaluate(e)
590
589
  }
591
590
  break
592
591
  }
592
+ iron(scope)
593
593
  for (const r of rest) evaluate(r)
594
594
  }
595
595
  }
596
596
  evaluate(ast)
597
- iron(scope)
598
597
  return ast
599
598
  }
600
599
  export const replaceStrings = (source) => {