mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibJS: Rename Environment Records so they match the spec :^)
This patch makes the following name changes: - ScopeObject => EnvironmentRecord - LexicalEnvironment => DeclarativeEnvironmentRecord - WithScope => ObjectEnvironmentRecord
This commit is contained in:
parent
e9b4a0a830
commit
6c6dbcfc36
35 changed files with 297 additions and 297 deletions
|
@ -258,7 +258,7 @@ NonnullRefPtr<Program> Parser::parse_program()
|
|||
program->add_variables(m_state.let_scopes.last());
|
||||
program->add_functions(m_state.function_scopes.last());
|
||||
} else {
|
||||
syntax_error("Unclosed scope");
|
||||
syntax_error("Unclosed environment_record");
|
||||
}
|
||||
program->source_range().end = position();
|
||||
return program;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue