Skip to content
Snippets Groups Projects
Commit c3b8f6d1 authored by Lev Walkin's avatar Lev Walkin
Browse files

output generator info

parent e3e4157c
No related branches found
No related tags found
No related merge requests found
...@@ -145,6 +145,23 @@ asn1c_save_streams(arg_t *arg) { ...@@ -145,6 +145,23 @@ asn1c_save_streams(arg_t *arg) {
return -1; 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); header_id = alloca(strlen(expr->Identifier) + 1);
if(1) { if(1) {
char *src, *dst; char *src, *dst;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment