mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Bump typos pre-commit hooks
This now picks up additional typical misspellings, but also triggers on more identifiers we use. I opted for fixing the obvious misspellings and updated the allowlist for anything else.
This commit is contained in:
parent
97c0df29d4
commit
24894febb6
9 changed files with 18 additions and 9 deletions
|
@ -899,7 +899,7 @@ static bool simplify_chain(const std::vector<StmtPtr>& stmts, unsigned int start
|
|||
|
||||
// An add-chain of any size is a win. For an assign-chain to be a win,
|
||||
// it needs to have at least two elements, because a single "x$a = y$b"
|
||||
// can be expressed using one ZAM instructino (but "x$a += y$b" cannot).
|
||||
// can be expressed using one ZAM instruction (but "x$a += y$b" cannot).
|
||||
if ( add_chains.empty() ) {
|
||||
bool have_useful_assign_chain = false;
|
||||
for ( auto& ac : assign_chains )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue