Skip to content

Commit

Permalink
return string without quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
rapiz1 committed Nov 9, 2021
1 parent e2e5b49 commit 9e0e944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ast.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Double::operator std::string() {
return ss.str();
}

String::operator std::string() { return "\"" + value + "\""; }
String::operator std::string() { return value; }

Char::operator std::string() {
string s;
Expand Down

0 comments on commit 9e0e944

Please sign in to comment.