don't use the file header template if it isn't available in the c_structdef code generator
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5464 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
faf8153b50
commit
a80776b9fa
|
@ -265,6 +265,8 @@ sub startFile()
|
||||||
printHdrGuard($output, $outfile);
|
printHdrGuard($output, $outfile);
|
||||||
$$output .= "\n\n";
|
$$output .= "\n\n";
|
||||||
|
|
||||||
|
return unless $startTpl;
|
||||||
|
|
||||||
$$output .= "#line 1 \"$startTpl\"\n";
|
$$output .= "#line 1 \"$startTpl\"\n";
|
||||||
open (TEMPL, $startTpl);
|
open (TEMPL, $startTpl);
|
||||||
while (<TEMPL>)
|
while (<TEMPL>)
|
||||||
|
|
Loading…
Reference in New Issue