From c5fcf682195b0b191d19a598844f734ebf5b2583 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 28 Dec 2009 20:55:18 +0000 Subject: 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. --- src/ast.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ast.h') diff --git a/src/ast.h b/src/ast.h index a4f9361..c62406b 100644 --- a/src/ast.h +++ b/src/ast.h @@ -19,6 +19,14 @@ public: Ast(); virtual ~Ast(); + void addNode( struct YYLTYPE &loc, AstNode::Type eType ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, int iVal ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, float fVal ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, bool bVal ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, + const Bu::FString &sVal ); + void addNode( struct YYLTYPE &loc, AstNode::Type eType, const char *sVal ); + void addNode( AstNode::Type eType ); void addNode( AstNode::Type eType, int iVal ); void addNode( AstNode::Type eType, float fVal ); -- cgit v1.2.3