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
CUR_PWD=$PWD;
cd $SOURCE_LOCATION;
EXISTING_SOURCE=`/bin/ls -x *.C *.cpp *.cc`;
EXISTING_SOURCE=`/bin/ls -x *.cpp`;
EXISTING_HEADER=`/bin/ls -x *.h`;
cd $CUR_PWD;

@ -4,5 +4,5 @@ SUBDIRS = common filters datatools kbabeldict commonui catalogmanager kbabel add
messages: 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
COMMAND ${LEX_EXECUTABLE} -+ -opofiles.cpp ${CMAKE_CURRENT_SOURCE_DIR}/pofiles.ll

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

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

@ -6,7 +6,7 @@ kbabel_accelstool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

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

@ -6,7 +6,7 @@ kbabel_argstool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

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

@ -6,7 +6,7 @@ kbabel_contexttool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

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

@ -6,7 +6,7 @@ kbabel_equationstool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

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

@ -6,7 +6,7 @@ kbabel_lengthtool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

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

@ -6,7 +6,7 @@ kbabel_nottranslatedtool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.l
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

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

@ -6,7 +6,7 @@ kbabel_pluraltool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

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

@ -6,7 +6,7 @@ kbabel_punctuationtool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

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

@ -6,7 +6,7 @@ kbabel_regexptool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

@ -10,7 +10,7 @@
...
</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.

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

@ -6,7 +6,7 @@ kbabel_setfuzzytool_la_LIBADD = ../../common/libkbabelcommon.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

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

@ -6,7 +6,7 @@ kbabel_whitespacetool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

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

@ -6,7 +6,7 @@ kbabel_xmltool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.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

@ -20,7 +20,7 @@ EXTRA_DIST = main.cpp spy.cpp spy.h navview.cpp navview.h propsview.cpp \
METASOURCES = AUTO
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 \
$(XGETTEXT) $$LIST -o $(podir)/spy.pot; \
fi

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

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

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

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

@ -1,7 +1,7 @@
#ifndef 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 {
enum {
EOF_ = 1,

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

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

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

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

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

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

@ -32,8 +32,8 @@
* @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>
*/
#include "antlr/config.hpp"
#include "antlr/AST.hpp"
#include "antlr/config.h"
#include "antlr/AST.h"
ANTLR_BEGIN_NAMESPACE(antlr)

@ -33,7 +33,7 @@
* @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)

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

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

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

@ -36,12 +36,12 @@
*/
#include <cstdio>
#include "antlr/config.hpp"
#include "antlr/TokenStream.hpp"
#include "antlr/RecognitionException.hpp"
#include "antlr/InputBuffer.hpp"
#include "antlr/BitSet.hpp"
#include "antlr/LexerSharedInputState.hpp"
#include "antlr/config.h"
#include "antlr/TokenStream.h"
#include "antlr/RecognitionException.h"
#include "antlr/InputBuffer.h"
#include "antlr/BitSet.h"
#include "antlr/LexerSharedInputState.h"
#include <map>
#include <cstdio>

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

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

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

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

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

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

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

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

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

@ -1,9 +1,9 @@
#ifndef INC_LexerSharedInputState_hpp__
#define INC_LexerSharedInputState_hpp__
#include "antlr/config.hpp"
#include "antlr/InputBuffer.hpp"
#include "antlr/RefCount.hpp"
#include "antlr/config.h"
#include "antlr/InputBuffer.h"
#include "antlr/RefCount.h"
#include <string>
ANTLR_BEGIN_NAMESPACE(antlr)

@ -1,45 +1,45 @@
noinst_HEADERS = \
ANTLRException.hpp \
AST.hpp \
ASTArray.hpp \
ASTFactory.hpp \
ASTNULLType.hpp \
ASTPair.hpp \
ASTRefCount.hpp \
BaseAST.hpp \
BitSet.hpp \
CharBuffer.hpp \
CharScanner.hpp \
CharStreamException.hpp \
CharStreamIOException.hpp \
CircularQueue.hpp \
CommonAST.hpp \
CommonASTWithHiddenTokens.hpp \
CommonHiddenStreamToken.hpp \
CommonToken.hpp \
InputBuffer.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
ANTLRException.h \
AST.h \
ASTArray.h \
ASTFactory.h \
ASTNULLType.h \
ASTPair.h \
ASTRefCount.h \
BaseAST.h \
BitSet.h \
CharBuffer.h \
CharScanner.h \
CharStreamException.h \
CharStreamIOException.h \
CircularQueue.h \
CommonAST.h \
CommonASTWithHiddenTokens.h \
CommonHiddenStreamToken.h \
CommonToken.h \
InputBuffer.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

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

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

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

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

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

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

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

@ -33,7 +33,7 @@
* @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)

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

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

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

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

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

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

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

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

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

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

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

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

@ -32,12 +32,12 @@
* @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>
*/
#include "antlr/config.hpp"
#include "antlr/AST.hpp"
#include "antlr/ASTFactory.hpp"
#include "antlr/BitSet.hpp"
#include "antlr/RecognitionException.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/TreeParserSharedInputState.h"
ANTLR_BEGIN_NAMESPACE(antlr)

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

@ -30,7 +30,7 @@
* @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)

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

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

@ -30,7 +30,7 @@
* @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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -30,12 +30,12 @@
* @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/TokenBuffer.hpp"
#include "antlr/MismatchedTokenException.hpp"
//#include "antlr/ASTFactory.hpp"
#include "antlr/BitSet.h"
#include "antlr/TokenBuffer.h"
#include "antlr/MismatchedTokenException.h"
//#include "antlr/ASTFactory.h"
#include <iostream>
#include <stdlib.h>

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

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

@ -30,7 +30,7 @@
* @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
#include <stdio.h>

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

@ -30,7 +30,7 @@
* @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)

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

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

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

@ -29,9 +29,9 @@
* @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>
*/
#include "antlr/TreeParser.hpp"
#include "antlr/ASTNULLType.hpp"
#include "antlr/MismatchedTokenException.hpp"
#include "antlr/TreeParser.h"
#include "antlr/ASTNULLType.h"
#include "antlr/MismatchedTokenException.h"
#include <iostream>
#include <stdlib.h>

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

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

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

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

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

@ -140,7 +140,7 @@ umbrello_LDFLAGS = $(all_libraries) $(KDE_RPATH) -export-dynamic
messages: rc.cpp
$(PREPARETIPS) > tips.txt
$(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 \
$(XGETTEXT) $$LIST -o $(podir)/umbrello.pot; \
fi

Loading…
Cancel
Save