Renaming of files in preparation for code style tools.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/12/head
Michele Calgaro 4 years ago
parent d24f40d9be
commit 7d4f47bd0b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -20,7 +20,7 @@ function GetCurrentSource
# Now, find C++ source and header files # Now, find C++ source and header files
CUR_PWD=$PWD; CUR_PWD=$PWD;
cd $SOURCE_LOCATION; cd $SOURCE_LOCATION;
EXISTING_SOURCE=`/bin/ls -x *.C *.cpp *.cc`; EXISTING_SOURCE=`/bin/ls -x *.cpp`;
EXISTING_HEADER=`/bin/ls -x *.h`; EXISTING_HEADER=`/bin/ls -x *.h`;
cd $CUR_PWD; cd $CUR_PWD;

@ -4,5 +4,5 @@ SUBDIRS = common filters datatools kbabeldict commonui catalogmanager kbabel add
messages: rc.cpp messages: rc.cpp
$(EXTRACTRC) `find . -name \*.rc -o -name \*.ui` >> rc.cpp $(EXTRACTRC) `find . -name \*.rc -o -name \*.ui` >> rc.cpp
$(XGETTEXT) `find . -name \*.cpp -o -name \*.cc` -o $(podir)/kbabel.pot $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/kbabel.pot

@ -17,7 +17,7 @@ include_directories(
) )
##### pofiles.cc (source) ####################### ##### pofiles.cpp (source) #######################
add_custom_command( OUTPUT pofiles.cpp add_custom_command( OUTPUT pofiles.cpp
COMMAND ${LEX_EXECUTABLE} -+ -opofiles.cpp ${CMAKE_CURRENT_SOURCE_DIR}/pofiles.ll COMMAND ${LEX_EXECUTABLE} -+ -opofiles.cpp ${CMAKE_CURRENT_SOURCE_DIR}/pofiles.ll

@ -5,13 +5,13 @@ INCLUDES=$(all_includes)
#LEX_OUTPUT_ROOT = lex.GettextBase #LEX_OUTPUT_ROOT = lex.GettextBase
#AM_LFLAGS = -+ #AM_LFLAGS = -+
CLEANFILES = pofiles.cc CLEANFILES = pofiles.cpp
noinst_LTLIBRARIES = libgettext.la noinst_LTLIBRARIES = libgettext.la
libgettext_la_SOURCES = pofiles.cc libgettext_la_SOURCES = pofiles.cpp
pofiles.cc: $(srcdir)/pofiles.ll pofiles.cpp: $(srcdir)/pofiles.ll
$(LEX) -+ -opofiles.cc $(srcdir)/pofiles.ll $(LEX) -+ -opofiles.cpp $(srcdir)/pofiles.ll
noinst_HEADERS = tokens.h pofiles.h noinst_HEADERS = tokens.h pofiles.h

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_accelstool (module) ################ ##### kbabel_accelstool (module) ################
tde_add_kpart( kbabel_accelstool AUTOMOC tde_add_kpart( kbabel_accelstool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_accelstool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_accelstool.la kde_module_LTLIBRARIES = kbabel_accelstool.la
kbabel_accelstool_la_SOURCES = main.cc kbabel_accelstool_la_SOURCES = main.cpp
kbabel_accelstool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_accelstool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_argstool (module) ####################### ##### kbabel_argstool (module) #######################
tde_add_kpart( kbabel_argstool AUTOMOC tde_add_kpart( kbabel_argstool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_argstool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_argstool.la kde_module_LTLIBRARIES = kbabel_argstool.la
kbabel_argstool_la_SOURCES = main.cc kbabel_argstool_la_SOURCES = main.cpp
kbabel_argstool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_argstool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_contexttool (module) ############### ##### kbabel_contexttool (module) ###############
tde_add_kpart( kbabel_contexttool AUTOMOC tde_add_kpart( kbabel_contexttool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_contexttool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_contexttool.la kde_module_LTLIBRARIES = kbabel_contexttool.la
kbabel_contexttool_la_SOURCES = main.cc kbabel_contexttool_la_SOURCES = main.cpp
kbabel_contexttool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_contexttool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_equationstool (module) ############# ##### kbabel_equationstool (module) #############
tde_add_kpart( kbabel_equationstool AUTOMOC tde_add_kpart( kbabel_equationstool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_equationstool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_equationstool.la kde_module_LTLIBRARIES = kbabel_equationstool.la
kbabel_equationstool_la_SOURCES = main.cc kbabel_equationstool_la_SOURCES = main.cpp
kbabel_equationstool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_equationstool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_lengthtool (module) ################ ##### kbabel_lengthtool (module) ################
tde_add_kpart( kbabel_lengthtool AUTOMOC tde_add_kpart( kbabel_lengthtool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_lengthtool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_lengthtool.la kde_module_LTLIBRARIES = kbabel_lengthtool.la
kbabel_lengthtool_la_SOURCES = main.cc kbabel_lengthtool_la_SOURCES = main.cpp
kbabel_lengthtool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_lengthtool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_nottranslatedtool (module) ######### ##### kbabel_nottranslatedtool (module) #########
tde_add_kpart( kbabel_nottranslatedtool AUTOMOC tde_add_kpart( kbabel_nottranslatedtool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_nottranslatedtool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.l
kde_module_LTLIBRARIES = kbabel_nottranslatedtool.la kde_module_LTLIBRARIES = kbabel_nottranslatedtool.la
kbabel_nottranslatedtool_la_SOURCES = main.cc kbabel_nottranslatedtool_la_SOURCES = main.cpp
kbabel_nottranslatedtool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_nottranslatedtool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_pluraltool (module) ################ ##### kbabel_pluraltool (module) ################
tde_add_kpart( kbabel_pluraltool AUTOMOC tde_add_kpart( kbabel_pluraltool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_pluraltool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_pluraltool.la kde_module_LTLIBRARIES = kbabel_pluraltool.la
kbabel_pluraltool_la_SOURCES = main.cc kbabel_pluraltool_la_SOURCES = main.cpp
kbabel_pluraltool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_pluraltool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_punctuationtool (module) ########### ##### kbabel_punctuationtool (module) ###########
tde_add_kpart( kbabel_punctuationtool AUTOMOC tde_add_kpart( kbabel_punctuationtool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_punctuationtool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_punctuationtool.la kde_module_LTLIBRARIES = kbabel_punctuationtool.la
kbabel_punctuationtool_la_SOURCES = main.cc kbabel_punctuationtool_la_SOURCES = main.cpp
kbabel_punctuationtool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_punctuationtool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -36,7 +36,7 @@ install( FILES regexplist.xml DESTINATION ${DATA_INSTALL_DIR}/kbabel )
##### kbabel_regexptool (module) ################ ##### kbabel_regexptool (module) ################
tde_add_kpart( kbabel_regexptool AUTOMOC tde_add_kpart( kbabel_regexptool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_regexptool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_regexptool.la kde_module_LTLIBRARIES = kbabel_regexptool.la
kbabel_regexptool_la_SOURCES = main.cc kbabel_regexptool_la_SOURCES = main.cpp
kbabel_regexptool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_regexptool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -10,7 +10,7 @@
... ...
</regexplist> </regexplist>
Right now the file should be copied to ~/.trinity/share/apps/kbabel/regexplist.xml. I'm sorry this cannot be configured but hope it will in the future. By the time if you need another location you have to modify the source code (main.cc) Right now the file should be copied to ~/.trinity/share/apps/kbabel/regexplist.xml. I'm sorry this cannot be configured but hope it will in the future. By the time if you need another location you have to modify the source code (main.cpp)
You'll see in the example that most expressions start with '(^| |\\t)+' and then a word. This is to ensure it _is_ a word. Using the usual expressions to ensure we pick up a whole word doesn't work for the catalan language. Anyway, if you need to match a tab be sure you use the '\\t' expression. You'll see in the example that most expressions start with '(^| |\\t)+' and then a word. This is to ensure it _is_ a word. Using the usual expressions to ensure we pick up a whole word doesn't work for the catalan language. Anyway, if you need to match a tab be sure you use the '\\t' expression.

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_setfuzzytool (module) ############## ##### kbabel_setfuzzytool (module) ##############
tde_add_kpart( kbabel_setfuzzytool AUTOMOC tde_add_kpart( kbabel_setfuzzytool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_setfuzzytool_la_LIBADD = ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_setfuzzytool.la kde_module_LTLIBRARIES = kbabel_setfuzzytool.la
kbabel_setfuzzytool_la_SOURCES = main.cc kbabel_setfuzzytool_la_SOURCES = main.cpp
kbabel_setfuzzytool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_setfuzzytool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_whitespacetool (module) ############ ##### kbabel_whitespacetool (module) ############
tde_add_kpart( kbabel_whitespacetool AUTOMOC tde_add_kpart( kbabel_whitespacetool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_whitespacetool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_whitespacetool.la kde_module_LTLIBRARIES = kbabel_whitespacetool.la
kbabel_whitespacetool_la_SOURCES = main.cc kbabel_whitespacetool_la_SOURCES = main.cpp
kbabel_whitespacetool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_whitespacetool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -34,7 +34,7 @@ tde_create_translated_desktop(
##### kbabel_xmltool (module) ################### ##### kbabel_xmltool (module) ###################
tde_add_kpart( kbabel_xmltool AUTOMOC tde_add_kpart( kbabel_xmltool AUTOMOC
SOURCES main.cc SOURCES main.cpp
LINK kbabelcommon-shared LINK kbabelcommon-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -6,7 +6,7 @@ kbabel_xmltool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la
kde_module_LTLIBRARIES = kbabel_xmltool.la kde_module_LTLIBRARIES = kbabel_xmltool.la
kbabel_xmltool_la_SOURCES = main.cc kbabel_xmltool_la_SOURCES = main.cpp
kbabel_xmltool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined kbabel_xmltool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined

@ -20,7 +20,7 @@ EXTRA_DIST = main.cpp spy.cpp spy.h navview.cpp navview.h propsview.cpp \
METASOURCES = AUTO METASOURCES = AUTO
messages: messages:
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \ LIST=`find . -name \*.h -o -name \*.cpp`; \
if test -n "$$LIST"; then \ if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/spy.pot; \ $(XGETTEXT) $$LIST -o $(podir)/spy.pot; \
fi fi

@ -1,12 +1,12 @@
/* $ANTLR 2.7.1: "gettext.g" -> "GettextLexer.cpp"$ */ /* $ANTLR 2.7.1: "gettext.g" -> "GettextLexer.cpp"$ */
#include "GettextLexer.hpp" #include "GettextLexer.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 "gettext.g" #line 1 "gettext.g"

@ -7,18 +7,18 @@
using namespace std; using namespace std;
#include "parser.h" #include "parser.h"
#line 11 "GettextLexer.hpp" #line 11 "GettextLexer.h"
#include "antlr/config.hpp" #include "antlr/config.h"
/* $ANTLR 2.7.1: "gettext.g" -> "GettextLexer.hpp"$ */ /* $ANTLR 2.7.1: "gettext.g" -> "GettextLexer.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 "GettextParserTokenTypes.hpp" #include "GettextParserTokenTypes.h"
#include "antlr/CharScanner.hpp" #include "antlr/CharScanner.h"
class GettextLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public GettextParserTokenTypes class GettextLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public GettextParserTokenTypes
{ {
#line 1 "gettext.g" #line 1 "gettext.g"
#line 22 "GettextLexer.hpp" #line 22 "GettextLexer.h"
private: private:
void initLiterals(); void initLiterals();
public: public:

@ -1,14 +1,14 @@
/* $ANTLR 2.7.1: "gettext.g" -> "GettextParser.cpp"$ */ /* $ANTLR 2.7.1: "gettext.g" -> "GettextParser.cpp"$ */
#include "GettextParser.hpp" #include "GettextParser.h"
#include "antlr/NoViableAltException.hpp" #include "antlr/NoViableAltException.h"
#include "antlr/SemanticException.hpp" #include "antlr/SemanticException.h"
#line 12 "gettext.g" #line 12 "gettext.g"
#include <iostream> #include <iostream>
#include "GettextLexer.hpp" #include "GettextLexer.h"
#include "GettextParser.hpp" #include "GettextParser.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
#include "antlr/CommonAST.hpp" #include "antlr/CommonAST.h"
/* /*
int main() int main()

@ -7,18 +7,18 @@
using namespace std; using namespace std;
#include "parser.h" #include "parser.h"
#line 11 "GettextParser.hpp" #line 11 "GettextParser.h"
#include "antlr/config.hpp" #include "antlr/config.h"
/* $ANTLR 2.7.1: "gettext.g" -> "GettextParser.hpp"$ */ /* $ANTLR 2.7.1: "gettext.g" -> "GettextParser.h"$ */
#include "antlr/TokenStream.hpp" #include "antlr/TokenStream.h"
#include "antlr/TokenBuffer.hpp" #include "antlr/TokenBuffer.h"
#include "GettextParserTokenTypes.hpp" #include "GettextParserTokenTypes.h"
#include "antlr/LLkParser.hpp" #include "antlr/LLkParser.h"
class GettextParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public GettextParserTokenTypes class GettextParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public GettextParserTokenTypes
{ {
#line 1 "gettext.g" #line 1 "gettext.g"
#line 22 "GettextParser.hpp" #line 22 "GettextParser.h"
protected: protected:
GettextParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k); GettextParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k);
public: public:

@ -1,7 +1,7 @@
#ifndef INC_GettextParserTokenTypes_hpp_ #ifndef INC_GettextParserTokenTypes_hpp_
#define INC_GettextParserTokenTypes_hpp_ #define INC_GettextParserTokenTypes_hpp_
/* $ANTLR 2.7.1: "gettext.g" -> "GettextParserTokenTypes.hpp"$ */ /* $ANTLR 2.7.1: "gettext.g" -> "GettextParserTokenTypes.h"$ */
struct GettextParserTokenTypes { struct GettextParserTokenTypes {
enum { enum {
EOF_ = 1, EOF_ = 1,

@ -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.

@ -33,7 +33,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include <exception> #include <exception>
#include <string> #include <string>

@ -33,9 +33,9 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#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>

@ -33,8 +33,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,10 +33,10 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#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"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,8 +33,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -32,8 +32,8 @@
* @author <br>John Lilley, <a href=http://www.Empathy.com>Empathy Software</a> * @author <br>John Lilley, <a href=http://www.Empathy.com>Empathy Software</a>
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,7 +33,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
# include "antlr/config.hpp" # include "antlr/config.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,8 +33,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,7 +1,7 @@
#ifndef INC_BitSet_hpp__ #ifndef INC_BitSet_hpp__
#define INC_BitSet_hpp__ #define INC_BitSet_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include <vector> #include <vector>
#include <stdexcept> #include <stdexcept>

@ -46,8 +46,8 @@
* @see antlr.CharQueue * @see antlr.CharQueue
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/InputBuffer.hpp" #include "antlr/InputBuffer.h"
#include <iostream> #include <iostream>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -36,12 +36,12 @@
*/ */
#include <cstdio> #include <cstdio>
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/TokenStream.hpp" #include "antlr/TokenStream.h"
#include "antlr/RecognitionException.hpp" #include "antlr/RecognitionException.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"
#include <map> #include <map>
#include <cstdio> #include <cstdio>

@ -1,8 +1,8 @@
#ifndef INC_CharStreamException_hpp__ #ifndef INC_CharStreamException_hpp__
#define INC_CharStreamException_hpp__ #define INC_CharStreamException_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/ANTLRException.hpp" #include "antlr/ANTLRException.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,8 +1,8 @@
#ifndef INC_CharStreamIOException_hpp__ #ifndef INC_CharStreamIOException_hpp__
#define INC_CharStreamIOException_hpp__ #define INC_CharStreamIOException_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/CharStreamException.hpp" #include "antlr/CharStreamException.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,7 +33,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include <vector> #include <vector>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,8 +33,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/BaseAST.hpp" #include "antlr/BaseAST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -5,8 +5,8 @@
* information from the Token used to create a node. * information from the Token used to create a node.
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/CommonAST.hpp" #include "antlr/CommonAST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,8 +1,8 @@
#ifndef INC_CommonHiddenStreamToken_hpp__ #ifndef INC_CommonHiddenStreamToken_hpp__
#define INC_CommonHiddenStreamToken_hpp__ #define INC_CommonHiddenStreamToken_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/CommonToken.hpp" #include "antlr/CommonToken.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,8 +33,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/Token.hpp" #include "antlr/Token.h"
#include <string> #include <string>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -46,8 +46,8 @@
* @see antlr.CharQueue * @see antlr.CharQueue
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/CircularQueue.hpp" #include "antlr/CircularQueue.h"
#include <string> #include <string>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,8 +33,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/Parser.hpp" #include "antlr/Parser.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,9 +1,9 @@
#ifndef INC_LexerSharedInputState_hpp__ #ifndef INC_LexerSharedInputState_hpp__
#define INC_LexerSharedInputState_hpp__ #define INC_LexerSharedInputState_hpp__
#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 <string> #include <string>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

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

@ -33,10 +33,10 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#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/CharScanner.hpp" #include "antlr/CharScanner.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,11 +33,11 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#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>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,10 +33,10 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#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"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,9 +33,9 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/RecognitionException.hpp" #include "antlr/RecognitionException.h"
#include "antlr/CharScanner.hpp" #include "antlr/CharScanner.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,12 +33,12 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#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/ASTFactory.hpp" #include "antlr/ASTFactory.h"
#include "antlr/ParserSharedInputState.hpp" #include "antlr/ParserSharedInputState.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,9 +1,9 @@
#ifndef INC_ParserSharedInputState_hpp__ #ifndef INC_ParserSharedInputState_hpp__
#define INC_ParserSharedInputState_hpp__ #define INC_ParserSharedInputState_hpp__
#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>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,8 +33,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/ANTLRException.hpp" #include "antlr/ANTLRException.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,7 +33,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,8 +33,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/RecognitionException.hpp" #include "antlr/RecognitionException.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,7 +33,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include <string> #include <string>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,8 +33,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/RefCount.hpp" #include "antlr/RefCount.h"
#include <string> #include <string>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,9 +33,9 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/TokenStream.hpp" #include "antlr/TokenStream.h"
#include "antlr/CircularQueue.hpp" #include "antlr/CircularQueue.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -38,8 +38,8 @@
* @author Terence Parr, MageLang Institute * @author Terence Parr, MageLang Institute
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/Token.hpp" #include "antlr/Token.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,9 +1,9 @@
#ifndef INC_TokenStreamBasicFilter_hpp__ #ifndef INC_TokenStreamBasicFilter_hpp__
#define INC_TokenStreamBasicFilter_hpp__ #define INC_TokenStreamBasicFilter_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/BitSet.hpp" #include "antlr/BitSet.h"
#include "antlr/TokenStream.hpp" #include "antlr/TokenStream.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,8 +1,8 @@
#ifndef INC_TokenStreamException_hpp__ #ifndef INC_TokenStreamException_hpp__
#define INC_TokenStreamException_hpp__ #define INC_TokenStreamException_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/ANTLRException.hpp" #include "antlr/ANTLRException.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,8 +1,8 @@
#ifndef INC_TokenStreamHiddenTokenFilter_hpp__ #ifndef INC_TokenStreamHiddenTokenFilter_hpp__
#define INC_TokenStreamHiddenTokenFilter_hpp__ #define INC_TokenStreamHiddenTokenFilter_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/TokenStreamBasicFilter.hpp" #include "antlr/TokenStreamBasicFilter.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,8 +1,8 @@
#ifndef INC_TokenStreamIOException_hpp__ #ifndef INC_TokenStreamIOException_hpp__
#define INC_TokenStreamIOException_hpp__ #define INC_TokenStreamIOException_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/TokenStreamException.hpp" #include "antlr/TokenStreamException.h"
#include <exception> #include <exception>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,8 +1,8 @@
#ifndef INC_TokenStreamRecognitionException_hpp__ #ifndef INC_TokenStreamRecognitionException_hpp__
#define INC_TokenStreamRecognitionException_hpp__ #define INC_TokenStreamRecognitionException_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/TokenStreamException.hpp" #include "antlr/TokenStreamException.h"
#include <exception> #include <exception>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,8 +1,8 @@
#ifndef INC_TokenStreamRetryException_hpp__ #ifndef INC_TokenStreamRetryException_hpp__
#define INC_TokenStreamRetryException_hpp__ #define INC_TokenStreamRetryException_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/TokenStreamException.hpp" #include "antlr/TokenStreamException.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,8 +1,8 @@
#ifndef INC_TokenStreamSelector_hpp__ #ifndef INC_TokenStreamSelector_hpp__
#define INC_TokenStreamSelector_hpp__ #define INC_TokenStreamSelector_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/TokenStream.hpp" #include "antlr/TokenStream.h"
#include <map> #include <map>
#include <stack> #include <stack>

@ -32,12 +32,12 @@
* @author <br>John Lilley, <a href=http://www.Empathy.com>Empathy Software</a> * @author <br>John Lilley, <a href=http://www.Empathy.com>Empathy Software</a>
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#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/TreeParserSharedInputState.hpp" #include "antlr/TreeParserSharedInputState.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,8 +1,8 @@
#ifndef INC_TreeParserSharedInputState_hpp__ #ifndef INC_TreeParserSharedInputState_hpp__
#define INC_TreeParserSharedInputState_hpp__ #define INC_TreeParserSharedInputState_hpp__
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/RefCount.hpp" #include "antlr/RefCount.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,7 +30,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/ANTLRException.hpp" #include "antlr/ANTLRException.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,8 +30,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/ASTFactory.hpp" #include "antlr/ASTFactory.h"
#include "antlr/CommonAST.hpp" #include "antlr/CommonAST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,5 +1,5 @@
#include "antlr/ASTRefCount.hpp" #include "antlr/ASTRefCount.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,7 +30,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/BaseAST.hpp" #include "antlr/BaseAST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,4 +1,4 @@
#include "antlr/BitSet.hpp" #include "antlr/BitSet.h"
#include <string> #include <string>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -43,7 +43,7 @@
* @see antlr.CharQueue * @see antlr.CharQueue
*/ */
#include "antlr/CharBuffer.hpp" #include "antlr/CharBuffer.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,9 +30,9 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/CharScanner.hpp" #include "antlr/CharScanner.h"
#include "antlr/CommonToken.hpp" #include "antlr/CommonToken.h"
#include "antlr/MismatchedCharException.hpp" #include "antlr/MismatchedCharException.h"
#include <map> #include <map>
#ifdef HAS_NOT_CCTYPE_H #ifdef HAS_NOT_CCTYPE_H

@ -30,8 +30,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/CommonAST.hpp" #include "antlr/CommonAST.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,6 +1,6 @@
#include "antlr/config.hpp" #include "antlr/config.h"
#include "antlr/CommonASTWithHiddenTokens.hpp" #include "antlr/CommonASTWithHiddenTokens.h"
#include "antlr/CommonHiddenStreamToken.hpp" #include "antlr/CommonHiddenStreamToken.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,4 +1,4 @@
#include "antlr/CommonHiddenStreamToken.hpp" #include "antlr/CommonHiddenStreamToken.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,8 +30,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/CommonToken.hpp" #include "antlr/CommonToken.h"
#include "antlr/String.hpp" #include "antlr/String.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -43,7 +43,7 @@
* @see antlr.CharQueue * @see antlr.CharQueue
*/ */
#include "antlr/InputBuffer.hpp" #include "antlr/InputBuffer.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,7 +30,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/LLkParser.hpp" #include "antlr/LLkParser.h"
#include <iostream> #include <iostream>
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,5 +1,5 @@
#include "antlr/LexerSharedInputState.hpp" #include "antlr/LexerSharedInputState.h"
#include "antlr/CharBuffer.hpp" #include "antlr/CharBuffer.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,8 +30,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/MismatchedCharException.hpp" #include "antlr/MismatchedCharException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,8 +30,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/MismatchedTokenException.hpp" #include "antlr/MismatchedTokenException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,8 +30,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/NoViableAltException.hpp" #include "antlr/NoViableAltException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,8 +30,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/NoViableAltForCharException.hpp" #include "antlr/NoViableAltForCharException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,12 +30,12 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/Parser.hpp" #include "antlr/Parser.h"
#include "antlr/BitSet.hpp" #include "antlr/BitSet.h"
#include "antlr/TokenBuffer.hpp" #include "antlr/TokenBuffer.h"
#include "antlr/MismatchedTokenException.hpp" #include "antlr/MismatchedTokenException.h"
//#include "antlr/ASTFactory.hpp" //#include "antlr/ASTFactory.h"
#include <iostream> #include <iostream>
#include <stdlib.h> #include <stdlib.h>

@ -1,4 +1,4 @@
#include "antlr/ParserSharedInputState.hpp" #include "antlr/ParserSharedInputState.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,8 +30,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/RecognitionException.hpp" #include "antlr/RecognitionException.h"
#include "antlr/String.hpp" #include "antlr/String.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,7 +30,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/String.hpp" #include "antlr/String.h"
#ifdef HAS_NOT_CSTDIO_H #ifdef HAS_NOT_CSTDIO_H
#include <stdio.h> #include <stdio.h>

@ -30,8 +30,8 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/Token.hpp" #include "antlr/Token.h"
#include "antlr/String.hpp" #include "antlr/String.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -30,7 +30,7 @@
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/TokenBuffer.hpp" #include "antlr/TokenBuffer.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,4 +1,4 @@
#include "antlr/TokenStreamBasicFilter.hpp" #include "antlr/TokenStreamBasicFilter.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,5 +1,5 @@
#include "antlr/TokenStreamHiddenTokenFilter.hpp" #include "antlr/TokenStreamHiddenTokenFilter.h"
#include "antlr/CommonHiddenStreamToken.hpp" #include "antlr/CommonHiddenStreamToken.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,5 +1,5 @@
#include "antlr/TokenStreamSelector.hpp" #include "antlr/TokenStreamSelector.h"
#include "antlr/TokenStreamRetryException.hpp" #include "antlr/TokenStreamRetryException.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -29,9 +29,9 @@
* @author <br>John Lilley, <a href=http://www.Empathy.com>Empathy Software</a> * @author <br>John Lilley, <a href=http://www.Empathy.com>Empathy Software</a>
* @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a> * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
*/ */
#include "antlr/TreeParser.hpp" #include "antlr/TreeParser.h"
#include "antlr/ASTNULLType.hpp" #include "antlr/ASTNULLType.h"
#include "antlr/MismatchedTokenException.hpp" #include "antlr/MismatchedTokenException.h"
#include <iostream> #include <iostream>
#include <stdlib.h> #include <stdlib.h>

@ -1,4 +1,4 @@
#include "antlr/TreeParserSharedInputState.hpp" #include "antlr/TreeParserSharedInputState.h"
ANTLR_BEGIN_NAMESPACE(antlr) ANTLR_BEGIN_NAMESPACE(antlr)

@ -11,10 +11,10 @@ options {
{ {
#include <iostream> #include <iostream>
#include "GettextLexer.hpp" #include "GettextLexer.h"
#include "GettextParser.hpp" #include "GettextParser.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
#include "antlr/CommonAST.hpp" #include "antlr/CommonAST.h"
/* /*
int main() int main()

@ -7,10 +7,10 @@
#include <tqregexp.h> #include <tqregexp.h>
#include <fstream> #include <fstream>
#include "GettextLexer.hpp" #include "GettextLexer.h"
#include "GettextParser.hpp" #include "GettextParser.h"
#include "antlr/AST.hpp" #include "antlr/AST.h"
#include "antlr/CommonAST.hpp" #include "antlr/CommonAST.h"
using namespace std; using namespace std;

@ -1,8 +1,8 @@
#include <iostream> #include <iostream>
using namespace std; using namespace std;
#include "GettextParser.hpp" #include "GettextParser.h"
#include <fstream> #include <fstream>
#include "GettextLexer.hpp" #include "GettextLexer.h"
int main(int argc, char **argv) int main(int argc, char **argv)
{ {

@ -1,8 +1,8 @@
#include <iostream> #include <iostream>
using namespace std; using namespace std;
#include "GettextParser.hpp" #include "GettextParser.h"
#include <fstream> #include <fstream>
#include "GettextLexer.hpp" #include "GettextLexer.h"
#include <tqregexp.h> #include <tqregexp.h>
#include <tqdatetime.h> #include <tqdatetime.h>

@ -140,7 +140,7 @@ umbrello_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
messages: rc.cpp messages: rc.cpp
$(PREPARETIPS) > tips.txt $(PREPARETIPS) > tips.txt
$(EXTRACTRC) *.rc codegenerators/*.ui dialogs/*.ui > ./rc.cpp $(EXTRACTRC) *.rc codegenerators/*.ui dialogs/*.ui > ./rc.cpp
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.txt -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \ LIST=`find . -name \*.h -o -name \*.txt -o -name \*.cpp`; \
if test -n "$$LIST"; then \ if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/umbrello.pot; \ $(XGETTEXT) $$LIST -o $(podir)/umbrello.pot; \
fi fi

Loading…
Cancel
Save