diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /buildtools/lib/parsers/qmake/qmake_yacc.hpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'buildtools/lib/parsers/qmake/qmake_yacc.hpp')
-rw-r--r-- | buildtools/lib/parsers/qmake/qmake_yacc.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/lib/parsers/qmake/qmake_yacc.hpp b/buildtools/lib/parsers/qmake/qmake_yacc.hpp index 60030b3c..91583cd3 100644 --- a/buildtools/lib/parsers/qmake/qmake_yacc.hpp +++ b/buildtools/lib/parsers/qmake/qmake_yacc.hpp @@ -85,9 +85,9 @@ SOURCES = foo #regognize me @fixme 1 shift/reduce conflict in "line_body" rule */ -#include <qvaluestack.h> +#include <tqvaluestack.h> #include "qmakeast.h" -#include <qregexp.h> +#include <tqregexp.h> #define YYSTYPE_IS_DECLARED @@ -102,7 +102,7 @@ struct Result { Result(): node(0) {} /**Type of semantic value for simple grammar rules.*/ - QString value; + TQString value; /**Type of semantic value for grammar rules which are parts of AST.*/ AST *node; /**Type of semantic value for "multiline_values" grammar rule. @@ -121,8 +121,8 @@ struct Result { foo3.cpp foo4.cpp </pre> */ - QStringList values; - QString indent; + TQStringList values; + TQString indent; }; #define YYSTYPE Result @@ -143,7 +143,7 @@ When a scope or function scope statement is parsed, the child ProjectAST is crea and pushed onto the stack. Therefore all statements which belong to the scope or function scope are added as childs to their direct parent (scope or function scope). */ -//QValueStack<ProjectAST*> projects; +//TQValueStack<ProjectAST*> projects; /** The current depth of AST node is stored here. @@ -249,7 +249,7 @@ namespace QMake typedef token::yytokentype token_type; /// Build a parser object. - Parser (QMake::Lexer* lexer_yyarg, QValueStack<ProjectAST*>& projects_yyarg, int depth_yyarg); + Parser (QMake::Lexer* lexer_yyarg, TQValueStack<ProjectAST*>& projects_yyarg, int depth_yyarg); virtual ~Parser (); /// Parse. @@ -409,7 +409,7 @@ namespace QMake /* User arguments. */ QMake::Lexer* lexer; - QValueStack<ProjectAST*>& projects; + TQValueStack<ProjectAST*>& projects; int depth; }; } |