diff options
Diffstat (limited to 'src/astnode.cpp')
-rw-r--r-- | src/astnode.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/astnode.cpp b/src/astnode.cpp index 5adb3ee..87b9383 100644 --- a/src/astnode.cpp +++ b/src/astnode.cpp | |||
@@ -2,8 +2,9 @@ | |||
2 | #include "astleaf.h" | 2 | #include "astleaf.h" |
3 | #include "astbranch.h" | 3 | #include "astbranch.h" |
4 | 4 | ||
5 | AstNode::AstNode( Type eType ) : | 5 | AstNode::AstNode( const Location &loc, Type eType ) : |
6 | eType( eType ) | 6 | eType( eType ), |
7 | loc( loc ) | ||
7 | { | 8 | { |
8 | } | 9 | } |
9 | 10 | ||