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/buildparser.h | |
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/buildparser.h | 16 |
1 files changed, 8 insertions, 8 deletions
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 @@ | |||
4 | #include "build.tab.h" | 4 | #include "build.tab.h" |
5 | 5 | ||
6 | #include "bu/stack.h" | 6 | #include "bu/stack.h" |
7 | #include "bu/fstring.h" | 7 | #include "bu/string.h" |
8 | #include "types.h" | 8 | #include "types.h" |
9 | 9 | ||
10 | class BuildParser | 10 | class BuildParser |
@@ -13,22 +13,22 @@ public: | |||
13 | BuildParser( class Ast &rAst ); | 13 | BuildParser( class Ast &rAst ); |
14 | virtual ~BuildParser(); | 14 | virtual ~BuildParser(); |
15 | 15 | ||
16 | void load( const Bu::FString &sFile ); | 16 | void load( const Bu::String &sFile ); |
17 | 17 | ||
18 | bool isKeyword( const Bu::FString &sStr ); | 18 | bool isKeyword( const Bu::String &sStr ); |
19 | bool isCond( const Bu::FString &sStr ); | 19 | bool isCond( const Bu::String &sStr ); |
20 | void include( const Bu::FString &sStr, void *scanner, YYLTYPE *loc ); | 20 | void include( const Bu::String &sStr, void *scanner, YYLTYPE *loc ); |
21 | void endInclude( YYLTYPE *loc ); | 21 | void endInclude( YYLTYPE *loc ); |
22 | 22 | ||
23 | void error( int iLine1, int iLine2, int iCol1, int iCol2, | 23 | void error( int iLine1, int iLine2, int iCol1, int iCol2, |
24 | const Bu::FString &sMsg ); | 24 | const Bu::String &sMsg ); |
25 | 25 | ||
26 | class Ast &xAst; | 26 | class Ast &xAst; |
27 | 27 | ||
28 | void addIncludePath( const Bu::FString &sPath ); | 28 | void addIncludePath( const Bu::String &sPath ); |
29 | 29 | ||
30 | private: | 30 | private: |
31 | Bu::Stack<Bu::FString> sFilename; | 31 | Bu::Stack<Bu::String> sFilename; |
32 | Bu::Stack<YYLTYPE> sLocation; | 32 | Bu::Stack<YYLTYPE> sLocation; |
33 | StrList lIncludePaths; | 33 | StrList lIncludePaths; |
34 | }; | 34 | }; |