mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-09 08:28:43 +00:00
v0.0.1
This commit is contained in:
parent
a2e305c27f
commit
d38d75c9d8
8 changed files with 90 additions and 56 deletions
|
|
@ -1525,7 +1525,7 @@ void BuildVisitor::Visit(NumberLiteral* node) {
|
|||
node->value = std::stoll(current_node_.GetValue());
|
||||
}
|
||||
|
||||
void BuildVisitor::Visit(StringLiteral* node) {
|
||||
void BuildVisitor::Visit(StringLiteral* node) { // TODO: special symbols, etc.
|
||||
SetPosition(node->base, current_node_);
|
||||
|
||||
std::string literal = current_node_.GetValue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue