diff options
Diffstat (limited to 'buildtools/lib/parsers/qmake/qmake_yacc.hpp')
-rw-r--r-- | buildtools/lib/parsers/qmake/qmake_yacc.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/buildtools/lib/parsers/qmake/qmake_yacc.hpp b/buildtools/lib/parsers/qmake/qmake_yacc.hpp index 91583cd3..0b67bb14 100644 --- a/buildtools/lib/parsers/qmake/qmake_yacc.hpp +++ b/buildtools/lib/parsers/qmake/qmake_yacc.hpp @@ -19,7 +19,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* As a special exception, you may create a larger work that contains +/* As a special exception, you may create a larger work that tqcontains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof @@ -41,7 +41,7 @@ #include <iostream> #include "stack.hh" -namespace QMake +namespace TQMake { class position; class location; @@ -74,9 +74,9 @@ namespace QMake /** @file qmake.yy -QMake Parser +TQMake Parser -Simple LALR parser which builds the syntax tree (see @ref QMake::AST). +Simple LALR parser which builds the syntax tree (see @ref TQMake::AST). @todo Recognize comments after statements like: SOURCES = foo #regognize me @@ -91,7 +91,7 @@ SOURCES = foo #regognize me #define YYSTYPE_IS_DECLARED -namespace QMake +namespace TQMake { class Lexer; @@ -129,7 +129,7 @@ struct Result { typedef Result YYSTYPE; } -extern int QMakelex( QMake::Result* yylval, QMake::Lexer* lexer ); +extern int TQMakelex( TQMake::Result* yylval, TQMake::Lexer* lexer ); /** The stack to store ProjectAST pointers when a new child @@ -141,7 +141,7 @@ currently on the top in the stack. When a scope or function scope statement is parsed, the child ProjectAST is created 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). +or function scope are added as childs to their direct tqparent (scope or function scope). */ //TQValueStack<ProjectAST*> projects; @@ -202,7 +202,7 @@ do { \ } while (false) #endif -namespace QMake +namespace TQMake { /// A Bison parser. @@ -238,7 +238,7 @@ namespace QMake RCURLY = 271, LCURLY = 272, ID_ARGS = 273, - QUOTED_VARIABLE_VALUE = 274, + TQUOTED_VARIABLE_VALUE = 274, VARIABLE_VALUE = 275, LIST_WS = 276, ENDOFFILE = 277 @@ -249,7 +249,7 @@ namespace QMake typedef token::yytokentype token_type; /// Build a parser object. - Parser (QMake::Lexer* lexer_yyarg, TQValueStack<ProjectAST*>& projects_yyarg, int depth_yyarg); + Parser (TQMake::Lexer* lexer_yyarg, TQValueStack<ProjectAST*>& projects_yyarg, int depth_yyarg); virtual ~Parser (); /// Parse. @@ -408,7 +408,7 @@ namespace QMake /* User arguments. */ - QMake::Lexer* lexer; + TQMake::Lexer* lexer; TQValueStack<ProjectAST*>& projects; int depth; }; |