diff options
Diffstat (limited to 'languages/java')
-rw-r--r-- | languages/java/JavaAST.h (renamed from languages/java/JavaAST.hpp) | 4 | ||||
-rw-r--r-- | languages/java/JavaLexer.cpp | 16 | ||||
-rw-r--r-- | languages/java/JavaLexer.h (renamed from languages/java/JavaLexer.hpp) | 26 | ||||
-rw-r--r-- | languages/java/JavaRecognizer.cpp | 8 | ||||
-rw-r--r-- | languages/java/JavaRecognizer.h (renamed from languages/java/JavaRecognizer.hpp) | 24 | ||||
-rw-r--r-- | languages/java/JavaStoreWalker.cpp | 14 | ||||
-rw-r--r-- | languages/java/JavaStoreWalker.h (renamed from languages/java/JavaStoreWalker.hpp) | 22 | ||||
-rw-r--r-- | languages/java/JavaStoreWalkerTokenTypes.h (renamed from languages/java/JavaStoreWalkerTokenTypes.hpp) | 8 | ||||
-rw-r--r-- | languages/java/JavaTokenTypes.h (renamed from languages/java/JavaTokenTypes.hpp) | 8 | ||||
-rw-r--r-- | languages/java/Makefile.am | 4 | ||||
-rw-r--r-- | languages/java/backgroundparser.h | 2 | ||||
-rw-r--r-- | languages/java/driver.cpp | 6 | ||||
-rw-r--r-- | languages/java/driver.h | 2 | ||||
-rw-r--r-- | languages/java/java.g | 2 | ||||
-rw-r--r-- | languages/java/java.store.g | 2 | ||||
-rw-r--r-- | languages/java/javasupportpart.cpp | 4 | ||||
-rw-r--r-- | languages/java/kdevdriver.cpp | 2 |
17 files changed, 77 insertions, 77 deletions
diff --git a/languages/java/JavaAST.hpp b/languages/java/JavaAST.h index 7108fca1..4d89452e 100644 --- a/languages/java/JavaAST.hpp +++ b/languages/java/JavaAST.h @@ -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; diff --git a/languages/java/JavaLexer.cpp b/languages/java/JavaLexer.cpp index 623e816f..4230b156 100644 --- a/languages/java/JavaLexer.cpp +++ b/languages/java/JavaLexer.cpp @@ -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" diff --git a/languages/java/JavaLexer.hpp b/languages/java/JavaLexer.h index 9d185686..e5b6fb1d 100644 --- a/languages/java/JavaLexer.hpp +++ b/languages/java/JavaLexer.h @@ -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_*/ diff --git a/languages/java/JavaRecognizer.cpp b/languages/java/JavaRecognizer.cpp index 1021c6a0..7d010b49 100644 --- a/languages/java/JavaRecognizer.cpp +++ b/languages/java/JavaRecognizer.cpp @@ -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) diff --git a/languages/java/JavaRecognizer.hpp b/languages/java/JavaRecognizer.h index fab59972..32311a3d 100644 --- a/languages/java/JavaRecognizer.hpp +++ b/languages/java/JavaRecognizer.h @@ -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_*/ diff --git a/languages/java/JavaStoreWalker.cpp b/languages/java/JavaStoreWalker.cpp index 1bdb9522..763f95e7 100644 --- a/languages/java/JavaStoreWalker.cpp +++ b/languages/java/JavaStoreWalker.cpp @@ -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() diff --git a/languages/java/JavaStoreWalker.hpp b/languages/java/JavaStoreWalker.h index 676163ad..244c0978 100644 --- a/languages/java/JavaStoreWalker.hpp +++ b/languages/java/JavaStoreWalker.h @@ -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_*/ diff --git a/languages/java/JavaStoreWalkerTokenTypes.hpp b/languages/java/JavaStoreWalkerTokenTypes.h index 44322944..d8a07893 100644 --- a/languages/java/JavaStoreWalkerTokenTypes.hpp +++ b/languages/java/JavaStoreWalkerTokenTypes.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_*/ diff --git a/languages/java/JavaTokenTypes.hpp b/languages/java/JavaTokenTypes.h index e36fa54c..8689c5ef 100644 --- a/languages/java/JavaTokenTypes.hpp +++ b/languages/java/JavaTokenTypes.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_*/ diff --git a/languages/java/Makefile.am b/languages/java/Makefile.am index a1a1e812..f4a05f62 100644 --- a/languages/java/Makefile.am +++ b/languages/java/Makefile.am @@ -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 diff --git a/languages/java/backgroundparser.h b/languages/java/backgroundparser.h index fee2bc78..4823cf43 100644 --- a/languages/java/backgroundparser.h +++ b/languages/java/backgroundparser.h @@ -13,7 +13,7 @@ #define BACKGROUNDPARSER_H #include "driver.h" -#include "JavaAST.hpp" +#include "JavaAST.h" #include <tqthread.h> #include <tqwaitcondition.h> diff --git a/languages/java/driver.cpp b/languages/java/driver.cpp index c22bc9ce..3fbcd07b 100644 --- a/languages/java/driver.cpp +++ b/languages/java/driver.cpp @@ -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> diff --git a/languages/java/driver.h b/languages/java/driver.h index def7e400..3575ccfb 100644 --- a/languages/java/driver.h +++ b/languages/java/driver.h @@ -20,7 +20,7 @@ #ifndef DRIVER_H #define DRIVER_H -#include "JavaAST.hpp" +#include "JavaAST.h" #include <tqpair.h> #include <tqvaluestack.h> diff --git a/languages/java/java.g b/languages/java/java.g index 1f825ec5..4228a573 100644 --- a/languages/java/java.g +++ b/languages/java/java.g @@ -1,7 +1,7 @@ header "pre_include_hpp" { #include "driver.h" - #include "JavaAST.hpp" + #include "JavaAST.h" #include <qlistview.h> #include <kdebug.h> diff --git a/languages/java/java.store.g b/languages/java/java.store.g index b69b7323..cc545c64 100644 --- a/languages/java/java.store.g +++ b/languages/java/java.store.g @@ -2,7 +2,7 @@ header "pre_include_hpp" { #include <codemodel.h> - #include "JavaAST.hpp" + #include "JavaAST.h" #include <qstring.h> #include <qstringlist.h> diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp index f9bbbd88..50571ba6 100644 --- a/languages/java/javasupportpart.cpp +++ b/languages/java/javasupportpart.cpp @@ -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> diff --git a/languages/java/kdevdriver.cpp b/languages/java/kdevdriver.cpp index d19a20c3..d3cffb68 100644 --- a/languages/java/kdevdriver.cpp +++ b/languages/java/kdevdriver.cpp @@ -1,6 +1,6 @@ #include "kdevdriver.h" -#include "JavaLexer.hpp" +#include "JavaLexer.h" #include <unistd.h> #include <tqfileinfo.h> |