diff options
Diffstat (limited to 'src/buildparser.h')
-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 | }; |