diff conv_func.pl @ 327:da2e3f2d127d

macro/codegen reorganization
author kono
date Mon, 21 Jun 2004 23:50:34 +0900
parents aac62d1e30a6
children
line wrap: on
line diff
--- a/conv_func.pl	Sun Jun 20 20:54:24 2004 +0900
+++ b/conv_func.pl	Mon Jun 21 23:50:34 2004 +0900
@@ -17,10 +17,15 @@
 print NUL "/* Edit $in */\n";
 
 print OUT "typedef struct converter {\n";
-print NUL "#define EXTERN /**/\n";
+
+print NUL "#include <stdio.h>\n";
 print NUL "#include \"mc.h\"\n";
-print NUL "#include \"conv/convdef.h\"\n\n";
-print NUL "#include \"conv/null.h\"\n\n";
+print NUL "#include \"mc-parse.h\"\n";
+
+print NUL "#include \"conv/conv.h\"\n";
+print NUL "#include \"conv/convdef.h\"\n";
+print NUL "#include \"conv/null.h\"\n";
+
 
 while(<IN>) {
     if (/([^\s]*)\s+([_a-zA-Z0-9]*)\((.*)\)/) {