1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +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:
Andreas Kling 2022-11-23 12:39:23 +01:00 committed by Linus Groh
parent e0916dbb35
commit e6331031c4
11 changed files with 74 additions and 36 deletions

View file

@ -143,7 +143,7 @@ extern Function<NonnullOwnPtr<JS::Interpreter>()> g_create_interpreter_hook;
extern HashMap<bool*, Tuple<String, String, char>> g_extra_args;
struct ParserError {
JS::Parser::Error error;
JS::ParserError error;
String hint;
};