remove unused constant endl
This commit is contained in:
3
ml.cpp
3
ml.cpp
@@ -2008,9 +2008,6 @@ MlValue MlEnvironment::get(const std::string &name) const {
|
|||||||
if (name == "float") return MlValue("float", builtin::cast_to_float);
|
if (name == "float") return MlValue("float", builtin::cast_to_float);
|
||||||
if (name == "string") return MlValue("string", builtin::cast_to_string);
|
if (name == "string") return MlValue("string", builtin::cast_to_string);
|
||||||
|
|
||||||
// Constants
|
|
||||||
if (name == "endl") return MlValue::string("\n");
|
|
||||||
|
|
||||||
// Other special forms
|
// Other special forms
|
||||||
if (name == "benchmark") return MlValue("benchmark", builtin::benchmark);
|
if (name == "benchmark") return MlValue("benchmark", builtin::benchmark);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user