diff options
author | 2021-10-29 23:34:19 -0700 | |
---|---|---|
committer | 2021-10-29 23:34:19 -0700 | |
commit | 6854d8384242a0be0ddc3a478d59e3ac65d6263d (patch) | |
tree | d4ead2e2497975eceb841f1a1ddb7a913a120057 /src/js_parser | |
parent | 4aab78f619e36975a0f75e5dda5aeabb9880f5c0 (diff) | |
download | bun-6854d8384242a0be0ddc3a478d59e3ac65d6263d.tar.gz bun-6854d8384242a0be0ddc3a478d59e3ac65d6263d.tar.zst bun-6854d8384242a0be0ddc3a478d59e3ac65d6263d.zip |
[internal] Fix missing symbol errors when building JavaScriptCore bindings without already having the object files
Diffstat (limited to 'src/js_parser')
-rw-r--r-- | src/js_parser/js_parser.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js_parser/js_parser.zig b/src/js_parser/js_parser.zig index d5f120686..50a94d582 100644 --- a/src/js_parser/js_parser.zig +++ b/src/js_parser/js_parser.zig @@ -15482,6 +15482,8 @@ pub fn NewParser( this.import_transposer = @TypeOf(this.import_transposer).init(this); this.require_transposer = @TypeOf(this.require_transposer).init(this); this.require_resolve_transposer = @TypeOf(this.require_resolve_transposer).init(this); + + if (opts.features.top_level_await) this.fn_or_arrow_data_parse.allow_await = .allow_expr; } }; } |