output generator info

git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@5 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
vlm 2004-06-03 05:06:25 +00:00
parent aaec3eff64
commit f18d85698e
1 changed files with 17 additions and 0 deletions

View File

@ -145,6 +145,23 @@ asn1c_save_streams(arg_t *arg) {
return -1;
}
fprintf(fp_c,
"/*\n"
" * Generated by asn1c-" VERSION " (http://lionet.info/asn1c)\n"
" * From ASN.1 module \"%s\" found in \"%s\"\n"
" */\n\n",
arg->mod->Identifier,
arg->mod->source_file_name
);
fprintf(fp_h,
"/*\n"
" * Generated by asn1c-" VERSION " (http://lionet.info/asn1c)\n"
" * From ASN.1 module \"%s\" found in \"%s\"\n"
" */\n\n",
arg->mod->Identifier,
arg->mod->source_file_name
);
header_id = alloca(strlen(expr->Identifier) + 1);
if(1) {
char *src, *dst;