mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibJS: Fix dump() indentation of UpdateExpression with suffix operator
This commit is contained in:
parent
2dbea60fe2
commit
aa68de3530
Notes:
sideshowbarker
2024-07-19 01:50:51 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/aa68de35301 Pull-request: https://github.com/SerenityOS/serenity/pull/3796
1 changed files with 3 additions and 2 deletions
|
@ -1442,9 +1442,10 @@ void UpdateExpression::dump(int indent) const
|
|||
}
|
||||
|
||||
ASTNode::dump(indent);
|
||||
print_indent(indent + 1);
|
||||
if (m_prefixed)
|
||||
if (m_prefixed) {
|
||||
print_indent(indent + 1);
|
||||
printf("%s\n", op_string);
|
||||
}
|
||||
m_argument->dump(indent + 1);
|
||||
if (!m_prefixed) {
|
||||
print_indent(indent + 1);
|
||||
|
|
Loading…
Reference in a new issue