mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
Shell: Make set_is_syntax_error() also copy the error location
This commit is contained in:
parent
f1d49d391e
commit
323a408d8c
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…
Add table
Add a link
Reference in a new issue