summaryrefslogtreecommitdiffstats
path: root/mcopidl
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-06 19:28:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-06 19:28:06 +0900
commit00d4f92b717fbcbed6f9eee361975d6ee5380d59 (patch)
tree043b5970d66e539e1fbf6dde03440d6569e34c4e /mcopidl
parent2f53bfe61c8ee78ff36ac6c66ae714b01e407b33 (diff)
downloadarts-00d4f92b717fbcbed6f9eee361975d6ee5380d59.tar.gz
arts-00d4f92b717fbcbed6f9eee361975d6ee5380d59.zip
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'mcopidl')
-rw-r--r--mcopidl/CMakeLists.txt2
-rw-r--r--mcopidl/mcopidl.cpp (renamed from mcopidl/mcopidl.cc)4
-rw-r--r--mcopidl/namespace.cpp (renamed from mcopidl/namespace.cc)0
-rw-r--r--mcopidl/scanner.cpp (renamed from mcopidl/scanner.cc)10
-rw-r--r--mcopidl/scanner.ll2
-rw-r--r--mcopidl/yacc.cpp (renamed from mcopidl/yacc.cc)0
-rw-r--r--mcopidl/yacc.cpp.h (renamed from mcopidl/yacc.cc.h)6
7 files changed, 12 insertions, 12 deletions
diff --git a/mcopidl/CMakeLists.txt b/mcopidl/CMakeLists.txt
index 038e2b0..339cf28 100644
--- a/mcopidl/CMakeLists.txt
+++ b/mcopidl/CMakeLists.txt
@@ -20,7 +20,7 @@ include_directories(
set( target mcopidl )
set( ${target}_SRCS
- mcopidl.cc yacc.cc scanner.cc namespace.cc
+ mcopidl.cpp yacc.cpp scanner.cpp namespace.cpp
)
tde_add_executable( ${target}
diff --git a/mcopidl/mcopidl.cc b/mcopidl/mcopidl.cpp
index a349bdf..9178122 100644
--- a/mcopidl/mcopidl.cc
+++ b/mcopidl/mcopidl.cpp
@@ -749,7 +749,7 @@ void endHeader(FILE *header, string prefix)
FILE *startSource(string prefix)
{
string header_name = prefix+".h";
- string source_name = prefix+".cc.new";
+ string source_name = prefix+".cpp.new";
FILE *source = fopen(source_name.c_str(),"w");
fprintf(source,"%s", generated_disclaimer);
@@ -2636,7 +2636,7 @@ int main(int argc, char **argv)
doInterfacesSource(source);
doInterfaceRepoSource(source,prefix);
endSource(source);
- moveIfChanged(string(prefix)+".cc");
+ moveIfChanged(string(prefix)+".cpp");
// create type file
if(makeTypeInfo)
diff --git a/mcopidl/namespace.cc b/mcopidl/namespace.cpp
index 069fffd..069fffd 100644
--- a/mcopidl/namespace.cc
+++ b/mcopidl/namespace.cpp
diff --git a/mcopidl/scanner.cc b/mcopidl/scanner.cpp
index 78b26d6..f987efa 100644
--- a/mcopidl/scanner.cc
+++ b/mcopidl/scanner.cpp
@@ -1,4 +1,4 @@
-#line 2 "scanner.cc"
+#line 2 "scanner.cpp"
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
@@ -678,7 +678,7 @@ using namespace std;
using namespace Arts;
#ifndef KDE_USE_FINAL
-#include "yacc.cc.h"
+#include "yacc.cpp.h"
#endif
extern int idl_line_no;
@@ -705,7 +705,7 @@ extern void endInclude();
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
-#line 710 "scanner.cc"
+#line 710 "scanner.cpp"
/* Macros after this point can all be overridden by user definitions in
* section 1.
@@ -859,7 +859,7 @@ YY_DECL
#line 100 "scanner.ll"
-#line 864 "scanner.cc"
+#line 864 "scanner.cpp"
if ( yy_init )
{
@@ -1200,7 +1200,7 @@ YY_RULE_SETUP
#line 177 "scanner.ll"
ECHO;
YY_BREAK
-#line 1205 "scanner.cc"
+#line 1205 "scanner.cpp"
case YY_STATE_EOF(INITIAL):
yyterminate();
diff --git a/mcopidl/scanner.ll b/mcopidl/scanner.ll
index bc8f6ae..39a49d3 100644
--- a/mcopidl/scanner.ll
+++ b/mcopidl/scanner.ll
@@ -40,7 +40,7 @@ using namespace std;
using namespace Arts;
#ifndef KDE_USE_FINAL
-#include "yacc.cc.h"
+#include "yacc.cpp.h"
#endif
extern int idl_line_no;
diff --git a/mcopidl/yacc.cc b/mcopidl/yacc.cpp
index 054f71b..054f71b 100644
--- a/mcopidl/yacc.cc
+++ b/mcopidl/yacc.cpp
diff --git a/mcopidl/yacc.cc.h b/mcopidl/yacc.cpp.h
index a600e21..192bae7 100644
--- a/mcopidl/yacc.cc.h
+++ b/mcopidl/yacc.cpp.h
@@ -1,6 +1,6 @@
-#ifndef YACC_CC_H
-#define YACC_CC_H
+#ifndef YACC_CPP_H
+#define YACC_CPP_H
typedef union
{
@@ -71,5 +71,5 @@ typedef union
extern YYSTYPE yylval;
-#endif // YACC_CC_H
+#endif // YACC_CPP_H