mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Fix misleading indentation compilation errors
This commit is contained in:
parent
114b8a4095
commit
048f4278c0
1 changed files with 8 additions and 4 deletions
12
quickjs.c
12
quickjs.c
|
@ -26493,8 +26493,10 @@ JSValue JS_GetModuleNamespace(JSContext *ctx, JSModuleDef *m)
|
||||||
|
|
||||||
#ifdef DUMP_MODULE_RESOLVE
|
#ifdef DUMP_MODULE_RESOLVE
|
||||||
#define module_trace(ctx, ...) \
|
#define module_trace(ctx, ...) \
|
||||||
do if (check_dump_flag(ctx->rt, DUMP_MODULE_RESOLVE)) \
|
do { \
|
||||||
printf(__VA_ARGS__); while (0)
|
if (check_dump_flag(ctx->rt, DUMP_MODULE_RESOLVE)) \
|
||||||
|
printf(__VA_ARGS__); \
|
||||||
|
} while (0)
|
||||||
#else
|
#else
|
||||||
#define module_trace(...)
|
#define module_trace(...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -46338,8 +46340,10 @@ static void promise_reaction_data_free(JSRuntime *rt,
|
||||||
|
|
||||||
#ifdef DUMP_PROMISE
|
#ifdef DUMP_PROMISE
|
||||||
#define promise_trace(ctx, ...) \
|
#define promise_trace(ctx, ...) \
|
||||||
do if (check_dump_flag(ctx->rt, DUMP_PROMISE)) \
|
do { \
|
||||||
printf(__VA_ARGS__); while (0)
|
if (check_dump_flag(ctx->rt, DUMP_PROMISE)) \
|
||||||
|
printf(__VA_ARGS__); \
|
||||||
|
} while (0)
|
||||||
#else
|
#else
|
||||||
#define promise_trace(...)
|
#define promise_trace(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue