summaryrefslogtreecommitdiffstats
path: root/languages/pascal
diff options
context:
space:
mode:
Diffstat (limited to 'languages/pascal')
-rw-r--r--languages/pascal/Makefile.am4
-rw-r--r--languages/pascal/PascalAST.h (renamed from languages/pascal/PascalAST.hpp)2
-rw-r--r--languages/pascal/PascalLexer.cpp16
-rw-r--r--languages/pascal/PascalLexer.h (renamed from languages/pascal/PascalLexer.hpp)26
-rw-r--r--languages/pascal/PascalParser.cpp8
-rw-r--r--languages/pascal/PascalParser.h (renamed from languages/pascal/PascalParser.hpp)24
-rw-r--r--languages/pascal/PascalStoreWalker.cpp14
-rw-r--r--languages/pascal/PascalStoreWalker.h (renamed from languages/pascal/PascalStoreWalker.hpp)22
-rw-r--r--languages/pascal/PascalStoreWalkerTokenTypes.h (renamed from languages/pascal/PascalStoreWalkerTokenTypes.hpp)8
-rw-r--r--languages/pascal/PascalTokenTypes.h (renamed from languages/pascal/PascalTokenTypes.hpp)8
-rw-r--r--languages/pascal/backgroundparser.cpp8
-rw-r--r--languages/pascal/pascal.g2
-rw-r--r--languages/pascal/pascal.tree.g2
-rw-r--r--languages/pascal/pascalsupport_part.cpp8
14 files changed, 76 insertions, 76 deletions
diff --git a/languages/pascal/Makefile.am b/languages/pascal/Makefile.am
index 9d168734..5d4b3513 100644
--- a/languages/pascal/Makefile.am
+++ b/languages/pascal/Makefile.am
@@ -23,10 +23,10 @@ genparser:
antlr pascal.g && antlr pascal.tree.g
## The following rules assume that you have Java and ANTLR installed,
-#PascalLexer.hpp PascalLexer.cpp PascalParser.hpp PascalParser.cpp: pascal.g
+#PascalLexer.h PascalLexer.cpp PascalParser.h PascalParser.cpp: pascal.g
# antlr pascal.g
-#PascalStoreWalker.hpp PascalStoreWalker.cpp: pascal.tree.g
+#PascalStoreWalker.h PascalStoreWalker.cpp: pascal.tree.g
# antlr pascal.tree.g
templatedir = ${kde_datadir}/kdevabbrev/templates
diff --git a/languages/pascal/PascalAST.hpp b/languages/pascal/PascalAST.h
index 3df4ea50..1e3df014 100644
--- a/languages/pascal/PascalAST.hpp
+++ b/languages/pascal/PascalAST.h
@@ -1,7 +1,7 @@
#ifndef PASCALAST_HPP
#define PASCALAST_HPP
-#include <antlr/CommonAST.hpp>
+#include <antlr/CommonAST.h>
class PascalAST;
typedef antlr::ASTRefCount<PascalAST> RefPascalAST;
diff --git a/languages/pascal/PascalLexer.cpp b/languages/pascal/PascalLexer.cpp
index 28f532f8..c140ee51 100644
--- a/languages/pascal/PascalLexer.cpp
+++ b/languages/pascal/PascalLexer.cpp
@@ -1,12 +1,12 @@
/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalLexer.cpp"$ */
-#include "PascalLexer.hpp"
-#include <antlr/CharBuffer.hpp>
-#include <antlr/TokenStreamException.hpp>
-#include <antlr/TokenStreamIOException.hpp>
-#include <antlr/TokenStreamRecognitionException.hpp>
-#include <antlr/CharStreamException.hpp>
-#include <antlr/CharStreamIOException.hpp>
-#include <antlr/NoViableAltForCharException.hpp>
+#include "PascalLexer.h"
+#include <antlr/CharBuffer.h>
+#include <antlr/TokenStreamException.h>
+#include <antlr/TokenStreamIOException.h>
+#include <antlr/TokenStreamRecognitionException.h>
+#include <antlr/CharStreamException.h>
+#include <antlr/CharStreamIOException.h>
+#include <antlr/NoViableAltForCharException.h>
#line 1 "pascal.g"
#line 13 "PascalLexer.cpp"
diff --git a/languages/pascal/PascalLexer.hpp b/languages/pascal/PascalLexer.h
index 99a14959..e2043c2f 100644
--- a/languages/pascal/PascalLexer.hpp
+++ b/languages/pascal/PascalLexer.h
@@ -1,10 +1,10 @@
-#ifndef INC_PascalLexer_hpp_
-#define INC_PascalLexer_hpp_
+#ifndef INC_PascalLexer_h_
+#define INC_PascalLexer_h_
#line 29 "pascal.g"
#include "problemreporter.h"
- #include "PascalAST.hpp"
+ #include "PascalAST.h"
#include <tqlistview.h>
#include <kdebug.h>
@@ -15,14 +15,14 @@
RefPascalAST(ast)->setColumn( t->getColumn() ); \
}
-#line 19 "PascalLexer.hpp"
-#include <antlr/config.hpp>
-/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalLexer.hpp"$ */
-#include <antlr/CommonToken.hpp>
-#include <antlr/InputBuffer.hpp>
-#include <antlr/BitSet.hpp>
-#include "PascalTokenTypes.hpp"
-#include <antlr/CharScanner.hpp>
+#line 19 "PascalLexer.h"
+#include <antlr/config.h>
+/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalLexer.h"$ */
+#include <antlr/CommonToken.h>
+#include <antlr/InputBuffer.h>
+#include <antlr/BitSet.h>
+#include "PascalTokenTypes.h"
+#include <antlr/CharScanner.h>
class CUSTOM_API PascalLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public PascalTokenTypes
{
#line 1067 "pascal.g"
@@ -56,7 +56,7 @@ public:
getFilename().c_str(),
getLine(), getColumn() );
}
-#line 30 "PascalLexer.hpp"
+#line 30 "PascalLexer.h"
private:
void initLiterals();
public:
@@ -118,4 +118,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3;
};
-#endif /*INC_PascalLexer_hpp_*/
+#endif /*INC_PascalLexer_h_*/
diff --git a/languages/pascal/PascalParser.cpp b/languages/pascal/PascalParser.cpp
index 51d620ff..e45cdb4e 100644
--- a/languages/pascal/PascalParser.cpp
+++ b/languages/pascal/PascalParser.cpp
@@ -1,8 +1,8 @@
/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalParser.cpp"$ */
-#include "PascalParser.hpp"
-#include <antlr/NoViableAltException.hpp>
-#include <antlr/SemanticException.hpp>
-#include <antlr/ASTFactory.hpp>
+#include "PascalParser.h"
+#include <antlr/NoViableAltException.h>
+#include <antlr/SemanticException.h>
+#include <antlr/ASTFactory.h>
#line 1 "pascal.g"
#line 8 "PascalParser.cpp"
PascalParser::PascalParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k)
diff --git a/languages/pascal/PascalParser.hpp b/languages/pascal/PascalParser.h
index dfd4e5f2..19cbc397 100644
--- a/languages/pascal/PascalParser.hpp
+++ b/languages/pascal/PascalParser.h
@@ -1,10 +1,10 @@
-#ifndef INC_PascalParser_hpp_
-#define INC_PascalParser_hpp_
+#ifndef INC_PascalParser_h_
+#define INC_PascalParser_h_
#line 29 "pascal.g"
#include "problemreporter.h"
- #include "PascalAST.hpp"
+ #include "PascalAST.h"
#include <tqlistview.h>
#include <kdebug.h>
@@ -15,13 +15,13 @@
RefPascalAST(ast)->setColumn( t->getColumn() ); \
}
-#line 19 "PascalParser.hpp"
-#include <antlr/config.hpp>
-/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalParser.hpp"$ */
-#include <antlr/TokenStream.hpp>
-#include <antlr/TokenBuffer.hpp>
-#include "PascalTokenTypes.hpp"
-#include <antlr/LLkParser.hpp>
+#line 19 "PascalParser.h"
+#include <antlr/config.h>
+/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalParser.h"$ */
+#include <antlr/TokenStream.h>
+#include <antlr/TokenBuffer.h>
+#include "PascalTokenTypes.h"
+#include <antlr/LLkParser.h>
class CUSTOM_API PascalParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public PascalTokenTypes
{
@@ -58,7 +58,7 @@ public:
LT(1)->getLine(),
LT(1)->getColumn() );
}
-#line 30 "PascalParser.hpp"
+#line 30 "PascalParser.h"
public:
void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
protected:
@@ -419,4 +419,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_76;
};
-#endif /*INC_PascalParser_hpp_*/
+#endif /*INC_PascalParser_h_*/
diff --git a/languages/pascal/PascalStoreWalker.cpp b/languages/pascal/PascalStoreWalker.cpp
index 96c69fe4..b56897df 100644
--- a/languages/pascal/PascalStoreWalker.cpp
+++ b/languages/pascal/PascalStoreWalker.cpp
@@ -1,11 +1,11 @@
/* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalker.cpp"$ */
-#include "PascalStoreWalker.hpp"
-#include <antlr/Token.hpp>
-#include <antlr/AST.hpp>
-#include <antlr/NoViableAltException.hpp>
-#include <antlr/MismatchedTokenException.hpp>
-#include <antlr/SemanticException.hpp>
-#include <antlr/BitSet.hpp>
+#include "PascalStoreWalker.h"
+#include <antlr/Token.h>
+#include <antlr/AST.h>
+#include <antlr/NoViableAltException.h>
+#include <antlr/MismatchedTokenException.h>
+#include <antlr/SemanticException.h>
+#include <antlr/BitSet.h>
#line 1 "pascal.tree.g"
#line 11 "PascalStoreWalker.cpp"
PascalStoreWalker::PascalStoreWalker()
diff --git a/languages/pascal/PascalStoreWalker.hpp b/languages/pascal/PascalStoreWalker.h
index ada7c020..ceece541 100644
--- a/languages/pascal/PascalStoreWalker.hpp
+++ b/languages/pascal/PascalStoreWalker.h
@@ -1,27 +1,27 @@
-#ifndef INC_PascalStoreWalker_hpp_
-#define INC_PascalStoreWalker_hpp_
+#ifndef INC_PascalStoreWalker_h_
+#define INC_PascalStoreWalker_h_
#line 20 "pascal.tree.g"
#include <codemodel.h>
- #include "PascalAST.hpp"
+ #include "PascalAST.h"
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqfileinfo.h>
-#line 14 "PascalStoreWalker.hpp"
-#include <antlr/config.hpp>
-#include "PascalStoreWalkerTokenTypes.hpp"
-/* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalker.hpp"$ */
-#include <antlr/TreeParser.hpp>
+#line 14 "PascalStoreWalker.h"
+#include <antlr/config.h>
+#include "PascalStoreWalkerTokenTypes.h"
+/* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalker.h"$ */
+#include <antlr/TreeParser.h>
#line 29 "pascal.tree.g"
#include <codemodel.h>
#include <kdebug.h>
-#line 25 "PascalStoreWalker.hpp"
+#line 25 "PascalStoreWalker.h"
class CUSTOM_API PascalStoreWalker : public ANTLR_USE_NAMESPACE(antlr)TreeParser, public PascalStoreWalkerTokenTypes
{
#line 47 "pascal.tree.g"
@@ -48,7 +48,7 @@ public:
}
void wipeout() { m_model->wipeout(); }
-#line 29 "PascalStoreWalker.hpp"
+#line 29 "PascalStoreWalker.h"
public:
PascalStoreWalker();
static void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
@@ -169,4 +169,4 @@ private:
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_6;
};
-#endif /*INC_PascalStoreWalker_hpp_*/
+#endif /*INC_PascalStoreWalker_h_*/
diff --git a/languages/pascal/PascalStoreWalkerTokenTypes.hpp b/languages/pascal/PascalStoreWalkerTokenTypes.h
index cd9e0c81..4631429c 100644
--- a/languages/pascal/PascalStoreWalkerTokenTypes.hpp
+++ b/languages/pascal/PascalStoreWalkerTokenTypes.h
@@ -1,7 +1,7 @@
-#ifndef INC_PascalStoreWalkerTokenTypes_hpp_
-#define INC_PascalStoreWalkerTokenTypes_hpp_
+#ifndef INC_PascalStoreWalkerTokenTypes_h_
+#define INC_PascalStoreWalkerTokenTypes_h_
-/* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalkerTokenTypes.hpp"$ */
+/* $ANTLR 2.7.7 (20061129): "pascal.tree.g" -> "PascalStoreWalkerTokenTypes.h"$ */
#ifndef CUSTOM_API
# define CUSTOM_API
@@ -203,4 +203,4 @@ struct CUSTOM_API PascalStoreWalkerTokenTypes {
#ifdef __cplusplus
};
#endif
-#endif /*INC_PascalStoreWalkerTokenTypes_hpp_*/
+#endif /*INC_PascalStoreWalkerTokenTypes_h_*/
diff --git a/languages/pascal/PascalTokenTypes.hpp b/languages/pascal/PascalTokenTypes.h
index 007269b0..42e97d53 100644
--- a/languages/pascal/PascalTokenTypes.hpp
+++ b/languages/pascal/PascalTokenTypes.h
@@ -1,10 +1,10 @@
-#ifndef INC_PascalTokenTypes_hpp_
-#define INC_PascalTokenTypes_hpp_
+#ifndef INC_PascalTokenTypes_h_
+#define INC_PascalTokenTypes_h_
#undef TRUE
#undef FALSE
-/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalTokenTypes.hpp"$ */
+/* $ANTLR 2.7.7 (20061129): "pascal.g" -> "PascalTokenTypes.h"$ */
#ifndef CUSTOM_API
# define CUSTOM_API
@@ -206,4 +206,4 @@ struct CUSTOM_API PascalTokenTypes {
#ifdef __cplusplus
};
#endif
-#endif /*INC_PascalTokenTypes_hpp_*/
+#endif /*INC_PascalTokenTypes_h_*/
diff --git a/languages/pascal/backgroundparser.cpp b/languages/pascal/backgroundparser.cpp
index ff202374..df9c85dc 100644
--- a/languages/pascal/backgroundparser.cpp
+++ b/languages/pascal/backgroundparser.cpp
@@ -13,12 +13,12 @@
#include "backgroundparser.h"
#include "problemreporter.h"
-#include "PascalLexer.hpp"
-#include "PascalParser.hpp"
-#include "PascalAST.hpp"
+#include "PascalLexer.h"
+#include "PascalParser.h"
+#include "PascalAST.h"
#include <kdebug.h>
#include <tqfile.h>
-#include <antlr/ASTFactory.hpp>
+#include <antlr/ASTFactory.h>
BackgroundParser::BackgroundParser( ProblemReporter* reporter,
const TQString& source,
diff --git a/languages/pascal/pascal.g b/languages/pascal/pascal.g
index fde5dcb8..59407423 100644
--- a/languages/pascal/pascal.g
+++ b/languages/pascal/pascal.g
@@ -28,7 +28,7 @@
header "pre_include_hpp" {
#include "problemreporter.h"
- #include "PascalAST.hpp"
+ #include "PascalAST.h"
#include <qlistview.h>
#include <kdebug.h>
diff --git a/languages/pascal/pascal.tree.g b/languages/pascal/pascal.tree.g
index c597afb8..d90503c4 100644
--- a/languages/pascal/pascal.tree.g
+++ b/languages/pascal/pascal.tree.g
@@ -19,7 +19,7 @@
header "pre_include_hpp" {
#include <codemodel.h>
- #include "PascalAST.hpp"
+ #include "PascalAST.h"
#include <qstring.h>
#include <qstringlist.h>
diff --git a/languages/pascal/pascalsupport_part.cpp b/languages/pascal/pascalsupport_part.cpp
index 69cbebf8..a61ab6a0 100644
--- a/languages/pascal/pascalsupport_part.cpp
+++ b/languages/pascal/pascalsupport_part.cpp
@@ -20,7 +20,7 @@
#include <tdeapplication.h>
#include <kstatusbar.h>
-#include <antlr/ASTFactory.hpp>
+#include <antlr/ASTFactory.h>
#include "catalog.h"
#include <kdevcore.h>
@@ -31,9 +31,9 @@
#include "pascalsupport_part.h"
#include "problemreporter.h"
-#include "PascalLexer.hpp"
-#include "PascalParser.hpp"
-#include "PascalStoreWalker.hpp"
+#include "PascalLexer.h"
+#include "PascalParser.h"
+#include "PascalStoreWalker.h"
struct PascalSupportPartData{
ProblemReporter* problemReporter;