mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-05 22:48:42 +00:00
fix
This commit is contained in:
parent
15e36c203a
commit
5559ad1400
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
|
@ -1538,7 +1538,7 @@ void BuildVisitor::Visit(NameSubSuperExpression& node) {
|
|||
std::string current_node_type = current_node_.GetType();
|
||||
|
||||
if (current_node_type == parser::tokens::NameIdentifier) { // optimize ??
|
||||
// TODO: choose node = std::make_unique<NameIdentifier>(current_node_.GetValue());
|
||||
// TODO: choose : node = std::make_unique<NameIdentifier>(current_node_.GetValue());
|
||||
Visit(std::get<std::unique_ptr<NameIdentifier>>(node).get());
|
||||
} else if (current_node_type == parser::tokens::Literal) {
|
||||
node = std::make_unique<Literal>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue