mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 15:04:24 +03:00
- removed the 'use strip' extension
- removed the JS_EVAL_FLAG_STRIP eval flag and replaced it with JS_SetStripInfo() which has simpler semantics. - qjs: added the '-s' and '--strip-source' options - qjsc: added the '-s' and '--keep-source' options
This commit is contained in:
@@ -1571,7 +1571,7 @@ int run_test_buf(const char *filename, const char *harness, namelist_t *ip,
|
||||
|
||||
for (i = 0; i < ip->count; i++) {
|
||||
if (eval_file(ctx, harness, ip->array[i],
|
||||
JS_EVAL_TYPE_GLOBAL | JS_EVAL_FLAG_STRIP)) {
|
||||
JS_EVAL_TYPE_GLOBAL)) {
|
||||
fatal(1, "error including %s for %s", ip->array[i], filename);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user