better handling of comments

This commit is contained in:
Vaclav Tvrdik
2021-03-07 18:40:26 +01:00
parent 1c7dea823b
commit 3d54ed9fb3
4 changed files with 22 additions and 16 deletions

4
ml.h
View File

@@ -16,7 +16,7 @@ class MlValue;
class MlEnvironment {
public:
// Default constructor
MlEnvironment() : parent_scope(NULL) {}
MlEnvironment() : parent_scope(nullptr) {}
// Does this environment, or its parent environment,
// have this atom in scope?
@@ -120,7 +120,7 @@ public:
bool is_number() const;
// Get the "truthy" boolean value of this value.
// Get the boolean value of this value.
bool as_bool() const;
// Get this item's integer value