aboutsummaryrefslogtreecommitdiff
path: root/src/printer.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-09-01 20:38:44 +0100
committerGinger Bill <bill@gingerbill.org>2016-09-01 20:38:44 +0100
commitfa09d805e23c59cb881573a7a1aee5fbc5752ea2 (patch)
tree5407c69e5f63b0d3dcab9eef6fee323273070445 /src/printer.cpp
parentff6e21cb879397982cddf3cf5f47bba681271a2c (diff)
Match statements; Type System change (Type_Record for all sum and product types)
Diffstat (limited to 'src/printer.cpp')
-rw-r--r--src/printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer.cpp b/src/printer.cpp
index df93a92db..63127acd4 100644
--- a/src/printer.cpp
+++ b/src/printer.cpp
@@ -16,7 +16,7 @@ void print_ast(AstNode *node, isize indent) {
break;
case AstNode_Ident:
print_indent(indent);
- print_token(node->Ident.token);
+ print_token(node->Ident);
break;
case AstNode_ProcLit:
print_indent(indent);