mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 23:39:02 +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: aa68de3530
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);
|
ASTNode::dump(indent);
|
||||||
print_indent(indent + 1);
|
if (m_prefixed) {
|
||||||
if (m_prefixed)
|
print_indent(indent + 1);
|
||||||
printf("%s\n", op_string);
|
printf("%s\n", op_string);
|
||||||
|
}
|
||||||
m_argument->dump(indent + 1);
|
m_argument->dump(indent + 1);
|
||||||
if (!m_prefixed) {
|
if (!m_prefixed) {
|
||||||
print_indent(indent + 1);
|
print_indent(indent + 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue