removed dereferencing pointers when outputing to
stdout because i wanted the option of seeing wethere a pointer was null or not
This commit is contained in:
@@ -14,10 +14,6 @@ namespace ast {
|
|||||||
return os << n.str();
|
return os << n.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline std::ostream& operator<<(std::ostream& os, const node* n) {
|
|
||||||
return os << n->str();
|
|
||||||
}
|
|
||||||
|
|
||||||
struct statement : node {};
|
struct statement : node {};
|
||||||
|
|
||||||
struct expression : node {};
|
struct expression : node {};
|
||||||
|
Reference in New Issue
Block a user