mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Shell: Make set_is_syntax_error() also copy the error location
This commit is contained in:
parent
f1d49d391e
commit
323a408d8c
Notes:
sideshowbarker
2024-07-18 18:49:17 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/323a408d8c1 Pull-request: https://github.com/SerenityOS/serenity/pull/6773 Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 0 deletions
|
@ -1400,6 +1400,7 @@ public:
|
|||
}
|
||||
virtual void set_is_syntax_error(const SyntaxError& error) override
|
||||
{
|
||||
m_position = error.position();
|
||||
m_is_cleared = error.m_is_cleared;
|
||||
m_is_continuable = error.m_is_continuable;
|
||||
m_syntax_error_text = error.error_text();
|
||||
|
|
Loading…
Reference in a new issue