diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Script.h')
-rw-r--r-- | Userland/Libraries/LibJS/Script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Script.h b/Userland/Libraries/LibJS/Script.h index acc5b4a619..d6aae0a4f4 100644 --- a/Userland/Libraries/LibJS/Script.h +++ b/Userland/Libraries/LibJS/Script.h @@ -25,7 +25,7 @@ public: }; ~Script(); - static Result<NonnullRefPtr<Script>, Vector<Parser::Error>> parse(StringView source_text, Realm&, StringView filename = {}, HostDefined* = nullptr); + static Result<NonnullRefPtr<Script>, Vector<Parser::Error>> parse(StringView source_text, Realm&, StringView filename = {}, HostDefined* = nullptr, size_t line_number_offset = 1); Realm& realm() { return *m_realm.cell(); } Program const& parse_node() const { return *m_parse_node; } |