diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
commit | c435c7daa9df1b08dc85132fcd1c154bea9b69e2 (patch) | |
tree | 5537f3c91a67b35c4c8aa918b708b7e4aad8f146 /src/ast.cpp | |
parent | 59690513123de8904eef2a03fe7fcaaed98b1b7b (diff) | |
download | build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.gz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.bz2 build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.xz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.zip |
Fixes to use libbu++ Bu::String
Diffstat (limited to '')
-rw-r--r-- | src/ast.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast.cpp b/src/ast.cpp index 6b213ea..005372b 100644 --- a/src/ast.cpp +++ b/src/ast.cpp | |||
@@ -53,7 +53,7 @@ void Ast::addNode( YYLTYPE &loc, AstNode::Type eType, bool bVal ) | |||
53 | addNode( new AstLeaf( loc, eType, bVal ) ); | 53 | addNode( new AstLeaf( loc, eType, bVal ) ); |
54 | } | 54 | } |
55 | 55 | ||
56 | void Ast::addNode( YYLTYPE &loc, AstNode::Type eType, const Bu::FString &sVal ) | 56 | void Ast::addNode( YYLTYPE &loc, AstNode::Type eType, const Bu::String &sVal ) |
57 | { | 57 | { |
58 | addNode( new AstLeaf( loc, eType, sVal ) ); | 58 | addNode( new AstLeaf( loc, eType, sVal ) ); |
59 | } | 59 | } |
@@ -87,7 +87,7 @@ void Ast::addNode( AstNode::Type eType, bool bVal ) | |||
87 | addNode( none, eType, bVal ); | 87 | addNode( none, eType, bVal ); |
88 | } | 88 | } |
89 | 89 | ||
90 | void Ast::addNode( AstNode::Type eType, const Bu::FString &sVal ) | 90 | void Ast::addNode( AstNode::Type eType, const Bu::String &sVal ) |
91 | { | 91 | { |
92 | YYLTYPE none = {-1, -1, -1, -1}; | 92 | YYLTYPE none = {-1, -1, -1, -1}; |
93 | addNode( none, eType, sVal ); | 93 | addNode( none, eType, sVal ); |