Renaming of files in preparation for code style tools.

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

@ -36,7 +36,6 @@ messages:
done
dirs=`cat dirs` ;\
find $$dirs -maxdepth 1 -name "*.cpp" -print > files ;\
find $$dirs -maxdepth 1 -name "*.cc" -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 "*.ui"` >> rc.cpp ;\

@ -13,7 +13,7 @@ libkdevautotoolsparser_la_SOURCES = autotoolsast.cpp autotoolsdriver.cpp autotoo
parser:
cd $(srcdir) ; \
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
EXTRA_DIST = autotools.yy autotools.ll

@ -33,16 +33,16 @@
version 2.2 of Bison. */
/**
** \file location.hh
** \file location.h
** Define the TQMake::location class.
*/
#ifndef BISON_LOCATION_HH
# define BISON_LOCATION_HH
#ifndef BISON_LOCATION_H
# define BISON_LOCATION_H
# include <iostream>
# include <string>
# include "position.hh"
# include "position.h"
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. */
/**
** \file position.hh
** \file position.h
** Define the TQMake::position class.
*/
#ifndef BISON_POSITION_HH
# define BISON_POSITION_HH
#ifndef BISON_POSITION_H
# define BISON_POSITION_H
# include <iostream>
# 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"
%name-prefix="QMake"
%parse-param { QMake::Lexer* lexer }

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

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

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

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

@ -32,8 +32,8 @@
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
#ifndef BISON_STACK_HH
# define BISON_STACK_HH
#ifndef BISON_STACK_H
# define BISON_STACK_H
#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
#define ADAAST_HPP
#include <antlr/CommonAST.hpp>
#include <antlr/CommonAST.h>
class AdaAST;
typedef antlr::ASTRefCount<AdaAST> RefAdaAST;

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

@ -1,20 +1,20 @@
#ifndef INC_AdaLexer_hpp_
#define INC_AdaLexer_hpp_
#ifndef INC_AdaLexer_h_
#define INC_AdaLexer_h_
#line 29 "ada.g"
#include <antlr/SemanticException.hpp> // antlr wants this
#include "AdaAST.hpp"
#include <antlr/SemanticException.h> // antlr wants this
#include "AdaAST.h"
#include "preambles.h"
#line 11 "AdaLexer.hpp"
#include <antlr/config.hpp>
/* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaLexer.hpp"$ */
#include <antlr/CommonToken.hpp>
#include <antlr/InputBuffer.hpp>
#include <antlr/BitSet.hpp>
#include "AdaTokenTypes.hpp"
#include <antlr/CharScanner.hpp>
#line 11 "AdaLexer.h"
#include <antlr/config.h>
/* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaLexer.h"$ */
#include <antlr/CommonToken.h>
#include <antlr/InputBuffer.h>
#include <antlr/BitSet.h>
#include "AdaTokenTypes.h"
#include <antlr/CharScanner.h>
class CUSTOM_API AdaLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public AdaTokenTypes
{
#line 1879 "ada.g"
@ -22,7 +22,7 @@ class CUSTOM_API AdaLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public
ANTLR_LEXER_PREAMBLE
private:
bool lastTokenWasTicCompatible;
#line 22 "AdaLexer.hpp"
#line 22 "AdaLexer.h"
private:
void initLiterals();
public:
@ -83,4 +83,4 @@ private:
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"$ */
#include "AdaParser.hpp"
#include <antlr/NoViableAltException.hpp>
#include <antlr/SemanticException.hpp>
#include <antlr/ASTFactory.hpp>
#include "AdaParser.h"
#include <antlr/NoViableAltException.h>
#include <antlr/SemanticException.h>
#include <antlr/ASTFactory.h>
#line 1 "ada.g"
#line 8 "AdaParser.cpp"
AdaParser::AdaParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k)

@ -1,19 +1,19 @@
#ifndef INC_AdaParser_hpp_
#define INC_AdaParser_hpp_
#ifndef INC_AdaParser_h_
#define INC_AdaParser_h_
#line 29 "ada.g"
#include <antlr/SemanticException.hpp> // antlr wants this
#include "AdaAST.hpp"
#include <antlr/SemanticException.h> // antlr wants this
#include "AdaAST.h"
#include "preambles.h"
#line 11 "AdaParser.hpp"
#include <antlr/config.hpp>
/* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaParser.hpp"$ */
#include <antlr/TokenStream.hpp>
#include <antlr/TokenBuffer.hpp>
#include "AdaTokenTypes.hpp"
#include <antlr/LLkParser.hpp>
#line 11 "AdaParser.h"
#include <antlr/config.h>
/* $ANTLR 2.7.7 (20070609): "ada.g" -> "AdaParser.h"$ */
#include <antlr/TokenStream.h>
#include <antlr/TokenBuffer.h>
#include "AdaTokenTypes.h"
#include <antlr/LLkParser.h>
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 definable_operator (const char *string); // operator_symbol sans "/="
bool is_operator_symbol (const char *string);
#line 22 "AdaParser.hpp"
#line 22 "AdaParser.h"
public:
void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
protected:
@ -386,4 +386,4 @@ private:
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"$ */
#include "AdaStoreWalker.hpp"
#include <antlr/Token.hpp>
#include <antlr/AST.hpp>
#include <antlr/NoViableAltException.hpp>
#include <antlr/MismatchedTokenException.hpp>
#include <antlr/SemanticException.hpp>
#include <antlr/BitSet.hpp>
#include "AdaStoreWalker.h"
#include <antlr/Token.h>
#include <antlr/AST.h>
#include <antlr/NoViableAltException.h>
#include <antlr/MismatchedTokenException.h>
#include <antlr/SemanticException.h>
#include <antlr/BitSet.h>
#line 1 "expandedada.store.g"
#line 11 "AdaStoreWalker.cpp"
AdaStoreWalker::AdaStoreWalker()

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

@ -1,7 +1,7 @@
#ifndef INC_AdaTokenTypes_hpp_
#define INC_AdaTokenTypes_hpp_
#ifndef INC_AdaTokenTypes_h_
#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
# define CUSTOM_API
@ -303,4 +303,4 @@ struct CUSTOM_API AdaTokenTypes {
#ifdef __cplusplus
};
#endif
#endif /*INC_AdaTokenTypes_hpp_*/
#endif /*INC_AdaTokenTypes_h_*/

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

@ -1,15 +1,15 @@
#ifndef INC_AdaTreeParserSuper_hpp_
#define INC_AdaTreeParserSuper_hpp_
#ifndef INC_AdaTreeParserSuper_h_
#define INC_AdaTreeParserSuper_h_
#include <antlr/config.hpp>
#include "AdaTreeParserSuperTokenTypes.hpp"
/* $ANTLR 2.7.7 (20070609): "ada.tree.g" -> "AdaTreeParserSuper.hpp"$ */
#include <antlr/TreeParser.hpp>
#include <antlr/config.h>
#include "AdaTreeParserSuperTokenTypes.h"
/* $ANTLR 2.7.7 (20070609): "ada.tree.g" -> "AdaTreeParserSuper.h"$ */
#include <antlr/TreeParser.h>
class CUSTOM_API AdaTreeParserSuper : public ANTLR_USE_NAMESPACE(antlr)TreeParser, public AdaTreeParserSuperTokenTypes
{
#line 1 "ada.tree.g"
#line 13 "AdaTreeParserSuper.hpp"
#line 13 "AdaTreeParserSuper.h"
public:
AdaTreeParserSuper();
static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
@ -238,4 +238,4 @@ private:
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_
#define INC_AdaTreeParserSuperTokenTypes_hpp_
#ifndef INC_AdaTreeParserSuperTokenTypes_h_
#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
# define CUSTOM_API
@ -304,4 +304,4 @@ struct CUSTOM_API AdaTreeParserSuperTokenTypes {
#ifdef __cplusplus
};
#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,
## 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
#AdaTreeParserSuper.hpp AdaTreeParserSuper.cpp: ada.tree.g
#AdaTreeParserSuper.h AdaTreeParserSuper.cpp: 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
genparser:

@ -2,10 +2,10 @@
Ada Language Support
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
- AdaAST.hpp -- definition of the AST node used by ada.g
- adasupport.hpp -- general purpose utilities
- AdaAST.h -- definition of the AST node used by ada.g
- adasupport.h -- general purpose utilities
- adasupport.cpp -- implementation of general purpose utilities and implementation of AdaParser class methods from ada.g
These are ANTLR master files.

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

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

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

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

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

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

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

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

@ -1,7 +1,7 @@
dataFiles = acconfig.h autogen.sh gnome2mm.glade main_window.cc \
main_window_glade.hh Makefile.am app-Makefile.am \
configure.in gnome2mm.gladep main_window.hh \
app.kdevelop gnome2mm.cc gnome2mmapp main_window_glade.cc\
dataFiles = acconfig.h autogen.sh gnome2mm.glade main_window.cpp \
main_window_glade.h Makefile.am app-Makefile.am \
configure.in gnome2mm.gladep main_window.h \
app.kdevelop gnome2mm.cpp gnome2mmapp main_window_glade.cpp\
src-Makefile.am config.h gnome2mmapp.png
templateName = gnome2mmapp
@ -18,4 +18,4 @@ $(templateName).tar.gz: ${dataFiles}
archivedir = ${appwizarddatadir}
archive_DATA = $(templateName).tar.gz ${templateName}.png
CLEANFILES = *.tar.gz
CLEANFILES = *.tar.gz

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

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

@ -1,11 +1,9 @@
%{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!
#include "config.h"
#include "main_window.hh"
#include "main_window.h"
#include <gtk--/main.h>

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

@ -4,11 +4,11 @@
// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade
// 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 <libgnome/libgnome.h>
#include "main_window_glade.hh"
#include "main_window_glade.h"
#include <gdk/gdkkeysyms.h>
#include <gtk--/accelgroup.h>

@ -4,10 +4,10 @@
// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade
// 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
# define _MAIN_WINDOW_GLADE_HH
#ifndef _MAIN_WINDOW_GLADE_H
# define _MAIN_WINDOW_GLADE_H
#if !defined(GLADEMM_DATA)

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

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

@ -1,7 +1,7 @@
dataFiles = acconfig.h autogen.sh gtk2mm.glade main_window.cc \
main_window_glade.hh Makefile.am app-Makefile.am \
configure.in gtk2mm.gladep main_window.hh \
app.kdevelop gtk2mm.cc main_window_glade.cc\
dataFiles = acconfig.h autogen.sh gtk2mm.glade main_window.cpp \
main_window_glade.h Makefile.am app-Makefile.am \
configure.in gtk2mm.gladep main_window.h \
app.kdevelop gtk2mm.cpp main_window_glade.cpp\
src-Makefile.am config.h gtk2mmapp.png
templateName = gtk2mmapp
@ -18,4 +18,4 @@ $(templateName).tar.gz: ${dataFiles}
archivedir = ${appwizarddatadir}
archive_DATA = $(templateName).tar.gz ${templateName}.png
CLEANFILES = *.tar.gz
CLEANFILES = *.tar.gz

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

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

@ -1,11 +1,9 @@
%{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!
#include "config.h"
#include "main_window.hh"
#include "main_window.h"
bool main_window::quit(GdkEventAny *ev)
{ return 0;

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

@ -3,7 +3,7 @@
// DO NOT EDIT THIS FILE ! It was created using glade--
// 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
@ -18,7 +18,7 @@
#else //gtkmm 2.2
#define GMM_GTKMM_22_24(a,b) a
#endif //
#include "main_window_glade.hh"
#include "main_window_glade.h"
#include <gdk/gdkkeysyms.h>
#include <gtkmm/accelgroup.h>

@ -3,10 +3,10 @@
// DO NOT EDIT THIS FILE ! It was created using glade--
// 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
# define _MAIN_WINDOW_GLADE_HH
#ifndef _MAIN_WINDOW_GLADE_H
# define _MAIN_WINDOW_GLADE_H
#if !defined(GLADEMM_DATA)

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

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

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

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

@ -1,10 +1,10 @@
#ifndef INC_JavaRecognizer_hpp_
#define INC_JavaRecognizer_hpp_
#ifndef INC_JavaRecognizer_h_
#define INC_JavaRecognizer_h_
#line 2 "java.g"
#include "driver.h"
#include "JavaAST.hpp"
#include "JavaAST.h"
#include <tqlistview.h>
#include <kdebug.h>
@ -15,13 +15,13 @@
RefJavaAST(ast)->setColumn( t->getColumn() ); \
}
#line 19 "JavaRecognizer.hpp"
#include <antlr/config.hpp>
/* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaRecognizer.hpp"$ */
#include <antlr/TokenStream.hpp>
#include <antlr/TokenBuffer.hpp>
#include "JavaTokenTypes.hpp"
#include <antlr/LLkParser.hpp>
#line 19 "JavaRecognizer.h"
#include <antlr/config.h>
/* $ANTLR 2.7.7 (20061129): "java.g" -> "JavaRecognizer.h"$ */
#include <antlr/TokenStream.h>
#include <antlr/TokenBuffer.h>
#include "JavaTokenTypes.h"
#include <antlr/LLkParser.h>
/** Java 1.3 Recognizer
*
@ -157,7 +157,7 @@ public:
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()) );
}
#line 142 "JavaRecognizer.hpp"
#line 142 "JavaRecognizer.h"
public:
void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
protected:
@ -420,4 +420,4 @@ private:
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"$ */
#include "JavaStoreWalker.hpp"
#include <antlr/Token.hpp>
#include <antlr/AST.hpp>
#include <antlr/NoViableAltException.hpp>
#include <antlr/MismatchedTokenException.hpp>
#include <antlr/SemanticException.hpp>
#include <antlr/BitSet.hpp>
#include "JavaStoreWalker.h"
#include <antlr/Token.h>
#include <antlr/AST.h>
#include <antlr/NoViableAltException.h>
#include <antlr/MismatchedTokenException.h>
#include <antlr/SemanticException.h>
#include <antlr/BitSet.h>
#line 1 "java.store.g"
#line 11 "JavaStoreWalker.cpp"
JavaStoreWalker::JavaStoreWalker()

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

@ -1,7 +1,7 @@
#ifndef INC_JavaTokenTypes_hpp_
#define INC_JavaTokenTypes_hpp_
#ifndef INC_JavaTokenTypes_h_
#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
# define CUSTOM_API
@ -165,4 +165,4 @@ struct CUSTOM_API JavaTokenTypes {
#ifdef __cplusplus
};
#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
#JavaLexer.hpp JavaLexer.cpp JavaRecognizer.hpp JavaRecognizer.cpp: # java.g
#JavaLexer.h JavaLexer.cpp JavaRecognizer.h JavaRecognizer.cpp: # java.g
# antlr java.g
#JavaStoreWalker.hpp JavaStoreWalker.cpp: # java.store.g
#JavaStoreWalker.h JavaStoreWalker.cpp: # java.store.g
# antlr java.store.g
METASOURCES = AUTO

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

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

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

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

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

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

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

@ -23,10 +23,10 @@ genparser:
antlr pascal.g && antlr pascal.tree.g
## 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
#PascalStoreWalker.hpp PascalStoreWalker.cpp: pascal.tree.g
#PascalStoreWalker.h PascalStoreWalker.cpp: pascal.tree.g
# antlr pascal.tree.g
templatedir = ${kde_datadir}/kdevabbrev/templates

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

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

@ -1,10 +1,10 @@
#ifndef INC_PascalLexer_hpp_
#define INC_PascalLexer_hpp_
#ifndef INC_PascalLexer_h_
#define INC_PascalLexer_h_
#line 29 "pascal.g"
#include "problemreporter.h"
#include "PascalAST.hpp"
#include "PascalAST.h"
#include <tqlistview.h>
#include <kdebug.h>
@ -15,14 +15,14 @@
RefPascalAST(ast)->setColumn( t->getColumn() ); \
}
#line 19 "PascalLexer.hpp"
#include <antlr/config.hpp>
/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalLexer.hpp"$ */
#include <antlr/CommonToken.hpp>
#include <antlr/InputBuffer.hpp>
#include <antlr/BitSet.hpp>
#include "PascalTokenTypes.hpp"
#include <antlr/CharScanner.hpp>
#line 19 "PascalLexer.h"
#include <antlr/config.h>
/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalLexer.h"$ */
#include <antlr/CommonToken.h>
#include <antlr/InputBuffer.h>
#include <antlr/BitSet.h>
#include "PascalTokenTypes.h"
#include <antlr/CharScanner.h>
class CUSTOM_API PascalLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public PascalTokenTypes
{
#line 1067 "pascal.g"
@ -56,7 +56,7 @@ public:
getFilename().c_str(),
getLine(), getColumn() );
}
#line 30 "PascalLexer.hpp"
#line 30 "PascalLexer.h"
private:
void initLiterals();
public:
@ -118,4 +118,4 @@ private:
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"$ */
#include "PascalParser.hpp"
#include <antlr/NoViableAltException.hpp>
#include <antlr/SemanticException.hpp>
#include <antlr/ASTFactory.hpp>
#include "PascalParser.h"
#include <antlr/NoViableAltException.h>
#include <antlr/SemanticException.h>
#include <antlr/ASTFactory.h>
#line 1 "pascal.g"
#line 8 "PascalParser.cpp"
PascalParser::PascalParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k)

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

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

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

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

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

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

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

@ -64,7 +64,7 @@ and compile with an option to define away the word 'std', such as
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.
Don't forget to submit those changes back to us (along with compiler info)
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:
> 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()
breaks things for gcc-2.95.2. Fix this in next release portably.

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

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

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

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

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

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

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

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

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

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

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

@ -1,5 +1,5 @@
#ifndef INC_CharInputBuffer_hpp__
# define INC_CharInputBuffer_hpp__
#ifndef INC_CharInputBuffer_h__
# define INC_CharInputBuffer_h__
/* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com
@ -8,8 +8,8 @@
* $Id$
*/
# include <antlr/config.hpp>
# include <antlr/InputBuffer.hpp>
# include <antlr/config.h>
# include <antlr/InputBuffer.h>
# ifdef HAS_NOT_CCTYPE_H
# include <ctype.h>
@ -21,12 +21,12 @@
namespace antlr {
#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
{
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.
* @note it is assumed the buffer was allocated with new[]!
*/

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

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

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

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

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

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

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

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

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

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

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

@ -1,5 +1,5 @@
#ifndef INC_LexerSharedInputState_hpp__
#define INC_LexerSharedInputState_hpp__
#ifndef INC_LexerSharedInputState_h__
#define INC_LexerSharedInputState_h__
/* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com
@ -8,10 +8,10 @@
* $Id$
*/
#include <antlr/config.hpp>
#include <antlr/InputBuffer.hpp>
#include <antlr/RefCount.hpp>
#include <antlr/CharBuffer.hpp>
#include <antlr/config.h>
#include <antlr/InputBuffer.h>
#include <antlr/RefCount.h>
#include <antlr/CharBuffer.h>
#include <string>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
@ -153,4 +153,4 @@ typedef RefCount<LexerInputState> LexerSharedInputState;
}
#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__
#define INC_MismatchedCharException_hpp__
#ifndef INC_MismatchedCharException_h__
#define INC_MismatchedCharException_h__
/* ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com
@ -8,9 +8,9 @@
* $Id$
*/
#include <antlr/config.hpp>
#include <antlr/RecognitionException.hpp>
#include <antlr/BitSet.hpp>
#include <antlr/config.h>
#include <antlr/RecognitionException.h>
#include <antlr/BitSet.h>
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
namespace antlr {
@ -99,4 +99,4 @@ public:
}
#endif
#endif //INC_MismatchedCharException_hpp__
#endif //INC_MismatchedCharException_h__

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save