Skip to content

Commit 4f10a0d

Browse files
authored
[EH] Use trailing commas in deps (NFC) (emscripten-core#26288)
We had more cases that didn't follow the convention in emscripten-core#26276 (comment).
1 parent 4e5932d commit 4f10a0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/libexceptions.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ var LibraryExceptions = {
8282

8383
// Here, we throw an exception after recording a couple of values that we need to remember
8484
// We also remember that it was the last exception thrown as we need to know that later.
85-
__cxa_throw__deps: ['$ExceptionInfo', '$exceptionLast', '$uncaughtExceptionCount'
85+
__cxa_throw__deps: ['$ExceptionInfo', '$exceptionLast', '$uncaughtExceptionCount',
8686
#if !DISABLE_EXCEPTION_CATCHING
87-
, '__cxa_increment_exception_refcount'
87+
'__cxa_increment_exception_refcount',
8888
#endif
8989
],
9090
__cxa_throw: (ptr, type, destructor) => {
@@ -105,9 +105,9 @@ var LibraryExceptions = {
105105
// This exception will be caught twice, but while begin_catch runs twice,
106106
// we early-exit from end_catch when the exception has been rethrown, so
107107
// pop that here from the caught exceptions.
108-
__cxa_rethrow__deps: ['$exceptionCaught', '$exceptionLast', '$uncaughtExceptionCount'
108+
__cxa_rethrow__deps: ['$exceptionCaught', '$exceptionLast', '$uncaughtExceptionCount',
109109
#if !DISABLE_EXCEPTION_CATCHING
110-
, '__cxa_increment_exception_refcount'
110+
'__cxa_increment_exception_refcount',
111111
#endif
112112
],
113113
__cxa_rethrow: () => {

0 commit comments

Comments
 (0)