aboutsummaryrefslogtreecommitdiff
path: root/src/astnode.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-12-28 20:55:18 +0000
committerMike Buland <eichlan@xagasoft.com>2009-12-28 20:55:18 +0000
commitc5fcf682195b0b191d19a598844f734ebf5b2583 (patch)
tree9fb24ddc20aaee06ee4990e84725b33a3e213207 /src/astnode.cpp
parente27c94b51a2e315ed5f529ba0c8c0d1bf354143c (diff)
downloadbuild-c5fcf682195b0b191d19a598844f734ebf5b2583.tar.gz
build-c5fcf682195b0b191d19a598844f734ebf5b2583.tar.bz2
build-c5fcf682195b0b191d19a598844f734ebf5b2583.tar.xz
build-c5fcf682195b0b191d19a598844f734ebf5b2583.zip
Location data is being tracked (for the most part, filenames...not as much),
but it isn't being used in errors yet, I should add some new exceptions for now.
Diffstat (limited to '')
-rw-r--r--src/astnode.cpp5
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
5AstNode::AstNode( Type eType ) : 5AstNode::AstNode( const Location &loc, Type eType ) :
6 eType( eType ) 6 eType( eType ),
7 loc( loc )
7{ 8{
8} 9}
9 10