mirror of
https://github.com/RGBCube/serenity
synced 2025-07-07 08:27:35 +00:00
Everywhere: Fix typos
Mostly in comments, but sprintf() now prints "August" instead of "Auguest" so that's something.
This commit is contained in:
parent
7399874479
commit
ef1b21004f
28 changed files with 39 additions and 39 deletions
|
@ -42,7 +42,7 @@ DIE::DIE(const CompilationUnit& unit, u32 offset)
|
|||
m_data_offset = stream.offset();
|
||||
|
||||
if (m_abbreviation_code == 0) {
|
||||
// An abbrevation code of 0 ( = null DIE entry) means the end of a chain of sibilings
|
||||
// An abbreviation code of 0 ( = null DIE entry) means the end of a chain of siblings
|
||||
m_tag = EntryTag::None;
|
||||
} else {
|
||||
auto abbreviation_info = m_compilation_unit.abbreviations_map().get(m_abbreviation_code);
|
||||
|
@ -218,7 +218,7 @@ void DIE::for_each_child(Function<void(const DIE& child)> callback) const
|
|||
}
|
||||
|
||||
if (!sibling.has_value()) {
|
||||
// NOTE: According to the spec, the compiler does't have to supply the sibling information.
|
||||
// NOTE: According to the spec, the compiler doesn't have to supply the sibling information.
|
||||
// When it doesn't, we have to recursively iterate the current child's children to find where they end
|
||||
current_child->for_each_child([&](const DIE& sub_child) {
|
||||
sibling_offset = sub_child.offset() + sub_child.size();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue