Skip to content

Commit

Permalink
make code that throw exception return exit code 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Mar 23, 2024
1 parent 5dc76bc commit 435c66d
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 440 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* remove `nil` parser constant [#332](https://github.com/jcubic/lips/issues/332)
* replace `undefined` with `#void`, and `null` with `#null`
* characters are again unboxed into strings by JavaScript code [#329](https://github.com/jcubic/lips/issues/329)
* code that throw exception now return exit code 1
### Features
* add `vector-for-each` and `vector-copy!` function from R7RS
* add `string-for-each`, `string-downcase`, and `string-upcase` from R7RS
Expand Down
1 change: 1 addition & 0 deletions bin/lips.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ function print_error(e, stack) {
if (stack) {
console.error(e.stack);
console.error(strace);
process.exit(1);
} else {
console.error(e.message);
console.error('Call (stack-trace) to see the stack');
Expand Down
8 changes: 4 additions & 4 deletions dist/lips.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/lips.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/lips.esm.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/lips.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/lips.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 435c66d

Please sign in to comment.