diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-06 22:43:55 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-06 22:43:55 +0100 |
| commit | 2db03cb4a54eaa594ca0d3ccb6819a8d56e7efed (patch) | |
| tree | 255b286dc38003c2e7308250b73753922aec9034 /src/printer.cpp | |
| parent | eed873c6ec9ac1631fbf1285d4047596b353e9bf (diff) | |
Fix aprint* bug; NULL -> nullptr; Better error messages for overloaded functions
Diffstat (limited to 'src/printer.cpp')
| -rw-r--r-- | src/printer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer.cpp b/src/printer.cpp index 4d7184631..8db801435 100644 --- a/src/printer.cpp +++ b/src/printer.cpp @@ -6,7 +6,7 @@ gb_inline void print_indent(isize indent) { } void print_ast(AstNode *node, isize indent) { - if (node == NULL) + if (node == nullptr) return; switch (node->kind) { |