aboutsummaryrefslogtreecommitdiff
path: root/src/buildparser.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/buildparser.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/buildparser.h b/src/buildparser.h
index 53e2a50..a6149f0 100644
--- a/src/buildparser.h
+++ b/src/buildparser.h
@@ -10,27 +10,27 @@
10class BuildParser 10class BuildParser
11{ 11{
12public: 12public:
13 BuildParser( class Ast &rAst ); 13 BuildParser( class Ast &rAst );
14 virtual ~BuildParser(); 14 virtual ~BuildParser();
15 15
16 void load( const Bu::String &sFile ); 16 void load( const Bu::String &sFile );
17 17
18 bool isKeyword( const Bu::String &sStr ); 18 bool isKeyword( const Bu::String &sStr );
19 bool isCond( const Bu::String &sStr ); 19 bool isCond( const Bu::String &sStr );
20 void include( const Bu::String &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::String &sMsg ); 24 const Bu::String &sMsg );
25 25
26 class Ast &xAst; 26 class Ast &xAst;
27 27
28 void addIncludePath( const Bu::String &sPath ); 28 void addIncludePath( const Bu::String &sPath );
29 29
30private: 30private:
31 Bu::Stack<Bu::String> sFilename; 31 Bu::Stack<Bu::String> sFilename;
32 Bu::Stack<YYLTYPE> sLocation; 32 Bu::Stack<YYLTYPE> sLocation;
33 StrList lIncludePaths; 33 StrList lIncludePaths;
34 Bu::Hash<Bu::String, bool> hConds; 34 Bu::Hash<Bu::String, bool> hConds;
35}; 35};
36 36