From c435c7daa9df1b08dc85132fcd1c154bea9b69e2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 18:21:03 +0000 Subject: Fixes to use libbu++ Bu::String --- src/buildparser.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/buildparser.h') diff --git a/src/buildparser.h b/src/buildparser.h index 8e2af6c..7e6e348 100644 --- a/src/buildparser.h +++ b/src/buildparser.h @@ -4,7 +4,7 @@ #include "build.tab.h" #include "bu/stack.h" -#include "bu/fstring.h" +#include "bu/string.h" #include "types.h" class BuildParser @@ -13,22 +13,22 @@ public: BuildParser( class Ast &rAst ); virtual ~BuildParser(); - void load( const Bu::FString &sFile ); + void load( const Bu::String &sFile ); - bool isKeyword( const Bu::FString &sStr ); - bool isCond( const Bu::FString &sStr ); - void include( const Bu::FString &sStr, void *scanner, YYLTYPE *loc ); + bool isKeyword( const Bu::String &sStr ); + bool isCond( const Bu::String &sStr ); + void include( const Bu::String &sStr, void *scanner, YYLTYPE *loc ); void endInclude( YYLTYPE *loc ); void error( int iLine1, int iLine2, int iCol1, int iCol2, - const Bu::FString &sMsg ); + const Bu::String &sMsg ); class Ast &xAst; - void addIncludePath( const Bu::FString &sPath ); + void addIncludePath( const Bu::String &sPath ); private: - Bu::Stack sFilename; + Bu::Stack sFilename; Bu::Stack sLocation; StrList lIncludePaths; }; -- cgit v1.2.3