From 0ec7ef528f8cda941616436249fcf2f567c84412 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Fri, 28 Feb 2003 20:35:38 +0000 Subject: [PATCH] *** empty log message *** [r854] --- tools/remove_cpp_comands.perl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/remove_cpp_comands.perl b/tools/remove_cpp_comands.perl index a6b8022b0..e3a8499d6 100644 --- a/tools/remove_cpp_comands.perl +++ b/tools/remove_cpp_comands.perl @@ -33,7 +33,11 @@ print TDF "#ifndef MYTYPEDEFS\n#define MYTYPEDEFS\n"; print TDF "typedef unsigned long size_t;\n"; #print TDF "typedef enum { false = 0, true = 1 } bool;\n"; geht nicht, false und true JAVA Schluesselwoerter print TDF "typedef int bool;\n"; -print TDF "#endif\n"; +# Some typedefs we need because of wrond order resultion by this script +print TDF "#ifndef _ENTITY_TYPEDEF_\n#define _ENTITY_TYPEDEF_\ntypedef struct entity entity;\n#endif\n"; +# Some typedefs we need because we do not include the according header files +print TDF "typedef struct dbg_info dbg_info;\n"; +print TDF "#endif /* MYTYPEDEFS */ \n"; #to collect typedefs $openbracket = 0; -- 2.20.1