mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Shell: Rename the verb {lookup => look_up}
This commit is contained in:
parent
4d00b372c8
commit
24c7995743
5 changed files with 22 additions and 22 deletions
|
@ -1245,7 +1245,7 @@ ErrorOr<RefPtr<AST::Node>> Shell::immediate_math(AST::ImmediateExpression& invok
|
|||
[&](String const& name) -> ErrorOr<i64> {
|
||||
size_t resolution_attempts_remaining = 100;
|
||||
for (auto resolved_name = name; resolution_attempts_remaining > 0; --resolution_attempts_remaining) {
|
||||
auto value = TRY(lookup_local_variable(resolved_name.bytes_as_string_view()));
|
||||
auto value = TRY(look_up_local_variable(resolved_name.bytes_as_string_view()));
|
||||
if (!value)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue