extern FILE *out;
extern FILE *outh;
+extern FILE *outph;
extern gboolean for_cpp;
int outline = 1;
int outhline = 1;
+int outphline = 1;
static int
strchrcnt(char *s, char c)
outline += strchrcnt(s,'\n');
else if(fp == outh)
outhline += strchrcnt(s,'\n');
+ else if(fp == outph)
+ outphline += strchrcnt(s,'\n');
else
g_assert_not_reached();
outline++;
else if(fp == outh)
outhline++;
+ else if(fp == outph)
+ outphline++;
else
g_assert_not_reached();
} else if(fp == outh) {
outhline++;
fprintf(fp,"#line %d \"%s.h\"\n",outhline,filebase);
+ } else if(fp == outph) {
+ outphline++;
+ fprintf(fp,"#line %d \"%s-private.h\"\n",outphline,filebase);
} else
g_assert_not_reached();