mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 23:12:08 +00:00
LibJS: Make Parser::Error a standalone ParserError class
This allows us to forward declare it and reduce the number of things that need to include Parser.h.
This commit is contained in:
parent
e0916dbb35
commit
e6331031c4
11 changed files with 74 additions and 36 deletions
|
@ -43,7 +43,7 @@ private:
|
|||
|
||||
JS::GCPtr<JS::Script> m_script_record;
|
||||
MutedErrors m_muted_errors { MutedErrors::No };
|
||||
Optional<JS::Parser::Error> m_error_to_rethrow;
|
||||
Optional<JS::ParserError> m_error_to_rethrow;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue