Renaming of files in preparation for code style tools.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/14/head
Michele Calgaro 4 years ago
parent f08b30edb9
commit 3e3d9eda9d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -36,7 +36,6 @@ messages:
done done
dirs=`cat dirs` ;\ dirs=`cat dirs` ;\
find $$dirs -maxdepth 1 -name "*.cpp" -print > files ;\ find $$dirs -maxdepth 1 -name "*.cpp" -print > files ;\
find $$dirs -maxdepth 1 -name "*.cc" -print >> files ;\
find $$dirs -maxdepth 1 -name "*.h" -print >> files ;\ find $$dirs -maxdepth 1 -name "*.h" -print >> files ;\
$(EXTRACTRC) `find $$dirs -maxdepth 1 -name "*.rc"` > rc.cpp ;\ $(EXTRACTRC) `find $$dirs -maxdepth 1 -name "*.rc"` > rc.cpp ;\
$(EXTRACTRC) `find $$dirs -maxdepth 1 -name "*.ui"` >> rc.cpp ;\ $(EXTRACTRC) `find $$dirs -maxdepth 1 -name "*.ui"` >> rc.cpp ;\

@ -13,7 +13,7 @@ libkdevautotoolsparser_la_SOURCES = autotoolsast.cpp autotoolsdriver.cpp autotoo
parser: parser:
cd $(srcdir) ; \ cd $(srcdir) ; \
bison -d autotools.yy -o autotools_yacc.cpp ; \ bison -d autotools.yy -o autotools_yacc.cpp ; \
mv -f autotools_yacc.hpp autotools_yacc.h ; \ mv -f autotools_yacc.h autotools_yacc.h ; \
flex -oautotools_lex.cpp autotools.ll flex -oautotools_lex.cpp autotools.ll
EXTRA_DIST = autotools.yy autotools.ll EXTRA_DIST = autotools.yy autotools.ll

@ -33,16 +33,16 @@
version 2.2 of Bison. */ version 2.2 of Bison. */
/** /**
** \file location.hh ** \file location.h
** Define the TQMake::location class. ** Define the TQMake::location class.
*/ */
#ifndef BISON_LOCATION_HH #ifndef BISON_LOCATION_H
# define BISON_LOCATION_HH # define BISON_LOCATION_H
# include <iostream> # include <iostream>
# include <string> # include <string>
# include "position.hh" # include "position.h"
namespace TQMake namespace TQMake
{ {
@ -142,4 +142,4 @@ namespace TQMake
} }
#endif // not BISON_LOCATION_HH #endif // not BISON_LOCATION_H

@ -33,12 +33,12 @@
version 2.2 of Bison. */ version 2.2 of Bison. */
/** /**
** \file position.hh ** \file position.h
** Define the TQMake::position class. ** Define the TQMake::position class.
*/ */
#ifndef BISON_POSITION_HH #ifndef BISON_POSITION_H
# define BISON_POSITION_HH # define BISON_POSITION_H
# include <iostream> # include <iostream>
# include <string> # include <string>
@ -139,4 +139,4 @@ namespace TQMake
} }
} }
#endif // not BISON_POSITION_HH #endif // not BISON_POSITION_H

@ -109,7 +109,7 @@ Don't forget to uncomment "yydebug = 1" line in qmakedriver.cpp.
*/ */
%} %}
%skeleton "lalr1.cc" %skeleton "lalr1.cpp"
%define "parser_class_name" "Parser" %define "parser_class_name" "Parser"
%name-prefix="QMake" %name-prefix="QMake"
%parse-param { QMake::Lexer* lexer } %parse-param { QMake::Lexer* lexer }

@ -20,7 +20,7 @@
#ifndef TQMAKE_LEX_H #ifndef TQMAKE_LEX_H
#define TQMAKE_LEX_H #define TQMAKE_LEX_H
#include "qmake_yacc.hpp" #include "qmake_yacc.h"
#include <iostream> #include <iostream>
#ifndef DONT_INCLUDE_FLEXLEXER #ifndef DONT_INCLUDE_FLEXLEXER

@ -35,12 +35,12 @@
// Take the name prefix into account. // Take the name prefix into account.
#define yylex TQMakelex #define yylex TQMakelex
#include "qmake_yacc.hpp" #include "qmake_yacc.h"
/* User implementation prologue. */ /* User implementation prologue. */
/* Line 317 of lalr1.cc. */ /* Line 317 of lalr1.cpp. */
#line 45 "tqmake_yacc.cpp" #line 45 "tqmake_yacc.cpp"
#ifndef YY_ #ifndef YY_
@ -751,7 +751,7 @@ namespace TQMake
break; break;
/* Line 675 of lalr1.cc. */ /* Line 675 of lalr1.cpp. */
#line 756 "tqmake_yacc.cpp" #line 756 "tqmake_yacc.cpp"
default: break; default: break;
} }

@ -39,7 +39,7 @@
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "stack.hh" #include "stack.h"
namespace TQMake namespace TQMake
{ {
@ -160,10 +160,10 @@ Don't forget to uncomment "yydebug = 1" line in qmakedriver.cpp.
*/ */
/* Line 35 of lalr1.cc. */ /* Line 35 of lalr1.cpp. */
#line 165 "qmake_yacc.hpp" #line 165 "qmake_yacc.h"
#include "location.hh" #include "location.h"
/* Enabling traces. */ /* Enabling traces. */
#ifndef YYDEBUG #ifndef YYDEBUG

@ -28,7 +28,7 @@
#include <sstream> #include <sstream>
#include "qmake_lex.h" #include "qmake_lex.h"
#include "qmake_yacc.hpp" #include "qmake_yacc.h"
namespace TQMake { namespace TQMake {

@ -32,8 +32,8 @@
This special exception was added by the Free Software Foundation in This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */ version 2.2 of Bison. */
#ifndef BISON_STACK_HH #ifndef BISON_STACK_H
# define BISON_STACK_HH # define BISON_STACK_H
#include <deque> #include <deque>
@ -126,4 +126,4 @@ namespace TQMake
}; };
} }
#endif // not BISON_STACK_HH #endif // not BISON_STACK_H

@ -1,7 +1,7 @@
#ifndef ADAAST_HPP #ifndef ADAAST_HPP
#define ADAAST_HPP #define ADAAST_HPP
#include <antlr/CommonAST.hpp> #include <antlr/CommonAST.h>
class AdaAST; class AdaAST;
typedef antlr::ASTRefCount<AdaAST> RefAdaAST; typedef antlr::ASTRefCount<AdaAST> RefAdaAST;

@ -1,12 +1,12 @@
/* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaLexer.cpp"$ */ /* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaLexer.cpp"$ */
#include "AdaLexer.hpp" #include "AdaLexer.h"
#include <antlr/CharBuffer.hpp> #include <antlr/CharBuffer.h>
#include <antlr/TokenStreamException.hpp> #include <antlr/TokenStreamException.h>
#include <antlr/TokenStreamIOException.hpp> #include <antlr/TokenStreamIOException.h>
#include <antlr/TokenStreamRecognitionException.hpp> #include <antlr/TokenStreamRecognitionException.h>
#include <antlr/CharStreamException.hpp> #include <antlr/CharStreamException.h>
#include <antlr/CharStreamIOException.hpp> #include <antlr/CharStreamIOException.h>
#include <antlr/NoViableAltForCharException.hpp> #include <antlr/NoViableAltForCharException.h>
#line 1531 "ada.g" #line 1531 "ada.g"

@ -1,20 +1,20 @@
#ifndef INC_AdaLexer_hpp_ #ifndef INC_AdaLexer_h_
#define INC_AdaLexer_hpp_ #define INC_AdaLexer_h_
#line 29 "ada.g" #line 29 "ada.g"
#include <antlr/SemanticException.hpp> // antlr wants this #include <antlr/SemanticException.h> // antlr wants this
#include "AdaAST.hpp" #include "AdaAST.h"
#include "preambles.h" #include "preambles.h"
#line 11 "AdaLexer.hpp" #line 11 "AdaLexer.h"
#include <antlr/config.hpp> #include <antlr/config.h>
/* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaLexer.hpp"$ */ /* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaLexer.h"$ */
#include <antlr/CommonToken.hpp> #include <antlr/CommonToken.h>
#include <antlr/InputBuffer.hpp> #include <antlr/InputBuffer.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#include "AdaTokenTypes.hpp" #include "AdaTokenTypes.h"
#include <antlr/CharScanner.hpp> #include <antlr/CharScanner.h>
class CUSTOM_API AdaLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public AdaTokenTypes class CUSTOM_API AdaLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public AdaTokenTypes
{ {
#line 1879 "ada.g" #line 1879 "ada.g"
@ -22,7 +22,7 @@ class CUSTOM_API AdaLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public
ANTLR_LEXER_PREAMBLE ANTLR_LEXER_PREAMBLE
private: private:
bool lastTokenWasTicCompatible; bool lastTokenWasTicCompatible;
#line 22 "AdaLexer.hpp" #line 22 "AdaLexer.h"
private: private:
void initLiterals(); void initLiterals();
public: public:
@ -83,4 +83,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3;
}; };
#endif /*INC_AdaLexer_hpp_*/ #endif /*INC_AdaLexer_h_*/

@ -1,8 +1,8 @@
/* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaParser.cpp"$ */ /* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaParser.cpp"$ */
#include "AdaParser.hpp" #include "AdaParser.h"
#include <antlr/NoViableAltException.hpp> #include <antlr/NoViableAltException.h>
#include <antlr/SemanticException.hpp> #include <antlr/SemanticException.h>
#include <antlr/ASTFactory.hpp> #include <antlr/ASTFactory.h>
#line 1 "ada.g" #line 1 "ada.g"
#line 8 "AdaParser.cpp" #line 8 "AdaParser.cpp"
AdaParser::AdaParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k) AdaParser::AdaParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k)

@ -1,19 +1,19 @@
#ifndef INC_AdaParser_hpp_ #ifndef INC_AdaParser_h_
#define INC_AdaParser_hpp_ #define INC_AdaParser_h_
#line 29 "ada.g" #line 29 "ada.g"
#include <antlr/SemanticException.hpp> // antlr wants this #include <antlr/SemanticException.h> // antlr wants this
#include "AdaAST.hpp" #include "AdaAST.h"
#include "preambles.h" #include "preambles.h"
#line 11 "AdaParser.hpp" #line 11 "AdaParser.h"
#include <antlr/config.hpp> #include <antlr/config.h>
/* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaParser.hpp"$ */ /* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaParser.h"$ */
#include <antlr/TokenStream.hpp> #include <antlr/TokenStream.h>
#include <antlr/TokenBuffer.hpp> #include <antlr/TokenBuffer.h>
#include "AdaTokenTypes.hpp" #include "AdaTokenTypes.h"
#include <antlr/LLkParser.hpp> #include <antlr/LLkParser.h>
class CUSTOM_API AdaParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public AdaTokenTypes class CUSTOM_API AdaParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public AdaTokenTypes
{ {
@ -28,7 +28,7 @@ public:
bool end_id_matches_def_id (const RefAdaAST& endid); bool end_id_matches_def_id (const RefAdaAST& endid);
bool definable_operator (const char *string); // operator_symbol sans "/=" bool definable_operator (const char *string); // operator_symbol sans "/="
bool is_operator_symbol (const char *string); bool is_operator_symbol (const char *string);
#line 22 "AdaParser.hpp" #line 22 "AdaParser.h"
public: public:
void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory ); void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
protected: protected:
@ -386,4 +386,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_30; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_30;
}; };
#endif /*INC_AdaParser_hpp_*/ #endif /*INC_AdaParser_h_*/

@ -1,11 +1,11 @@
/* $ANTLR 2.7.7 (20070609): "expandedada.store.g" -> "AdaStoreWalker.cpp"$ */ /* $ANTLR 2.7.7 (20070609): "expandedada.store.g" -> "AdaStoreWalker.cpp"$ */
#include "AdaStoreWalker.hpp" #include "AdaStoreWalker.h"
#include <antlr/Token.hpp> #include <antlr/Token.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include <antlr/NoViableAltException.hpp> #include <antlr/NoViableAltException.h>
#include <antlr/MismatchedTokenException.hpp> #include <antlr/MismatchedTokenException.h>
#include <antlr/SemanticException.hpp> #include <antlr/SemanticException.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#line 1 "expandedada.store.g" #line 1 "expandedada.store.g"
#line 11 "AdaStoreWalker.cpp" #line 11 "AdaStoreWalker.cpp"
AdaStoreWalker::AdaStoreWalker() AdaStoreWalker::AdaStoreWalker()

@ -1,5 +1,5 @@
#ifndef INC_AdaStoreWalker_hpp_ #ifndef INC_AdaStoreWalker_h_
#define INC_AdaStoreWalker_hpp_ #define INC_AdaStoreWalker_h_
#line 1 "expandedada.store.g" #line 1 "expandedada.store.g"
@ -8,21 +8,21 @@
#include <tqfileinfo.h> #include <tqfileinfo.h>
#include <codemodel.h> #include <codemodel.h>
#include "AdaAST.hpp" #include "AdaAST.h"
#include "ada_utils.hpp" #include "ada_utils.h"
#line 15 "AdaStoreWalker.hpp" #line 15 "AdaStoreWalker.h"
#include <antlr/config.hpp> #include <antlr/config.h>
#include "AdaStoreWalkerTokenTypes.hpp" #include "AdaStoreWalkerTokenTypes.h"
/* $ANTLR 2.7.7 (20070609): "expandedada.store.g" -> "AdaStoreWalker.hpp"$ */ /* $ANTLR 2.7.7 (20070609): "expandedada.store.g" -> "AdaStoreWalker.h"$ */
#include <antlr/TreeParser.hpp> #include <antlr/TreeParser.h>
#line 10 "expandedada.store.g" #line 10 "expandedada.store.g"
#include <codemodel.h> #include <codemodel.h>
#include <kdebug.h> #include <kdebug.h>
#line 26 "AdaStoreWalker.hpp" #line 26 "AdaStoreWalker.h"
class CUSTOM_API AdaStoreWalker : public ANTLR_USE_NAMESPACE(antlr)TreeParser, public AdaStoreWalkerTokenTypes class CUSTOM_API AdaStoreWalker : public ANTLR_USE_NAMESPACE(antlr)TreeParser, public AdaStoreWalkerTokenTypes
{ {
#line 25 "expandedada.store.g" #line 25 "expandedada.store.g"
@ -116,7 +116,7 @@ public:
// kdDebug() << "defineScope return" << endl; // kdDebug() << "defineScope return" << endl;
return psc; return psc;
} }
#line 30 "AdaStoreWalker.hpp" #line 30 "AdaStoreWalker.h"
public: public:
AdaStoreWalker(); AdaStoreWalker();
static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory ); static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
@ -347,4 +347,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4;
}; };
#endif /*INC_AdaStoreWalker_hpp_*/ #endif /*INC_AdaStoreWalker_h_*/

@ -1,7 +1,7 @@
#ifndef INC_AdaStoreWalkerTokenTypes_hpp_ #ifndef INC_AdaStoreWalkerTokenTypes_h_
#define INC_AdaStoreWalkerTokenTypes_hpp_ #define INC_AdaStoreWalkerTokenTypes_h_
/* $ANTLR 2.7.7 (20070609): "expandedada.store.g" -> "AdaStoreWalkerTokenTypes.hpp"$ */ /* $ANTLR 2.7.7 (20070609): "expandedada.store.g" -> "AdaStoreWalkerTokenTypes.h"$ */
#ifndef CUSTOM_API #ifndef CUSTOM_API
# define CUSTOM_API # define CUSTOM_API
@ -304,4 +304,4 @@ struct CUSTOM_API AdaStoreWalkerTokenTypes {
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /*INC_AdaStoreWalkerTokenTypes_hpp_*/ #endif /*INC_AdaStoreWalkerTokenTypes_h_*/

@ -1,7 +1,7 @@
#ifndef INC_AdaTokenTypes_hpp_ #ifndef INC_AdaTokenTypes_h_
#define INC_AdaTokenTypes_hpp_ #define INC_AdaTokenTypes_h_
/* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaTokenTypes.hpp"$ */ /* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaTokenTypes.h"$ */
#ifndef CUSTOM_API #ifndef CUSTOM_API
# define CUSTOM_API # define CUSTOM_API
@ -303,4 +303,4 @@ struct CUSTOM_API AdaTokenTypes {
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /*INC_AdaTokenTypes_hpp_*/ #endif /*INC_AdaTokenTypes_h_*/

@ -1,11 +1,11 @@
/* $ANTLR 2.7.7 (20070609): "ada.tree.g" -> "AdaTreeParserSuper.cpp"$ */ /* $ANTLR 2.7.7 (20070609): "ada.tree.g" -> "AdaTreeParserSuper.cpp"$ */
#include "AdaTreeParserSuper.hpp" #include "AdaTreeParserSuper.h"
#include <antlr/Token.hpp> #include <antlr/Token.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include <antlr/NoViableAltException.hpp> #include <antlr/NoViableAltException.h>
#include <antlr/MismatchedTokenException.hpp> #include <antlr/MismatchedTokenException.h>
#include <antlr/SemanticException.hpp> #include <antlr/SemanticException.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#line 1 "ada.tree.g" #line 1 "ada.tree.g"
#line 11 "AdaTreeParserSuper.cpp" #line 11 "AdaTreeParserSuper.cpp"
AdaTreeParserSuper::AdaTreeParserSuper() AdaTreeParserSuper::AdaTreeParserSuper()

@ -1,15 +1,15 @@
#ifndef INC_AdaTreeParserSuper_hpp_ #ifndef INC_AdaTreeParserSuper_h_
#define INC_AdaTreeParserSuper_hpp_ #define INC_AdaTreeParserSuper_h_
#include <antlr/config.hpp> #include <antlr/config.h>
#include "AdaTreeParserSuperTokenTypes.hpp" #include "AdaTreeParserSuperTokenTypes.h"
/* $ANTLR 2.7.7 (20070609): "ada.tree.g" -> "AdaTreeParserSuper.hpp"$ */ /* $ANTLR 2.7.7 (20070609): "ada.tree.g" -> "AdaTreeParserSuper.h"$ */
#include <antlr/TreeParser.hpp> #include <antlr/TreeParser.h>
class CUSTOM_API AdaTreeParserSuper : public ANTLR_USE_NAMESPACE(antlr)TreeParser, public AdaTreeParserSuperTokenTypes class CUSTOM_API AdaTreeParserSuper : public ANTLR_USE_NAMESPACE(antlr)TreeParser, public AdaTreeParserSuperTokenTypes
{ {
#line 1 "ada.tree.g" #line 1 "ada.tree.g"
#line 13 "AdaTreeParserSuper.hpp" #line 13 "AdaTreeParserSuper.h"
public: public:
AdaTreeParserSuper(); AdaTreeParserSuper();
static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory ); static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
@ -238,4 +238,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4;
}; };
#endif /*INC_AdaTreeParserSuper_hpp_*/ #endif /*INC_AdaTreeParserSuper_h_*/

@ -1,7 +1,7 @@
#ifndef INC_AdaTreeParserSuperTokenTypes_hpp_ #ifndef INC_AdaTreeParserSuperTokenTypes_h_
#define INC_AdaTreeParserSuperTokenTypes_hpp_ #define INC_AdaTreeParserSuperTokenTypes_h_
/* $ANTLR 2.7.7 (20070609): "ada.tree.g" -> "AdaTreeParserSuperTokenTypes.hpp"$ */ /* $ANTLR 2.7.7 (20070609): "ada.tree.g" -> "AdaTreeParserSuperTokenTypes.h"$ */
#ifndef CUSTOM_API #ifndef CUSTOM_API
# define CUSTOM_API # define CUSTOM_API
@ -304,4 +304,4 @@ struct CUSTOM_API AdaTreeParserSuperTokenTypes {
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /*INC_AdaTreeParserSuperTokenTypes_hpp_*/ #endif /*INC_AdaTreeParserSuperTokenTypes_h_*/

@ -20,13 +20,13 @@ EXTRA_DIST = ada.g ada.tree.g ada.store.g
## The following three rules assume that you have Java installed, ## The following three rules assume that you have Java installed,
## ANTLR installed, and you have the antlr jar in your CLASSPATH. ## ANTLR installed, and you have the antlr jar in your CLASSPATH.
#AdaLexer.hpp AdaLexer.cpp AdaParser.hpp AdaParser.cpp: ada.g #AdaLexer.h AdaLexer.cpp AdaParser.h AdaParser.cpp: ada.g
# antlr ada.g # antlr ada.g
#AdaTreeParserSuper.hpp AdaTreeParserSuper.cpp: ada.tree.g #AdaTreeParserSuper.h AdaTreeParserSuper.cpp: ada.tree.g
# antlr ada.tree.g # antlr ada.tree.g
#AdaStoreWalker.hpp AdaStoreWalker.cpp: ada.store.g #AdaStoreWalker.h AdaStoreWalker.cpp: ada.store.g
# antlr -glib ada.tree.g ada.store.g # antlr -glib ada.tree.g ada.store.g
genparser: genparser:

@ -2,10 +2,10 @@
Ada Language Support Ada Language Support
The ANTLR Ada core support files are: The ANTLR Ada core support files are:
- ada.g -- contains AdaLexer and AdaParser, requires AdaAST.hpp and adasupport.cpp - ada.g -- contains AdaLexer and AdaParser, requires AdaAST.h and adasupport.cpp
- ada.tree.g -- contains the AdaTreeParserSuper - ada.tree.g -- contains the AdaTreeParserSuper
- AdaAST.hpp -- definition of the AST node used by ada.g - AdaAST.h -- definition of the AST node used by ada.g
- adasupport.hpp -- general purpose utilities - adasupport.h -- general purpose utilities
- adasupport.cpp -- implementation of general purpose utilities and implementation of AdaParser class methods from ada.g - adasupport.cpp -- implementation of general purpose utilities and implementation of AdaParser class methods from ada.g
These are ANTLR master files. These are ANTLR master files.

@ -27,8 +27,8 @@
header "pre_include_hpp" { header "pre_include_hpp" {
#include <antlr/SemanticException.hpp> // antlr wants this #include <antlr/SemanticException.h> // antlr wants this
#include "AdaAST.hpp" #include "AdaAST.h"
#include "preambles.h" #include "preambles.h"
} }

@ -9,8 +9,8 @@ header "pre_include_hpp" {
#include <qfileinfo.h> #include <qfileinfo.h>
#include <codemodel.h> #include <codemodel.h>
#include "AdaAST.hpp" #include "AdaAST.h"
#include "ada_utils.hpp" #include "ada_utils.h"
} }
header "post_include_hpp" { header "post_include_hpp" {

@ -11,8 +11,8 @@
#include <kdebug.h> #include <kdebug.h>
#include "ada_utils.hpp" #include "ada_utils.h"
#include "adasupport.hpp" #include "adasupport.h"
TQString qtext (const RefAdaAST& n) TQString qtext (const RefAdaAST& n)
{ {

@ -4,7 +4,7 @@
#define ADA_UTILS_H #define ADA_UTILS_H
#include <tqstring.h> #include <tqstring.h>
#include "AdaAST.hpp" #include "AdaAST.h"
TQString qtext (const RefAdaAST& n); TQString qtext (const RefAdaAST& n);
TQStringList qnamelist (const RefAdaAST& n); TQStringList qnamelist (const RefAdaAST& n);

@ -4,10 +4,10 @@
#include <stdlib.h> #include <stdlib.h>
#include <stack> #include <stack>
#include <string> #include <string>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include "AdaParser.hpp" #include "AdaParser.h"
#include "AdaTokenTypes.hpp" #include "AdaTokenTypes.h"
#include "adasupport.hpp" #include "adasupport.h"
#define eq !strcmp #define eq !strcmp

@ -4,7 +4,7 @@
#define ADASUPPORT_H #define ADASUPPORT_H
#include <string> #include <string>
#include "AdaAST.hpp" #include "AdaAST.h"
std::string text (const RefAdaAST& n); std::string text (const RefAdaAST& n);
int txteq (RefAdaAST n1, RefAdaAST n2); int txteq (RefAdaAST n1, RefAdaAST n2);

@ -28,10 +28,10 @@
#include "problemreporter.h" #include "problemreporter.h"
#include "backgroundparser.h" #include "backgroundparser.h"
#include "AdaLexer.hpp" #include "AdaLexer.h"
#include "AdaParser.hpp" #include "AdaParser.h"
#include "AdaStoreWalker.hpp" #include "AdaStoreWalker.h"
#include "AdaAST.hpp" #include "AdaAST.h"
#include <kdevplugininfo.h> #include <kdevplugininfo.h>

@ -11,9 +11,9 @@
#include "backgroundparser.h" #include "backgroundparser.h"
#include "problemreporter.h" #include "problemreporter.h"
#include "AdaLexer.hpp" #include "AdaLexer.h"
#include "AdaParser.hpp" #include "AdaParser.h"
#include "AdaAST.hpp" #include "AdaAST.h"
#include <kdebug.h> #include <kdebug.h>
#include <tqfile.h> #include <tqfile.h>

@ -1,7 +1,7 @@
dataFiles = acconfig.h autogen.sh gnome2mm.glade main_window.cc \ dataFiles = acconfig.h autogen.sh gnome2mm.glade main_window.cpp \
main_window_glade.hh Makefile.am app-Makefile.am \ main_window_glade.h Makefile.am app-Makefile.am \
configure.in gnome2mm.gladep main_window.hh \ configure.in gnome2mm.gladep main_window.h \
app.kdevelop gnome2mm.cc gnome2mmapp main_window_glade.cc\ app.kdevelop gnome2mm.cpp gnome2mmapp main_window_glade.cpp\
src-Makefile.am config.h gnome2mmapp.png src-Makefile.am config.h gnome2mmapp.png
templateName = gnome2mmapp templateName = gnome2mmapp

@ -4,7 +4,7 @@
#include <gnome--/main.h> #include <gnome--/main.h>
#include <libgnome/gnome-i18n.h> #include <libgnome/gnome-i18n.h>
#include "main_window.hh" #include "main_window.h"
int main(int argc, char **argv) int main(int argc, char **argv)
{ {

@ -75,28 +75,28 @@ Dest=%{dest}/src/Makefile.am
[FILE10] [FILE10]
Type=install Type=install
Source=%{src}/gnome2mm.cc Source=%{src}/gnome2mm.cpp
Dest=%{dest}/src/%{APPNAMELC}.cc Dest=%{dest}/src/%{APPNAMELC}.cpp
[FILE11] [FILE11]
Type=install Type=install
Source=%{src}/main_window.hh Source=%{src}/main_window.h
Dest=%{dest}/src/main_window.hh Dest=%{dest}/src/main_window.h
[FILE12] [FILE12]
Type=install Type=install
Source=%{src}/main_window.cc Source=%{src}/main_window.cpp
Dest=%{dest}/src/main_window.cc Dest=%{dest}/src/main_window.cpp
[FILE13] [FILE13]
Type=install Type=install
Source=%{src}/main_window_glade.hh Source=%{src}/main_window_glade.h
Dest=%{dest}/src/main_window_glade.hh Dest=%{dest}/src/main_window_glade.h
[FILE14] [FILE14]
Type=install Type=install
Source=%{src}/main_window_glade.cc Source=%{src}/main_window_glade.cpp
Dest=%{dest}/src/main_window_glade.cc Dest=%{dest}/src/main_window_glade.cpp
[MSG] [MSG]
Type=message Type=message

@ -1,11 +1,9 @@
%{CC_TEMPLATE} %{CC_TEMPLATE}
// newer (non customized) versions of this file go to main_window.cc_new
// This file is for your program, I won't touch it again! // This file is for your program, I won't touch it again!
#include "config.h" #include "config.h"
#include "main_window.hh" #include "main_window.h"
#include <gtk--/main.h> #include <gtk--/main.h>

@ -1,16 +1,14 @@
%{HH_TEMPLATE} %{HH_TEMPLATE}
// newer (non customized) versions of this file go to main_window.hh_new
// you might replace // you might replace
// class foo : public foo_glade { ... }; // class foo : public foo_glade { ... };
// by // by
// typedef foo_glade foo; // typedef foo_glade foo;
// if you didn't make any modifications to the widget // if you didn't make any modifications to the widget
#ifndef _MAIN_WINDOW_HH #ifndef _MAIN_WINDOW_H
# include "main_window_glade.hh" # include "main_window_glade.h"
# define _MAIN_WINDOW_HH # define _MAIN_WINDOW_H
class main_window : public main_window_glade class main_window : public main_window_glade
{ {
protected: protected:

@ -4,11 +4,11 @@
// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade // glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade
// for gtk 2.2.4 and gtkmm 1.2.10 // for gtk 2.2.4 and gtkmm 1.2.10
// //
// Please modify the corresponding derived classes in ./src/main_window.cc // Please modify the corresponding derived classes in ./src/main_window.cpp
#include "config.h" #include "config.h"
#include <libgnome/libgnome.h> #include <libgnome/libgnome.h>
#include "main_window_glade.hh" #include "main_window_glade.h"
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include <gtk--/accelgroup.h> #include <gtk--/accelgroup.h>

@ -4,10 +4,10 @@
// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade // glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade
// for gtk 2.2.4 and gtkmm 1.2.10 // for gtk 2.2.4 and gtkmm 1.2.10
// //
// Please modify the corresponding derived classes in ./src/main_window.hh and./src/main_window.cc // Please modify the corresponding derived classes in ./src/main_window.h and./src/main_window.cpp
#ifndef _MAIN_WINDOW_GLADE_HH #ifndef _MAIN_WINDOW_GLADE_H
# define _MAIN_WINDOW_GLADE_HH # define _MAIN_WINDOW_GLADE_H
#if !defined(GLADEMM_DATA) #if !defined(GLADEMM_DATA)

@ -1,13 +1,13 @@
bin_PROGRAMS = %{APPNAMELC} bin_PROGRAMS = %{APPNAMELC}
%{APPNAMELC}_SOURCES = \ %{APPNAMELC}_SOURCES = \
%{APPNAMELC}.cc\ %{APPNAMELC}.cpp\
main_window_glade.cc \ main_window_glade.cpp \
main_window.cc main_window.cpp
noinst_HEADERS = \ noinst_HEADERS = \
main_window_glade.hh \ main_window_glade.h \
main_window.hh main_window.h
AM_CXXFLAGS = @CXXFLAGS@ @GNOMEMM_CFLAGS@ AM_CXXFLAGS = @CXXFLAGS@ @GNOMEMM_CFLAGS@

@ -10,10 +10,10 @@
################################################# #################################################
set( _tarball_content set( _tarball_content
acconfig.h autogen.sh gtk2mm.glade main_window.cc acconfig.h autogen.sh gtk2mm.glade main_window.cpp
main_window_glade.hh Makefile.am app-Makefile.am main_window_glade.h Makefile.am app-Makefile.am
configure.in gtk2mm.gladep main_window.hh app.kdevelop configure.in gtk2mm.gladep main_window.h app.kdevelop
gtk2mm.cc main_window_glade.cc src-Makefile.am config.h gtk2mm.cpp main_window_glade.cpp src-Makefile.am config.h
gtk2mmapp.png gtk2mmapp.png
) )
list( SORT _tarball_content ) list( SORT _tarball_content )

@ -1,7 +1,7 @@
dataFiles = acconfig.h autogen.sh gtk2mm.glade main_window.cc \ dataFiles = acconfig.h autogen.sh gtk2mm.glade main_window.cpp \
main_window_glade.hh Makefile.am app-Makefile.am \ main_window_glade.h Makefile.am app-Makefile.am \
configure.in gtk2mm.gladep main_window.hh \ configure.in gtk2mm.gladep main_window.h \
app.kdevelop gtk2mm.cc main_window_glade.cc\ app.kdevelop gtk2mm.cpp main_window_glade.cpp\
src-Makefile.am config.h gtk2mmapp.png src-Makefile.am config.h gtk2mmapp.png
templateName = gtk2mmapp templateName = gtk2mmapp

@ -2,7 +2,7 @@
#include <gtkmm/main.h> #include <gtkmm/main.h>
#include "main_window.hh" #include "main_window.h"
int main(int argc, char **argv) int main(int argc, char **argv)
{ {

@ -71,28 +71,28 @@ Dest=%{dest}/src/Makefile.am
[FILE10] [FILE10]
Type=install Type=install
Source=%{src}/gtk2mm.cc Source=%{src}/gtk2mm.cpp
Dest=%{dest}/src/%{APPNAMELC}.cc Dest=%{dest}/src/%{APPNAMELC}.cpp
[FILE11] [FILE11]
Type=install Type=install
Source=%{src}/main_window.hh Source=%{src}/main_window.h
Dest=%{dest}/src/main_window.hh Dest=%{dest}/src/main_window.h
[FILE12] [FILE12]
Type=install Type=install
Source=%{src}/main_window.cc Source=%{src}/main_window.cpp
Dest=%{dest}/src/main_window.cc Dest=%{dest}/src/main_window.cpp
[FILE13] [FILE13]
Type=install Type=install
Source=%{src}/main_window_glade.hh Source=%{src}/main_window_glade.h
Dest=%{dest}/src/main_window_glade.hh Dest=%{dest}/src/main_window_glade.h
[FILE14] [FILE14]
Type=install Type=install
Source=%{src}/main_window_glade.cc Source=%{src}/main_window_glade.cpp
Dest=%{dest}/src/main_window_glade.cc Dest=%{dest}/src/main_window_glade.cpp
[MSG] [MSG]
Type=message Type=message

@ -1,11 +1,9 @@
%{CC_TEMPLATE} %{CC_TEMPLATE}
// newer (non customized) versions of this file go to main_window.cc_new
// This file is for your program, I won't touch it again! // This file is for your program, I won't touch it again!
#include "config.h" #include "config.h"
#include "main_window.hh" #include "main_window.h"
bool main_window::quit(GdkEventAny *ev) bool main_window::quit(GdkEventAny *ev)
{ return 0; { return 0;

@ -1,16 +1,14 @@
%{HH_TEMPLATE} %{HH_TEMPLATE}
// newer (non customized) versions of this file go to main_window.hh_new
// you might replace // you might replace
// class foo : public foo_glade { ... }; // class foo : public foo_glade { ... };
// by // by
// typedef foo_glade foo; // typedef foo_glade foo;
// if you didn't make any modifications to the widget // if you didn't make any modifications to the widget
#ifndef _MAIN_WINDOW_HH #ifndef _MAIN_WINDOW_H
# include "main_window_glade.hh" # include "main_window_glade.h"
# define _MAIN_WINDOW_HH # define _MAIN_WINDOW_H
class main_window : public main_window_glade class main_window : public main_window_glade
{ {

@ -3,7 +3,7 @@
// DO NOT EDIT THIS FILE ! It was created using glade-- // DO NOT EDIT THIS FILE ! It was created using glade--
// for gtk 2.8.3 and gtkmm 2.8.0 // for gtk 2.8.3 and gtkmm 2.8.0
// //
// Please modify the corresponding derived classes in ./src/main_window.cc // Please modify the corresponding derived classes in ./src/main_window.cpp
#if defined __GNUC__ && __GNUC__ < 3 #if defined __GNUC__ && __GNUC__ < 3
@ -18,7 +18,7 @@
#else //gtkmm 2.2 #else //gtkmm 2.2
#define GMM_GTKMM_22_24(a,b) a #define GMM_GTKMM_22_24(a,b) a
#endif // #endif //
#include "main_window_glade.hh" #include "main_window_glade.h"
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include <gtkmm/accelgroup.h> #include <gtkmm/accelgroup.h>

@ -3,10 +3,10 @@
// DO NOT EDIT THIS FILE ! It was created using glade-- // DO NOT EDIT THIS FILE ! It was created using glade--
// for gtk 2.8.3 and gtkmm 2.8.0 // for gtk 2.8.3 and gtkmm 2.8.0
// //
// Please modify the corresponding derived classes in ./src/main_window.hh and./src/main_window.cc // Please modify the corresponding derived classes in ./src/main_window.h and./src/main_window.cpp
#ifndef _MAIN_WINDOW_GLADE_HH #ifndef _MAIN_WINDOW_GLADE_H
# define _MAIN_WINDOW_GLADE_HH # define _MAIN_WINDOW_GLADE_H
#if !defined(GLADEMM_DATA) #if !defined(GLADEMM_DATA)

@ -1,13 +1,13 @@
bin_PROGRAMS = %{APPNAMELC} bin_PROGRAMS = %{APPNAMELC}
%{APPNAMELC}_SOURCES = \ %{APPNAMELC}_SOURCES = \
%{APPNAMELC}.cc\ %{APPNAMELC}.cpp\
main_window_glade.cc \ main_window_glade.cpp \
main_window.cc main_window.cpp
noinst_HEADERS = \ noinst_HEADERS = \
main_window_glade.hh \ main_window_glade.h \
main_window.hh main_window.h
AM_CXXFLAGS = @CXXFLAGS@ @GTKMM_CFLAGS@ AM_CXXFLAGS = @CXXFLAGS@ @GTKMM_CFLAGS@

@ -1,8 +1,8 @@
#ifndef JAVAAST_HPP #ifndef JAVAAST_HPP
#define JAVAAST_HPP #define JAVAAST_HPP
#include <antlr/CommonAST.hpp> #include <antlr/CommonAST.h>
#include <antlr/ASTFactory.hpp> #include <antlr/ASTFactory.h>
class JavaAST; class JavaAST;
typedef ANTLR_USE_NAMESPACE(antlr)ASTRefCount<JavaAST> RefJavaAST; typedef ANTLR_USE_NAMESPACE(antlr)ASTRefCount<JavaAST> RefJavaAST;

@ -1,12 +1,12 @@
/* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaLexer.cpp"$ */ /* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaLexer.cpp"$ */
#include "JavaLexer.hpp" #include "JavaLexer.h"
#include <antlr/CharBuffer.hpp> #include <antlr/CharBuffer.h>
#include <antlr/TokenStreamException.hpp> #include <antlr/TokenStreamException.h>
#include <antlr/TokenStreamIOException.hpp> #include <antlr/TokenStreamIOException.h>
#include <antlr/TokenStreamRecognitionException.hpp> #include <antlr/TokenStreamRecognitionException.h>
#include <antlr/CharStreamException.hpp> #include <antlr/CharStreamException.h>
#include <antlr/CharStreamIOException.hpp> #include <antlr/CharStreamIOException.h>
#include <antlr/NoViableAltForCharException.hpp> #include <antlr/NoViableAltForCharException.h>
#line 1041 "java.g" #line 1041 "java.g"

@ -1,10 +1,10 @@
#ifndef INC_JavaLexer_hpp_ #ifndef INC_JavaLexer_h_
#define INC_JavaLexer_hpp_ #define INC_JavaLexer_h_
#line 2 "java.g" #line 2 "java.g"
#include "driver.h" #include "driver.h"
#include "JavaAST.hpp" #include "JavaAST.h"
#include <tqlistview.h> #include <tqlistview.h>
#include <kdebug.h> #include <kdebug.h>
@ -15,14 +15,14 @@
RefJavaAST(ast)->setColumn( t->getColumn() ); \ RefJavaAST(ast)->setColumn( t->getColumn() ); \
} }
#line 19 "JavaLexer.hpp" #line 19 "JavaLexer.h"
#include <antlr/config.hpp> #include <antlr/config.h>
/* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaLexer.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaLexer.h"$ */
#include <antlr/CommonToken.hpp> #include <antlr/CommonToken.h>
#include <antlr/InputBuffer.hpp> #include <antlr/InputBuffer.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#include "JavaTokenTypes.hpp" #include "JavaTokenTypes.h"
#include <antlr/CharScanner.hpp> #include <antlr/CharScanner.h>
class CUSTOM_API JavaLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public JavaTokenTypes class CUSTOM_API JavaLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public JavaTokenTypes
{ {
#line 1058 "java.g" #line 1058 "java.g"
@ -45,7 +45,7 @@ public:
virtual void reportWarning( const ANTLR_USE_NAMESPACE(std)string& warnMessage ){ virtual void reportWarning( const ANTLR_USE_NAMESPACE(std)string& warnMessage ){
m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(warnMessage.c_str()), getLine(), getColumn()) ); m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(warnMessage.c_str()), getLine(), getColumn()) );
} }
#line 30 "JavaLexer.hpp" #line 30 "JavaLexer.h"
private: private:
void initLiterals(); void initLiterals();
public: public:
@ -129,4 +129,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4;
}; };
#endif /*INC_JavaLexer_hpp_*/ #endif /*INC_JavaLexer_h_*/

@ -1,8 +1,8 @@
/* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaRecognizer.cpp"$ */ /* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaRecognizer.cpp"$ */
#include "JavaRecognizer.hpp" #include "JavaRecognizer.h"
#include <antlr/NoViableAltException.hpp> #include <antlr/NoViableAltException.h>
#include <antlr/SemanticException.hpp> #include <antlr/SemanticException.h>
#include <antlr/ASTFactory.hpp> #include <antlr/ASTFactory.h>
#line 1 "java.g" #line 1 "java.g"
#line 8 "JavaRecognizer.cpp" #line 8 "JavaRecognizer.cpp"
JavaRecognizer::JavaRecognizer(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k) JavaRecognizer::JavaRecognizer(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k)

@ -1,10 +1,10 @@
#ifndef INC_JavaRecognizer_hpp_ #ifndef INC_JavaRecognizer_h_
#define INC_JavaRecognizer_hpp_ #define INC_JavaRecognizer_h_
#line 2 "java.g" #line 2 "java.g"
#include "driver.h" #include "driver.h"
#include "JavaAST.hpp" #include "JavaAST.h"
#include <tqlistview.h> #include <tqlistview.h>
#include <kdebug.h> #include <kdebug.h>
@ -15,13 +15,13 @@
RefJavaAST(ast)->setColumn( t->getColumn() ); \ RefJavaAST(ast)->setColumn( t->getColumn() ); \
} }
#line 19 "JavaRecognizer.hpp" #line 19 "JavaRecognizer.h"
#include <antlr/config.hpp> #include <antlr/config.h>
/* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaRecognizer.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaRecognizer.h"$ */
#include <antlr/TokenStream.hpp> #include <antlr/TokenStream.h>
#include <antlr/TokenBuffer.hpp> #include <antlr/TokenBuffer.h>
#include "JavaTokenTypes.hpp" #include "JavaTokenTypes.h"
#include <antlr/LLkParser.hpp> #include <antlr/LLkParser.h>
/** Java 1.3 Recognizer /** Java 1.3 Recognizer
* *
@ -157,7 +157,7 @@ public:
void reportMessage( const ANTLR_USE_NAMESPACE(std)string& message ){ void reportMessage( const ANTLR_USE_NAMESPACE(std)string& message ){
m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(message.c_str()), LT(1)->getLine(), LT(1)->getColumn()) ); m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(message.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
} }
#line 142 "JavaRecognizer.hpp" #line 142 "JavaRecognizer.h"
public: public:
void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory ); void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
protected: protected:
@ -420,4 +420,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_66; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_66;
}; };
#endif /*INC_JavaRecognizer_hpp_*/ #endif /*INC_JavaRecognizer_h_*/

@ -1,11 +1,11 @@
/* $ANTLR 2.7.7 (20061129): "java.store.g" -> "JavaStoreWalker.cpp"$ */ /* $ANTLR 2.7.7 (20061129): "java.store.g" -> "JavaStoreWalker.cpp"$ */
#include "JavaStoreWalker.hpp" #include "JavaStoreWalker.h"
#include <antlr/Token.hpp> #include <antlr/Token.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include <antlr/NoViableAltException.hpp> #include <antlr/NoViableAltException.h>
#include <antlr/MismatchedTokenException.hpp> #include <antlr/MismatchedTokenException.h>
#include <antlr/SemanticException.hpp> #include <antlr/SemanticException.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#line 1 "java.store.g" #line 1 "java.store.g"
#line 11 "JavaStoreWalker.cpp" #line 11 "JavaStoreWalker.cpp"
JavaStoreWalker::JavaStoreWalker() JavaStoreWalker::JavaStoreWalker()

@ -1,21 +1,21 @@
#ifndef INC_JavaStoreWalker_hpp_ #ifndef INC_JavaStoreWalker_h_
#define INC_JavaStoreWalker_hpp_ #define INC_JavaStoreWalker_h_
#line 3 "java.store.g" #line 3 "java.store.g"
#include <codemodel.h> #include <codemodel.h>
#include "JavaAST.hpp" #include "JavaAST.h"
#include <tqstring.h> #include <tqstring.h>
#include <tqstringlist.h> #include <tqstringlist.h>
#include <tqvaluestack.h> #include <tqvaluestack.h>
#include <tqfileinfo.h> #include <tqfileinfo.h>
#line 15 "JavaStoreWalker.hpp" #line 15 "JavaStoreWalker.h"
#include <antlr/config.hpp> #include <antlr/config.h>
#include "JavaStoreWalkerTokenTypes.hpp" #include "JavaStoreWalkerTokenTypes.h"
/* $ANTLR 2.7.7 (20061129): "java.store.g" -> "JavaStoreWalker.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "java.store.g" -> "JavaStoreWalker.h"$ */
#include <antlr/TreeParser.hpp> #include <antlr/TreeParser.h>
#line 13 "java.store.g" #line 13 "java.store.g"
@ -23,7 +23,7 @@
#include <kdebug.h> #include <kdebug.h>
#line 27 "JavaStoreWalker.hpp" #line 27 "JavaStoreWalker.h"
/** Java 1.2 AST Recognizer Grammar /** Java 1.2 AST Recognizer Grammar
* *
* Author: * Author:
@ -70,7 +70,7 @@ public:
initializeASTFactory (ast_factory); initializeASTFactory (ast_factory);
setASTFactory (&ast_factory); setASTFactory (&ast_factory);
} }
#line 44 "JavaStoreWalker.hpp" #line 44 "JavaStoreWalker.h"
public: public:
JavaStoreWalker(); JavaStoreWalker();
static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory ); static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
@ -161,4 +161,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1;
}; };
#endif /*INC_JavaStoreWalker_hpp_*/ #endif /*INC_JavaStoreWalker_h_*/

@ -1,7 +1,7 @@
#ifndef INC_JavaStoreWalkerTokenTypes_hpp_ #ifndef INC_JavaStoreWalkerTokenTypes_h_
#define INC_JavaStoreWalkerTokenTypes_hpp_ #define INC_JavaStoreWalkerTokenTypes_h_
/* $ANTLR 2.7.7 (20061129): "java.store.g" -> "JavaStoreWalkerTokenTypes.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "java.store.g" -> "JavaStoreWalkerTokenTypes.h"$ */
#ifndef CUSTOM_API #ifndef CUSTOM_API
# define CUSTOM_API # define CUSTOM_API
@ -166,4 +166,4 @@ struct CUSTOM_API JavaStoreWalkerTokenTypes {
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /*INC_JavaStoreWalkerTokenTypes_hpp_*/ #endif /*INC_JavaStoreWalkerTokenTypes_h_*/

@ -1,7 +1,7 @@
#ifndef INC_JavaTokenTypes_hpp_ #ifndef INC_JavaTokenTypes_h_
#define INC_JavaTokenTypes_hpp_ #define INC_JavaTokenTypes_h_
/* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaTokenTypes.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaTokenTypes.h"$ */
#ifndef CUSTOM_API #ifndef CUSTOM_API
# define CUSTOM_API # define CUSTOM_API
@ -165,4 +165,4 @@ struct CUSTOM_API JavaTokenTypes {
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /*INC_JavaTokenTypes_hpp_*/ #endif /*INC_JavaTokenTypes_h_*/

@ -22,10 +22,10 @@ JavaStoreWalker.cpp javasupport_utils.cpp problemreporter.cpp driver.cpp kdevdri
EXTRA_DIST = java.g java.tree.g java.store.g EXTRA_DIST = java.g java.tree.g java.store.g
#JavaLexer.hpp JavaLexer.cpp JavaRecognizer.hpp JavaRecognizer.cpp: # java.g #JavaLexer.h JavaLexer.cpp JavaRecognizer.h JavaRecognizer.cpp: # java.g
# antlr java.g # antlr java.g
#JavaStoreWalker.hpp JavaStoreWalker.cpp: # java.store.g #JavaStoreWalker.h JavaStoreWalker.cpp: # java.store.g
# antlr java.store.g # antlr java.store.g
METASOURCES = AUTO METASOURCES = AUTO

@ -13,7 +13,7 @@
#define BACKGROUNDPARSER_H #define BACKGROUNDPARSER_H
#include "driver.h" #include "driver.h"
#include "JavaAST.hpp" #include "JavaAST.h"
#include <tqthread.h> #include <tqthread.h>
#include <tqwaitcondition.h> #include <tqwaitcondition.h>

@ -17,9 +17,9 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include "JavaAST.hpp" #include "JavaAST.h"
#include "JavaLexer.hpp" #include "JavaLexer.h"
#include "JavaRecognizer.hpp" #include "JavaRecognizer.h"
#include <kdebug.h> #include <kdebug.h>
#include <stdlib.h> #include <stdlib.h>

@ -20,7 +20,7 @@
#ifndef DRIVER_H #ifndef DRIVER_H
#define DRIVER_H #define DRIVER_H
#include "JavaAST.hpp" #include "JavaAST.h"
#include <tqpair.h> #include <tqpair.h>
#include <tqvaluestack.h> #include <tqvaluestack.h>

@ -1,7 +1,7 @@
header "pre_include_hpp" { header "pre_include_hpp" {
#include "driver.h" #include "driver.h"
#include "JavaAST.hpp" #include "JavaAST.h"
#include <qlistview.h> #include <qlistview.h>
#include <kdebug.h> #include <kdebug.h>

@ -2,7 +2,7 @@
header "pre_include_hpp" { header "pre_include_hpp" {
#include <codemodel.h> #include <codemodel.h>
#include "JavaAST.hpp" #include "JavaAST.h"
#include <qstring.h> #include <qstring.h>
#include <qstringlist.h> #include <qstringlist.h>

@ -23,8 +23,8 @@
#include "kdevdriver.h" #include "kdevdriver.h"
#include "javasupport_utils.h" #include "javasupport_utils.h"
#include "JavaStoreWalker.hpp" #include "JavaStoreWalker.h"
#include "JavaAST.hpp" #include "JavaAST.h"
#include <tqheader.h> #include <tqheader.h>
#include <tqdir.h> #include <tqdir.h>

@ -1,6 +1,6 @@
#include "kdevdriver.h" #include "kdevdriver.h"
#include "JavaLexer.hpp" #include "JavaLexer.h"
#include <unistd.h> #include <unistd.h>
#include <tqfileinfo.h> #include <tqfileinfo.h>

@ -23,10 +23,10 @@ genparser:
antlr pascal.g && antlr pascal.tree.g antlr pascal.g && antlr pascal.tree.g
## The following rules assume that you have Java and ANTLR installed, ## The following rules assume that you have Java and ANTLR installed,
#PascalLexer.hpp PascalLexer.cpp PascalParser.hpp PascalParser.cpp: pascal.g #PascalLexer.h PascalLexer.cpp PascalParser.h PascalParser.cpp: pascal.g
# antlr pascal.g # antlr pascal.g
#PascalStoreWalker.hpp PascalStoreWalker.cpp: pascal.tree.g #PascalStoreWalker.h PascalStoreWalker.cpp: pascal.tree.g
# antlr pascal.tree.g # antlr pascal.tree.g
templatedir = ${kde_datadir}/kdevabbrev/templates templatedir = ${kde_datadir}/kdevabbrev/templates

@ -1,7 +1,7 @@
#ifndef PASCALAST_HPP #ifndef PASCALAST_HPP
#define PASCALAST_HPP #define PASCALAST_HPP
#include <antlr/CommonAST.hpp> #include <antlr/CommonAST.h>
class PascalAST; class PascalAST;
typedef antlr::ASTRefCount<PascalAST> RefPascalAST; typedef antlr::ASTRefCount<PascalAST> RefPascalAST;

@ -1,12 +1,12 @@
/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalLexer.cpp"$ */ /* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalLexer.cpp"$ */
#include "PascalLexer.hpp" #include "PascalLexer.h"
#include <antlr/CharBuffer.hpp> #include <antlr/CharBuffer.h>
#include <antlr/TokenStreamException.hpp> #include <antlr/TokenStreamException.h>
#include <antlr/TokenStreamIOException.hpp> #include <antlr/TokenStreamIOException.h>
#include <antlr/TokenStreamRecognitionException.hpp> #include <antlr/TokenStreamRecognitionException.h>
#include <antlr/CharStreamException.hpp> #include <antlr/CharStreamException.h>
#include <antlr/CharStreamIOException.hpp> #include <antlr/CharStreamIOException.h>
#include <antlr/NoViableAltForCharException.hpp> #include <antlr/NoViableAltForCharException.h>
#line 1 "pascal.g" #line 1 "pascal.g"
#line 13 "PascalLexer.cpp" #line 13 "PascalLexer.cpp"

@ -1,10 +1,10 @@
#ifndef INC_PascalLexer_hpp_ #ifndef INC_PascalLexer_h_
#define INC_PascalLexer_hpp_ #define INC_PascalLexer_h_
#line 29 "pascal.g" #line 29 "pascal.g"
#include "problemreporter.h" #include "problemreporter.h"
#include "PascalAST.hpp" #include "PascalAST.h"
#include <tqlistview.h> #include <tqlistview.h>
#include <kdebug.h> #include <kdebug.h>
@ -15,14 +15,14 @@
RefPascalAST(ast)->setColumn( t->getColumn() ); \ RefPascalAST(ast)->setColumn( t->getColumn() ); \
} }
#line 19 "PascalLexer.hpp" #line 19 "PascalLexer.h"
#include <antlr/config.hpp> #include <antlr/config.h>
/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalLexer.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalLexer.h"$ */
#include <antlr/CommonToken.hpp> #include <antlr/CommonToken.h>
#include <antlr/InputBuffer.hpp> #include <antlr/InputBuffer.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#include "PascalTokenTypes.hpp" #include "PascalTokenTypes.h"
#include <antlr/CharScanner.hpp> #include <antlr/CharScanner.h>
class CUSTOM_API PascalLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public PascalTokenTypes class CUSTOM_API PascalLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public PascalTokenTypes
{ {
#line 1067 "pascal.g" #line 1067 "pascal.g"
@ -56,7 +56,7 @@ public:
getFilename().c_str(), getFilename().c_str(),
getLine(), getColumn() ); getLine(), getColumn() );
} }
#line 30 "PascalLexer.hpp" #line 30 "PascalLexer.h"
private: private:
void initLiterals(); void initLiterals();
public: public:
@ -118,4 +118,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3;
}; };
#endif /*INC_PascalLexer_hpp_*/ #endif /*INC_PascalLexer_h_*/

@ -1,8 +1,8 @@
/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalParser.cpp"$ */ /* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalParser.cpp"$ */
#include "PascalParser.hpp" #include "PascalParser.h"
#include <antlr/NoViableAltException.hpp> #include <antlr/NoViableAltException.h>
#include <antlr/SemanticException.hpp> #include <antlr/SemanticException.h>
#include <antlr/ASTFactory.hpp> #include <antlr/ASTFactory.h>
#line 1 "pascal.g" #line 1 "pascal.g"
#line 8 "PascalParser.cpp" #line 8 "PascalParser.cpp"
PascalParser::PascalParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k) PascalParser::PascalParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k)

@ -1,10 +1,10 @@
#ifndef INC_PascalParser_hpp_ #ifndef INC_PascalParser_h_
#define INC_PascalParser_hpp_ #define INC_PascalParser_h_
#line 29 "pascal.g" #line 29 "pascal.g"
#include "problemreporter.h" #include "problemreporter.h"
#include "PascalAST.hpp" #include "PascalAST.h"
#include <tqlistview.h> #include <tqlistview.h>
#include <kdebug.h> #include <kdebug.h>
@ -15,13 +15,13 @@
RefPascalAST(ast)->setColumn( t->getColumn() ); \ RefPascalAST(ast)->setColumn( t->getColumn() ); \
} }
#line 19 "PascalParser.hpp" #line 19 "PascalParser.h"
#include <antlr/config.hpp> #include <antlr/config.h>
/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalParser.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalParser.h"$ */
#include <antlr/TokenStream.hpp> #include <antlr/TokenStream.h>
#include <antlr/TokenBuffer.hpp> #include <antlr/TokenBuffer.h>
#include "PascalTokenTypes.hpp" #include "PascalTokenTypes.h"
#include <antlr/LLkParser.hpp> #include <antlr/LLkParser.h>
class CUSTOM_API PascalParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public PascalTokenTypes class CUSTOM_API PascalParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public PascalTokenTypes
{ {
@ -58,7 +58,7 @@ public:
LT(1)->getLine(), LT(1)->getLine(),
LT(1)->getColumn() ); LT(1)->getColumn() );
} }
#line 30 "PascalParser.hpp" #line 30 "PascalParser.h"
public: public:
void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory ); void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
protected: protected:
@ -419,4 +419,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_76; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_76;
}; };
#endif /*INC_PascalParser_hpp_*/ #endif /*INC_PascalParser_h_*/

@ -1,11 +1,11 @@
/* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalker.cpp"$ */ /* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalker.cpp"$ */
#include "PascalStoreWalker.hpp" #include "PascalStoreWalker.h"
#include <antlr/Token.hpp> #include <antlr/Token.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include <antlr/NoViableAltException.hpp> #include <antlr/NoViableAltException.h>
#include <antlr/MismatchedTokenException.hpp> #include <antlr/MismatchedTokenException.h>
#include <antlr/SemanticException.hpp> #include <antlr/SemanticException.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#line 1 "pascal.tree.g" #line 1 "pascal.tree.g"
#line 11 "PascalStoreWalker.cpp" #line 11 "PascalStoreWalker.cpp"
PascalStoreWalker::PascalStoreWalker() PascalStoreWalker::PascalStoreWalker()

@ -1,27 +1,27 @@
#ifndef INC_PascalStoreWalker_hpp_ #ifndef INC_PascalStoreWalker_h_
#define INC_PascalStoreWalker_hpp_ #define INC_PascalStoreWalker_h_
#line 20 "pascal.tree.g" #line 20 "pascal.tree.g"
#include <codemodel.h> #include <codemodel.h>
#include "PascalAST.hpp" #include "PascalAST.h"
#include <tqstring.h> #include <tqstring.h>
#include <tqstringlist.h> #include <tqstringlist.h>
#include <tqfileinfo.h> #include <tqfileinfo.h>
#line 14 "PascalStoreWalker.hpp" #line 14 "PascalStoreWalker.h"
#include <antlr/config.hpp> #include <antlr/config.h>
#include "PascalStoreWalkerTokenTypes.hpp" #include "PascalStoreWalkerTokenTypes.h"
/* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalker.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalker.h"$ */
#include <antlr/TreeParser.hpp> #include <antlr/TreeParser.h>
#line 29 "pascal.tree.g" #line 29 "pascal.tree.g"
#include <codemodel.h> #include <codemodel.h>
#include <kdebug.h> #include <kdebug.h>
#line 25 "PascalStoreWalker.hpp" #line 25 "PascalStoreWalker.h"
class CUSTOM_API PascalStoreWalker : public ANTLR_USE_NAMESPACE(antlr)TreeParser, public PascalStoreWalkerTokenTypes class CUSTOM_API PascalStoreWalker : public ANTLR_USE_NAMESPACE(antlr)TreeParser, public PascalStoreWalkerTokenTypes
{ {
#line 47 "pascal.tree.g" #line 47 "pascal.tree.g"
@ -48,7 +48,7 @@ public:
} }
void wipeout() { m_model->wipeout(); } void wipeout() { m_model->wipeout(); }
#line 29 "PascalStoreWalker.hpp" #line 29 "PascalStoreWalker.h"
public: public:
PascalStoreWalker(); PascalStoreWalker();
static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory ); static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
@ -169,4 +169,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_6; static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_6;
}; };
#endif /*INC_PascalStoreWalker_hpp_*/ #endif /*INC_PascalStoreWalker_h_*/

@ -1,7 +1,7 @@
#ifndef INC_PascalStoreWalkerTokenTypes_hpp_ #ifndef INC_PascalStoreWalkerTokenTypes_h_
#define INC_PascalStoreWalkerTokenTypes_hpp_ #define INC_PascalStoreWalkerTokenTypes_h_
/* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalkerTokenTypes.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalkerTokenTypes.h"$ */
#ifndef CUSTOM_API #ifndef CUSTOM_API
# define CUSTOM_API # define CUSTOM_API
@ -203,4 +203,4 @@ struct CUSTOM_API PascalStoreWalkerTokenTypes {
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /*INC_PascalStoreWalkerTokenTypes_hpp_*/ #endif /*INC_PascalStoreWalkerTokenTypes_h_*/

@ -1,10 +1,10 @@
#ifndef INC_PascalTokenTypes_hpp_ #ifndef INC_PascalTokenTypes_h_
#define INC_PascalTokenTypes_hpp_ #define INC_PascalTokenTypes_h_
#undef TRUE #undef TRUE
#undef FALSE #undef FALSE
/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalTokenTypes.hpp"$ */ /* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalTokenTypes.h"$ */
#ifndef CUSTOM_API #ifndef CUSTOM_API
# define CUSTOM_API # define CUSTOM_API
@ -206,4 +206,4 @@ struct CUSTOM_API PascalTokenTypes {
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#endif /*INC_PascalTokenTypes_hpp_*/ #endif /*INC_PascalTokenTypes_h_*/

@ -13,12 +13,12 @@
#include "backgroundparser.h" #include "backgroundparser.h"
#include "problemreporter.h" #include "problemreporter.h"
#include "PascalLexer.hpp" #include "PascalLexer.h"
#include "PascalParser.hpp" #include "PascalParser.h"
#include "PascalAST.hpp" #include "PascalAST.h"
#include <kdebug.h> #include <kdebug.h>
#include <tqfile.h> #include <tqfile.h>
#include <antlr/ASTFactory.hpp> #include <antlr/ASTFactory.h>
BackgroundParser::BackgroundParser( ProblemReporter* reporter, BackgroundParser::BackgroundParser( ProblemReporter* reporter,
const TQString& source, const TQString& source,

@ -28,7 +28,7 @@
header "pre_include_hpp" { header "pre_include_hpp" {
#include "problemreporter.h" #include "problemreporter.h"
#include "PascalAST.hpp" #include "PascalAST.h"
#include <qlistview.h> #include <qlistview.h>
#include <kdebug.h> #include <kdebug.h>

@ -19,7 +19,7 @@
header "pre_include_hpp" { header "pre_include_hpp" {
#include <codemodel.h> #include <codemodel.h>
#include "PascalAST.hpp" #include "PascalAST.h"
#include <qstring.h> #include <qstring.h>
#include <qstringlist.h> #include <qstringlist.h>

@ -20,7 +20,7 @@
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kstatusbar.h> #include <kstatusbar.h>
#include <antlr/ASTFactory.hpp> #include <antlr/ASTFactory.h>
#include "catalog.h" #include "catalog.h"
#include <kdevcore.h> #include <kdevcore.h>
@ -31,9 +31,9 @@
#include "pascalsupport_part.h" #include "pascalsupport_part.h"
#include "problemreporter.h" #include "problemreporter.h"
#include "PascalLexer.hpp" #include "PascalLexer.h"
#include "PascalParser.hpp" #include "PascalParser.h"
#include "PascalStoreWalker.hpp" #include "PascalStoreWalker.h"
struct PascalSupportPartData{ struct PascalSupportPartData{
ProblemReporter* problemReporter; ProblemReporter* problemReporter;

@ -64,7 +64,7 @@ and compile with an option to define away the word 'std', such as
CC .... -Dstd= .... CC .... -Dstd= ....
Also in the antlr subdirectory there's a file config.hpp. Tweak this one to Also in the antlr subdirectory there's a file config.h. Tweak this one to
enable/disable the different bells and whistles used in the rest of the code. enable/disable the different bells and whistles used in the rest of the code.
Don't forget to submit those changes back to us (along with compiler info) Don't forget to submit those changes back to us (along with compiler info)
so we can incorporate them in our next release! so we can incorporate them in our next release!

@ -10,7 +10,7 @@
* On Thu, Sep 21, 2000 at 12:33:48AM -0700, John Lambert <JohnL@jBASE.com> wrote: * On Thu, Sep 21, 2000 at 12:33:48AM -0700, John Lambert <JohnL@jBASE.com> wrote:
> 1) The literal EOF is not defined and causes the define of EOF_CHAR in > 1) The literal EOF is not defined and causes the define of EOF_CHAR in
> CharScanner.hpp to fail. > CharScanner.h to fail.
ANTLR with STL Port. Changing the EOF define to char_traits<char>::eof() ANTLR with STL Port. Changing the EOF define to char_traits<char>::eof()
breaks things for gcc-2.95.2. Fix this in next release portably. breaks things for gcc-2.95.2. Fix this in next release portably.

@ -1,5 +1,5 @@
#ifndef INC_ANTLRException_hpp__ #ifndef INC_ANTLRException_h__
#define INC_ANTLRException_hpp__ #define INC_ANTLRException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,7 +8,7 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <string> #include <string>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -56,4 +56,4 @@ private:
} }
#endif #endif
#endif //INC_ANTLRException_hpp__ #endif //INC_ANTLRException_h__

@ -1,5 +1,5 @@
#ifndef INC_ANTLRUtil_hpp__ #ifndef INC_ANTLRUtil_h__
#define INC_ANTLRUtil_hpp__ #define INC_ANTLRUtil_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,7 +8,7 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <iostream> #include <iostream>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE

@ -1,5 +1,5 @@
#ifndef INC_AST_hpp__ #ifndef INC_AST_h__
#define INC_AST_hpp__ #define INC_AST_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,9 +8,9 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/ASTRefCount.hpp> #include <antlr/ASTRefCount.h>
#include <antlr/Token.hpp> #include <antlr/Token.h>
#include <vector> #include <vector>
#include <string> #include <string>
@ -163,4 +163,4 @@ inline bool operator<( RefAST l, RefAST r )
} }
#endif #endif
#endif //INC_AST_hpp__ #endif //INC_AST_h__

@ -1,5 +1,5 @@
#ifndef INC_ASTArray_hpp__ #ifndef INC_ASTArray_h__
#define INC_ASTArray_hpp__ #define INC_ASTArray_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -42,4 +42,4 @@ public:
} }
#endif #endif
#endif //INC_ASTArray_hpp__ #endif //INC_ASTArray_h__

@ -1,5 +1,5 @@
#ifndef INC_ASTFactory_hpp__ #ifndef INC_ASTFactory_h__
#define INC_ASTFactory_hpp__ #define INC_ASTFactory_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,10 +8,10 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include <antlr/ASTArray.hpp> #include <antlr/ASTArray.h>
#include <antlr/ASTPair.hpp> #include <antlr/ASTPair.h>
#include <istream> #include <istream>
#include <utility> #include <utility>
@ -162,4 +162,4 @@ private:
} }
#endif #endif
#endif //INC_ASTFactory_hpp__ #endif //INC_ASTFactory_h__

@ -1,5 +1,5 @@
#ifndef INC_ASTNULLType_hpp__ #ifndef INC_ASTNULLType_h__
#define INC_ASTNULLType_hpp__ #define INC_ASTNULLType_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include <iostream> #include <iostream>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -61,4 +61,4 @@ public:
} }
#endif #endif
#endif //INC_ASTNULLType_hpp__ #endif //INC_ASTNULLType_h__

@ -1,5 +1,5 @@
#ifndef INC_ASTPair_hpp__ #ifndef INC_ASTPair_h__
#define INC_ASTPair_hpp__ #define INC_ASTPair_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -54,4 +54,4 @@ public:
} }
#endif #endif
#endif //INC_ASTPair_hpp__ #endif //INC_ASTPair_h__

@ -1,5 +1,5 @@
#ifndef INC_ASTRefCount_hpp__ #ifndef INC_ASTRefCount_h__
# define INC_ASTRefCount_hpp__ # define INC_ASTRefCount_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,7 +8,7 @@
* $Id$ * $Id$
*/ */
# include <antlr/config.hpp> # include <antlr/config.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -95,4 +95,4 @@ typedef ASTRefCount<AST> RefAST;
} }
#endif #endif
#endif //INC_ASTRefCount_hpp__ #endif //INC_ASTRefCount_h__

@ -1,5 +1,5 @@
#ifndef INC_BaseAST_hpp__ #ifndef INC_BaseAST_h__
#define INC_BaseAST_hpp__ #define INC_BaseAST_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include <iostream> #include <iostream>
@ -190,4 +190,4 @@ inline bool BaseAST::equals(RefAST t) const
} }
#endif #endif
#endif //INC_BaseAST_hpp__ #endif //INC_BaseAST_h__

@ -1,5 +1,5 @@
#ifndef INC_BitSet_hpp__ #ifndef INC_BitSet_h__
#define INC_BitSet_hpp__ #define INC_BitSet_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,7 +8,7 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <vector> #include <vector>
#include <stdexcept> #include <stdexcept>
@ -57,4 +57,4 @@ public:
} }
#endif #endif
#endif //INC_BitSet_hpp__ #endif //INC_BitSet_h__

@ -1,5 +1,5 @@
#ifndef INC_CharBuffer_hpp__ #ifndef INC_CharBuffer_h__
#define INC_CharBuffer_hpp__ #define INC_CharBuffer_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,11 +8,11 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <istream> #include <istream>
#include <antlr/InputBuffer.hpp> #include <antlr/InputBuffer.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -53,4 +53,4 @@ private:
} }
#endif #endif
#endif //INC_CharBuffer_hpp__ #endif //INC_CharBuffer_h__

@ -1,5 +1,5 @@
#ifndef INC_CharInputBuffer_hpp__ #ifndef INC_CharInputBuffer_h__
# define INC_CharInputBuffer_hpp__ # define INC_CharInputBuffer_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
# include <antlr/config.hpp> # include <antlr/config.h>
# include <antlr/InputBuffer.hpp> # include <antlr/InputBuffer.h>
# ifdef HAS_NOT_CCTYPE_H # ifdef HAS_NOT_CCTYPE_H
# include <ctype.h> # include <ctype.h>
@ -21,12 +21,12 @@
namespace antlr { namespace antlr {
#endif #endif
/** CharInputBuffer.hpp provides an InputBuffer for plain character arrays (buffers). /** CharInputBuffer.h provides an InputBuffer for plain character arrays (buffers).
*/ */
class CharInputBuffer : public InputBuffer class CharInputBuffer : public InputBuffer
{ {
public: public:
/** Construct a CharInputBuffer.hpp object with a char* buffer of 'size' /** Construct a CharInputBuffer.h object with a char* buffer of 'size'
* if 'owner' is true, then the buffer will be delete[]-ed on destruction. * if 'owner' is true, then the buffer will be delete[]-ed on destruction.
* @note it is assumed the buffer was allocated with new[]! * @note it is assumed the buffer was allocated with new[]!
*/ */

@ -1,5 +1,5 @@
#ifndef INC_CharScanner_hpp__ #ifndef INC_CharScanner_h__
#define INC_CharScanner_hpp__ #define INC_CharScanner_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,7 +8,7 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <map> #include <map>
@ -26,13 +26,13 @@
# include <stdio.h> # include <stdio.h>
#endif #endif
#include <antlr/TokenStream.hpp> #include <antlr/TokenStream.h>
#include <antlr/RecognitionException.hpp> #include <antlr/RecognitionException.h>
#include <antlr/SemanticException.hpp> #include <antlr/SemanticException.h>
#include <antlr/MismatchedCharException.hpp> #include <antlr/MismatchedCharException.h>
#include <antlr/InputBuffer.hpp> #include <antlr/InputBuffer.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#include <antlr/LexerSharedInputState.hpp> #include <antlr/LexerSharedInputState.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -573,4 +573,4 @@ inline bool CharScannerLiteralsLess::operator() (const ANTLR_USE_NAMESPACE(std)s
} }
#endif #endif
#endif //INC_CharScanner_hpp__ #endif //INC_CharScanner_h__

@ -1,5 +1,5 @@
#ifndef INC_CharStreamException_hpp__ #ifndef INC_CharStreamException_h__
#define INC_CharStreamException_hpp__ #define INC_CharStreamException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/ANTLRException.hpp> #include <antlr/ANTLRException.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -26,4 +26,4 @@ public:
} }
#endif #endif
#endif //INC_CharStreamException_hpp__ #endif //INC_CharStreamException_h__

@ -1,5 +1,5 @@
#ifndef INC_CharStreamIOException_hpp__ #ifndef INC_CharStreamIOException_h__
#define INC_CharStreamIOException_hpp__ #define INC_CharStreamIOException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/CharStreamException.hpp> #include <antlr/CharStreamException.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -28,4 +28,4 @@ public:
} }
#endif #endif
#endif //INC_CharStreamIOException_hpp__ #endif //INC_CharStreamIOException_h__

@ -1,5 +1,5 @@
#ifndef INC_CircularQueue_hpp__ #ifndef INC_CircularQueue_h__
#define INC_CircularQueue_hpp__ #define INC_CircularQueue_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/Token.hpp> #include <antlr/Token.h>
#include <vector> #include <vector>
#include <cassert> #include <cassert>
@ -97,4 +97,4 @@ private:
} }
#endif #endif
#endif //INC_CircularQueue_hpp__ #endif //INC_CircularQueue_h__

@ -1,5 +1,5 @@
#ifndef INC_CommonAST_hpp__ #ifndef INC_CommonAST_h__
#define INC_CommonAST_hpp__ #define INC_CommonAST_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/BaseAST.hpp> #include <antlr/BaseAST.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -107,4 +107,4 @@ typedef ASTRefCount<CommonAST> RefCommonAST;
} }
#endif #endif
#endif //INC_CommonAST_hpp__ #endif //INC_CommonAST_h__

@ -1,5 +1,5 @@
#ifndef INC_CommonASTWithHiddenTokens_hpp__ #ifndef INC_CommonASTWithHiddenTokens_h__
#define INC_CommonASTWithHiddenTokens_hpp__ #define INC_CommonASTWithHiddenTokens_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/CommonAST.hpp> #include <antlr/CommonAST.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -57,4 +57,4 @@ typedef ASTRefCount<CommonASTWithHiddenTokens> RefCommonASTWithHiddenTokens;
} }
#endif #endif
#endif //INC_CommonASTWithHiddenTokens_hpp__ #endif //INC_CommonASTWithHiddenTokens_h__

@ -1,5 +1,5 @@
#ifndef INC_CommonHiddenStreamToken_hpp__ #ifndef INC_CommonHiddenStreamToken_h__
#define INC_CommonHiddenStreamToken_hpp__ #define INC_CommonHiddenStreamToken_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/CommonToken.hpp> #include <antlr/CommonToken.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -38,4 +38,4 @@ public:
} }
#endif #endif
#endif //INC_CommonHiddenStreamToken_hpp__ #endif //INC_CommonHiddenStreamToken_h__

@ -1,5 +1,5 @@
#ifndef INC_CommonToken_hpp__ #ifndef INC_CommonToken_h__
#define INC_CommonToken_hpp__ #define INC_CommonToken_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/Token.hpp> #include <antlr/Token.h>
#include <string> #include <string>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -80,4 +80,4 @@ private:
} }
#endif #endif
#endif //INC_CommonToken_hpp__ #endif //INC_CommonToken_h__

@ -1,5 +1,5 @@
#ifndef INC_IOException_hpp__ #ifndef INC_IOException_h__
#define INC_IOException_hpp__ #define INC_IOException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/ANTLRException.hpp> #include <antlr/ANTLRException.h>
#include <exception> #include <exception>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -42,4 +42,4 @@ public:
} }
#endif #endif
#endif //INC_IOException_hpp__ #endif //INC_IOException_h__

@ -1,5 +1,5 @@
#ifndef INC_InputBuffer_hpp__ #ifndef INC_InputBuffer_h__
#define INC_InputBuffer_hpp__ #define INC_InputBuffer_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/CircularQueue.hpp> #include <antlr/CircularQueue.h>
#include <string> #include <string>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -143,4 +143,4 @@ inline void InputBuffer::syncConsume() {
} }
#endif #endif
#endif //INC_InputBuffer_hpp__ #endif //INC_InputBuffer_h__

@ -1,5 +1,5 @@
#ifndef INC_LLkParser_hpp__ #ifndef INC_LLkParser_h__
#define INC_LLkParser_hpp__ #define INC_LLkParser_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/Parser.hpp> #include <antlr/Parser.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -64,4 +64,4 @@ public:
} }
#endif #endif
#endif //INC_LLkParser_hpp__ #endif //INC_LLkParser_h__

@ -1,5 +1,5 @@
#ifndef INC_LexerSharedInputState_hpp__ #ifndef INC_LexerSharedInputState_h__
#define INC_LexerSharedInputState_hpp__ #define INC_LexerSharedInputState_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,10 +8,10 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/InputBuffer.hpp> #include <antlr/InputBuffer.h>
#include <antlr/RefCount.hpp> #include <antlr/RefCount.h>
#include <antlr/CharBuffer.hpp> #include <antlr/CharBuffer.h>
#include <string> #include <string>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -153,4 +153,4 @@ typedef RefCount<LexerInputState> LexerSharedInputState;
} }
#endif #endif
#endif //INC_LexerSharedInputState_hpp__ #endif //INC_LexerSharedInputState_h__

@ -1,2 +1,2 @@
noinst_HEADERS = ANTLRException.hpp ANTLRUtil.hpp AST.hpp ASTArray.hpp ASTFactory.hpp ASTNULLType.hpp ASTPair.hpp ASTRefCount.hpp BaseAST.hpp BitSet.hpp CharBuffer.hpp CharInputBuffer.hpp CharScanner.hpp CharStreamException.hpp CharStreamIOException.hpp CircularQueue.hpp CommonAST.hpp CommonASTWithHiddenTokens.hpp CommonHiddenStreamToken.hpp CommonToken.hpp InputBuffer.hpp IOException.hpp LLkParser.hpp LexerSharedInputState.hpp MismatchedCharException.hpp MismatchedTokenException.hpp NoViableAltException.hpp NoViableAltForCharException.hpp Parser.hpp ParserSharedInputState.hpp RecognitionException.hpp RefCount.hpp SemanticException.hpp String.hpp Token.hpp TokenBuffer.hpp TokenStream.hpp TokenStreamBasicFilter.hpp TokenStreamException.hpp TokenStreamHiddenTokenFilter.hpp TokenStreamIOException.hpp TokenStreamRecognitionException.hpp TokenStreamRetryException.hpp TokenStreamSelector.hpp TreeParser.hpp TreeParserSharedInputState.hpp config.hpp noinst_HEADERS = ANTLRException.h ANTLRUtil.h AST.h ASTArray.h ASTFactory.h ASTNULLType.h ASTPair.h ASTRefCount.h BaseAST.h BitSet.h CharBuffer.h CharInputBuffer.h CharScanner.h CharStreamException.h CharStreamIOException.h CircularQueue.h CommonAST.h CommonASTWithHiddenTokens.h CommonHiddenStreamToken.h CommonToken.h InputBuffer.h IOException.h LLkParser.h LexerSharedInputState.h MismatchedCharException.h MismatchedTokenException.h NoViableAltException.h NoViableAltForCharException.h Parser.h ParserSharedInputState.h RecognitionException.h RefCount.h SemanticException.h String.h Token.h TokenBuffer.h TokenStream.h TokenStreamBasicFilter.h TokenStreamException.h TokenStreamHiddenTokenFilter.h TokenStreamIOException.h TokenStreamRecognitionException.h TokenStreamRetryException.h TokenStreamSelector.h TreeParser.h TreeParserSharedInputState.h config.h

@ -1,5 +1,5 @@
#ifndef INC_MismatchedCharException_hpp__ #ifndef INC_MismatchedCharException_h__
#define INC_MismatchedCharException_hpp__ #define INC_MismatchedCharException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,9 +8,9 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/RecognitionException.hpp> #include <antlr/RecognitionException.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -99,4 +99,4 @@ public:
} }
#endif #endif
#endif //INC_MismatchedCharException_hpp__ #endif //INC_MismatchedCharException_h__

@ -1,5 +1,5 @@
#ifndef INC_MismatchedTokenException_hpp__ #ifndef INC_MismatchedTokenException_h__
#define INC_MismatchedTokenException_hpp__ #define INC_MismatchedTokenException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,11 +8,11 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/RecognitionException.hpp> #include <antlr/RecognitionException.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#include <antlr/Token.hpp> #include <antlr/Token.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include <vector> #include <vector>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -141,4 +141,4 @@ private:
} }
#endif #endif
#endif //INC_MismatchedTokenException_hpp__ #endif //INC_MismatchedTokenException_h__

@ -1,5 +1,5 @@
#ifndef INC_NoViableAltException_hpp__ #ifndef INC_NoViableAltException_h__
#define INC_NoViableAltException_hpp__ #define INC_NoViableAltException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,10 +8,10 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/RecognitionException.hpp> #include <antlr/RecognitionException.h>
#include <antlr/Token.hpp> #include <antlr/Token.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -37,4 +37,4 @@ public:
} }
#endif #endif
#endif //INC_NoViableAltException_hpp__ #endif //INC_NoViableAltException_h__

@ -1,5 +1,5 @@
#ifndef INC_NoViableAltForCharException_hpp__ #ifndef INC_NoViableAltForCharException_h__
# define INC_NoViableAltForCharException_hpp__ # define INC_NoViableAltForCharException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,9 +8,9 @@
* $Id$ * $Id$
*/ */
# include <antlr/config.hpp> # include <antlr/config.h>
# include <antlr/RecognitionException.hpp> # include <antlr/RecognitionException.h>
# include <antlr/CharScanner.hpp> # include <antlr/CharScanner.h>
# ifdef ANTLR_CXX_SUPPORTS_NAMESPACE # ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr namespace antlr
@ -38,4 +38,4 @@ protected:
} }
# endif # endif
#endif //INC_NoViableAltForCharException_hpp__ #endif //INC_NoViableAltForCharException_h__

@ -1,5 +1,5 @@
#ifndef INC_Parser_hpp__ #ifndef INC_Parser_h__
#define INC_Parser_hpp__ #define INC_Parser_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,17 +8,17 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <iostream> #include <iostream>
#include <exception> #include <exception>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#include <antlr/TokenBuffer.hpp> #include <antlr/TokenBuffer.h>
#include <antlr/RecognitionException.hpp> #include <antlr/RecognitionException.h>
#include <antlr/MismatchedTokenException.hpp> #include <antlr/MismatchedTokenException.h>
#include <antlr/ASTFactory.hpp> #include <antlr/ASTFactory.h>
#include <antlr/ParserSharedInputState.hpp> #include <antlr/ParserSharedInputState.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -316,4 +316,4 @@ private:
} }
#endif #endif
#endif //INC_Parser_hpp__ #endif //INC_Parser_h__

@ -1,5 +1,5 @@
#ifndef INC_ParserSharedInputState_hpp__ #ifndef INC_ParserSharedInputState_h__
#define INC_ParserSharedInputState_hpp__ #define INC_ParserSharedInputState_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,9 +8,9 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/TokenBuffer.hpp> #include <antlr/TokenBuffer.h>
#include <antlr/RefCount.hpp> #include <antlr/RefCount.h>
#include <string> #include <string>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -89,4 +89,4 @@ typedef RefCount<ParserInputState> ParserSharedInputState;
} }
#endif #endif
#endif //INC_ParserSharedInputState_hpp__ #endif //INC_ParserSharedInputState_h__

@ -1,5 +1,5 @@
#ifndef INC_RecognitionException_hpp__ #ifndef INC_RecognitionException_h__
# define INC_RecognitionException_hpp__ # define INC_RecognitionException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
# include <antlr/config.hpp> # include <antlr/config.h>
# include <antlr/ANTLRException.hpp> # include <antlr/ANTLRException.h>
# ifdef ANTLR_CXX_SUPPORTS_NAMESPACE # ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr namespace antlr
@ -63,4 +63,4 @@ namespace antlr
} }
# endif # endif
#endif //INC_RecognitionException_hpp__ #endif //INC_RecognitionException_h__

@ -1,5 +1,5 @@
#ifndef INC_RefCount_hpp__ #ifndef INC_RefCount_h__
#define INC_RefCount_hpp__ #define INC_RefCount_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
* Software rights: http://www.antlr.org/license.html * Software rights: http://www.antlr.org/license.html
@ -7,7 +7,7 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -77,4 +77,4 @@ public:
} }
#endif #endif
#endif //INC_RefCount_hpp__ #endif //INC_RefCount_h__

@ -1,5 +1,5 @@
#ifndef INC_SemanticException_hpp__ #ifndef INC_SemanticException_h__
#define INC_SemanticException_hpp__ #define INC_SemanticException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/RecognitionException.hpp> #include <antlr/RecognitionException.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -37,4 +37,4 @@ public:
} }
#endif #endif
#endif //INC_SemanticException_hpp__ #endif //INC_SemanticException_h__

@ -1,5 +1,5 @@
#ifndef INC_String_hpp__ #ifndef INC_String_h__
#define INC_String_hpp__ #define INC_String_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,7 +8,7 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <string> #include <string>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -24,4 +24,4 @@ ANTLR_API ANTLR_USE_NAMESPACE(std)string charName( int ch );
} }
#endif #endif
#endif //INC_String_hpp__ #endif //INC_String_h__

@ -1,5 +1,5 @@
#ifndef INC_Token_hpp__ #ifndef INC_Token_h__
#define INC_Token_hpp__ #define INC_Token_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/TokenRefCount.hpp> #include <antlr/TokenRefCount.h>
#include <string> #include <string>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -105,4 +105,4 @@ inline bool operator<( RefToken l, RefToken r )
} }
#endif #endif
#endif //INC_Token_hpp__ #endif //INC_Token_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenBuffer_hpp__ #ifndef INC_TokenBuffer_h__
#define INC_TokenBuffer_hpp__ #define INC_TokenBuffer_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,9 +8,9 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/TokenStream.hpp> #include <antlr/TokenStream.h>
#include <antlr/CircularQueue.hpp> #include <antlr/CircularQueue.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -118,4 +118,4 @@ inline void TokenBuffer::syncConsume()
} }
#endif #endif
#endif //INC_TokenBuffer_hpp__ #endif //INC_TokenBuffer_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenRefCount_hpp__ #ifndef INC_TokenRefCount_h__
# define INC_TokenRefCount_hpp__ # define INC_TokenRefCount_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,7 +8,7 @@
* $Id:$ * $Id:$
*/ */
# include <antlr/config.hpp> # include <antlr/config.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -95,4 +95,4 @@ typedef TokenRefCount<Token> RefToken;
} }
#endif #endif
#endif //INC_TokenRefCount_hpp__ #endif //INC_TokenRefCount_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenStream_hpp__ #ifndef INC_TokenStream_h__
#define INC_TokenStream_hpp__ #define INC_TokenStream_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/Token.hpp> #include <antlr/Token.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -31,4 +31,4 @@ public:
} }
#endif #endif
#endif //INC_TokenStream_hpp__ #endif //INC_TokenStream_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenStreamBasicFilter_hpp__ #ifndef INC_TokenStreamBasicFilter_h__
#define INC_TokenStreamBasicFilter_hpp__ #define INC_TokenStreamBasicFilter_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,9 +8,9 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#include <antlr/TokenStream.hpp> #include <antlr/TokenStream.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -43,4 +43,4 @@ public:
} }
#endif #endif
#endif //INC_TokenStreamBasicFilter_hpp__ #endif //INC_TokenStreamBasicFilter_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenStreamException_hpp__ #ifndef INC_TokenStreamException_h__
#define INC_TokenStreamException_hpp__ #define INC_TokenStreamException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/ANTLRException.hpp> #include <antlr/ANTLRException.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -38,4 +38,4 @@ public:
} }
#endif #endif
#endif //INC_TokenStreamException_hpp__ #endif //INC_TokenStreamException_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenStreamHiddenTokenFilter_hpp__ #ifndef INC_TokenStreamHiddenTokenFilter_h__
#define INC_TokenStreamHiddenTokenFilter_hpp__ #define INC_TokenStreamHiddenTokenFilter_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/TokenStreamBasicFilter.hpp> #include <antlr/TokenStreamBasicFilter.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -92,4 +92,4 @@ public:
} }
#endif #endif
#endif //INC_TokenStreamHiddenTokenFilter_hpp__ #endif //INC_TokenStreamHiddenTokenFilter_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenStreamIOException_hpp__ #ifndef INC_TokenStreamIOException_h__
#define INC_TokenStreamIOException_hpp__ #define INC_TokenStreamIOException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/TokenStreamException.hpp> #include <antlr/TokenStreamException.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -37,4 +37,4 @@ private:
} }
#endif #endif
#endif //INC_TokenStreamIOException_hpp__ #endif //INC_TokenStreamIOException_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenStreamRecognitionException_hpp__ #ifndef INC_TokenStreamRecognitionException_h__
#define INC_TokenStreamRecognitionException_hpp__ #define INC_TokenStreamRecognitionException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/TokenStreamException.hpp> #include <antlr/TokenStreamException.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -54,4 +54,4 @@ private:
} }
#endif #endif
#endif //INC_TokenStreamRecognitionException_hpp__ #endif //INC_TokenStreamRecognitionException_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenStreamRetryException_hpp__ #ifndef INC_TokenStreamRetryException_h__
#define INC_TokenStreamRetryException_hpp__ #define INC_TokenStreamRetryException_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/TokenStreamException.hpp> #include <antlr/TokenStreamException.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -25,4 +25,4 @@ public:
} }
#endif #endif
#endif //INC_TokenStreamRetryException_hpp__ #endif //INC_TokenStreamRetryException_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenStreamRewriteEngine_hpp__ #ifndef INC_TokenStreamRewriteEngine_h__
#define INC_TokenStreamRewriteEngine_hpp__ #define INC_TokenStreamRewriteEngine_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -16,11 +16,11 @@
#include <cassert> #include <cassert>
#include <algorithm> #include <algorithm>
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/TokenStream.hpp> #include <antlr/TokenStream.h>
#include <antlr/TokenWithIndex.hpp> #include <antlr/TokenWithIndex.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -1,5 +1,5 @@
#ifndef INC_TokenStreamSelector_hpp__ #ifndef INC_TokenStreamSelector_h__
#define INC_TokenStreamSelector_hpp__ #define INC_TokenStreamSelector_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/TokenStream.hpp> #include <antlr/TokenStream.h>
#include <map> #include <map>
#include <stack> #include <stack>
@ -84,4 +84,4 @@ public:
} }
#endif #endif
#endif //INC_TokenStreamSelector_hpp__ #endif //INC_TokenStreamSelector_h__

@ -1,5 +1,5 @@
#ifndef INC_TokenWithIndex_hpp__ #ifndef INC_TokenWithIndex_h__
#define INC_TokenWithIndex_hpp__ #define INC_TokenWithIndex_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,9 +8,9 @@
* $Id:$ * $Id:$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/CommonToken.hpp> #include <antlr/CommonToken.h>
#include <antlr/String.hpp> #include <antlr/String.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -81,4 +81,4 @@ typedef TokenRefCount<TokenWithIndex> RefTokenWithIndex;
} }
#endif #endif
#endif //INC_CommonToken_hpp__ #endif //INC_CommonToken_h__

@ -1,5 +1,5 @@
#ifndef INC_TreeParser_hpp__ #ifndef INC_TreeParser_h__
#define INC_TreeParser_hpp__ #define INC_TreeParser_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,13 +8,13 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/AST.hpp> #include <antlr/AST.h>
#include <antlr/ASTFactory.hpp> #include <antlr/ASTFactory.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#include <antlr/RecognitionException.hpp> #include <antlr/RecognitionException.h>
#include <antlr/MismatchedTokenException.hpp> #include <antlr/MismatchedTokenException.h>
#include <antlr/TreeParserSharedInputState.hpp> #include <antlr/TreeParserSharedInputState.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -152,4 +152,4 @@ private:
} }
#endif #endif
#endif //INC_TreeParser_hpp__ #endif //INC_TreeParser_h__

@ -1,5 +1,5 @@
#ifndef INC_TreeParserSharedInputState_hpp__ #ifndef INC_TreeParserSharedInputState_h__
#define INC_TreeParserSharedInputState_hpp__ #define INC_TreeParserSharedInputState_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/RefCount.hpp> #include <antlr/RefCount.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {
@ -42,4 +42,4 @@ typedef RefCount<TreeParserInputState> TreeParserSharedInputState;
} }
#endif #endif
#endif //INC_TreeParserSharedInputState_hpp__ #endif //INC_TreeParserSharedInputState_h__

@ -1,5 +1,5 @@
#ifndef INC_config_hpp__ #ifndef INC_config_h__
#define INC_config_hpp__ #define INC_config_h__
/* ANTLR Translator Generator /* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com * Project led by Terence Parr at http://www.jGuru.com
@ -287,4 +287,4 @@
# define ANTLR_END_NAMESPACE # define ANTLR_END_NAMESPACE
#endif #endif
#endif //INC_config_hpp__ #endif //INC_config_h__

@ -5,8 +5,8 @@
* $Id$ * $Id$
*/ */
#include <antlr/config.hpp> #include <antlr/config.h>
#include <antlr/IOException.hpp> #include <antlr/IOException.h>
#include <iostream> #include <iostream>
#include <cctype> #include <cctype>

@ -5,11 +5,11 @@
* $Id$ * $Id$
*/ */
#include "antlr/CommonAST.hpp" #include "antlr/CommonAST.h"
#include "antlr/ANTLRException.hpp" #include "antlr/ANTLRException.h"
#include "antlr/IOException.hpp" #include "antlr/IOException.h"
#include "antlr/ASTFactory.hpp" #include "antlr/ASTFactory.h"
#include "antlr/ANTLRUtil.hpp" #include "antlr/ANTLRUtil.h"
#include <iostream> #include <iostream>
#include <istream> #include <istream>

@ -5,9 +5,9 @@
* $Id$ * $Id$
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
#include "antlr/ASTNULLType.hpp" #include "antlr/ASTNULLType.h"
#include <iostream> #include <iostream>

@ -4,8 +4,8 @@
* *
* $Id$ * $Id$
*/ */
#include "antlr/ASTRefCount.hpp" #include "antlr/ASTRefCount.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,12 +5,12 @@
* $Id$ * $Id$
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include <iostream> #include <iostream>
#include "antlr/AST.hpp" #include "antlr/AST.h"
#include "antlr/BaseAST.hpp" #include "antlr/BaseAST.h"
ANTLR_USING_NAMESPACE(std) ANTLR_USING_NAMESPACE(std)
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE

@ -4,7 +4,7 @@
* *
* $Id$ * $Id$
*/ */
#include "antlr/BitSet.hpp" #include "antlr/BitSet.h"
#include <string> #include <string>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE

@ -5,7 +5,7 @@
* $Id$ * $Id$
*/ */
#include "antlr/CharBuffer.hpp" #include "antlr/CharBuffer.h"
#include <iostream> #include <iostream>
//#include <ios> //#include <ios>

@ -7,8 +7,8 @@
#include <iostream> #include <iostream>
#include "antlr/CharScanner.hpp" #include "antlr/CharScanner.h"
#include "antlr/CommonToken.hpp" #include "antlr/CommonToken.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -4,13 +4,13 @@
* *
* $Id$ * $Id$
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include <cstdlib> #include <cstdlib>
#include <iostream> #include <iostream>
#include "antlr/CommonAST.hpp" #include "antlr/CommonAST.h"
#include "antlr/ANTLRUtil.hpp" #include "antlr/ANTLRUtil.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -4,12 +4,12 @@
* *
* $Id$ * $Id$
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
#include "antlr/BaseAST.hpp" #include "antlr/BaseAST.h"
#include "antlr/CommonAST.hpp" #include "antlr/CommonAST.h"
#include "antlr/CommonASTWithHiddenTokens.hpp" #include "antlr/CommonASTWithHiddenTokens.h"
#include "antlr/CommonHiddenStreamToken.hpp" #include "antlr/CommonHiddenStreamToken.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -4,7 +4,7 @@
* *
* $Id$ * $Id$
*/ */
#include "antlr/CommonHiddenStreamToken.hpp" #include "antlr/CommonHiddenStreamToken.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,8 +5,8 @@
* $Id$ * $Id$
*/ */
#include "antlr/CommonToken.hpp" #include "antlr/CommonToken.h"
#include "antlr/String.hpp" #include "antlr/String.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,8 +5,8 @@
* $Id$ * $Id$
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/InputBuffer.hpp" #include "antlr/InputBuffer.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,7 +5,7 @@
* $Id$ * $Id$
*/ */
#include "antlr/LLkParser.hpp" #include "antlr/LLkParser.h"
#include <iostream> #include <iostream>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE

@ -5,9 +5,9 @@
* $Id$ * $Id$
*/ */
#include "antlr/CharScanner.hpp" #include "antlr/CharScanner.h"
#include "antlr/MismatchedCharException.hpp" #include "antlr/MismatchedCharException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,8 +5,8 @@
* $Id$ * $Id$
*/ */
#include "antlr/MismatchedTokenException.hpp" #include "antlr/MismatchedTokenException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,8 +5,8 @@
* $Id$ * $Id$
*/ */
#include "antlr/NoViableAltException.hpp" #include "antlr/NoViableAltException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,8 +5,8 @@
* $Id$ * $Id$
*/ */
#include "antlr/NoViableAltForCharException.hpp" #include "antlr/NoViableAltForCharException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,7 +5,7 @@
* $Id$ * $Id$
*/ */
#include "antlr/Parser.hpp" #include "antlr/Parser.h"
#include <iostream> #include <iostream>

@ -5,8 +5,8 @@
* $Id$ * $Id$
*/ */
#include "antlr/RecognitionException.hpp" #include "antlr/RecognitionException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,7 +5,7 @@
* $Id$ * $Id$
*/ */
#include "antlr/String.hpp" #include "antlr/String.h"
#include <cctype> #include <cctype>

@ -5,8 +5,8 @@
* $Id$ * $Id$
*/ */
#include "antlr/Token.hpp" #include "antlr/Token.h"
#include "antlr/String.hpp" #include "antlr/String.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,7 +5,7 @@
* $Id$ * $Id$
*/ */
#include "antlr/TokenBuffer.hpp" #include "antlr/TokenBuffer.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -4,8 +4,8 @@
* *
* $Id:$ * $Id:$
*/ */
#include "antlr/TokenRefCount.hpp" #include "antlr/TokenRefCount.h"
#include "antlr/Token.hpp" #include "antlr/Token.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -4,7 +4,7 @@
* *
* $Id$ * $Id$
*/ */
#include "antlr/TokenStreamBasicFilter.hpp" #include "antlr/TokenStreamBasicFilter.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -4,8 +4,8 @@
* *
* $Id$ * $Id$
*/ */
#include "antlr/TokenStreamHiddenTokenFilter.hpp" #include "antlr/TokenStreamHiddenTokenFilter.h"
#include "antlr/CommonHiddenStreamToken.hpp" #include "antlr/CommonHiddenStreamToken.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -1,4 +1,4 @@
#include <antlr/config.hpp> #include <antlr/config.h>
#include <string> #include <string>
#include <list> #include <list>
@ -10,10 +10,10 @@
#include <sstream> #include <sstream>
#include <cassert> #include <cassert>
#include <antlr/TokenStream.hpp> #include <antlr/TokenStream.h>
#include <antlr/TokenWithIndex.hpp> #include <antlr/TokenWithIndex.h>
#include <antlr/BitSet.hpp> #include <antlr/BitSet.h>
#include <antlr/TokenStreamRewriteEngine.hpp> #include <antlr/TokenStreamRewriteEngine.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -4,8 +4,8 @@
* *
* $Id$ * $Id$
*/ */
#include "antlr/TokenStreamSelector.hpp" #include "antlr/TokenStreamSelector.h"
#include "antlr/TokenStreamRetryException.hpp" #include "antlr/TokenStreamRetryException.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -5,8 +5,8 @@
* $Id$ * $Id$
*/ */
#include "antlr/TreeParser.hpp" #include "antlr/TreeParser.h"
#include "antlr/ASTNULLType.hpp" #include "antlr/ASTNULLType.h"
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr { namespace antlr {

@ -19,6 +19,6 @@ rc_DATA = kdevpart_tipofday.rc
rcdir = $(kde_datadir)/kdevtipofday rcdir = $(kde_datadir)/kdevtipofday
messages: rc.cpp messages: rc.cpp
$(PREPARETIPS) > tips.cc $(PREPARETIPS) > tips.cpp
$(XGETTEXT) *.cpp *.h tips.cc -o $(podir)/kdevtipofday.pot $(XGETTEXT) *.cpp *.h tips.cpp -o $(podir)/kdevtipofday.pot
rm -f tips.cc rm -f tips.cpp

Loading…
Cancel
Save