diff options
author | Lev Walkin <vlm@lionet.info> | 2004-06-03 05:06:25 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-06-03 05:06:25 +0000 |
commit | c3b8f6d10a7e9acb8f1249405ea2e3d6cbb5beb7 (patch) | |
tree | 61e6c1045fe3c29454c30c88a7834639f072b5da /libasn1compiler | |
parent | e3e4157cfc3f9c614ebc4916d18903de1c693f9a (diff) |
output generator info
Diffstat (limited to 'libasn1compiler')
-rw-r--r-- | libasn1compiler/asn1c_save.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libasn1compiler/asn1c_save.c b/libasn1compiler/asn1c_save.c index 0e5b0fbc..8aab8c42 100644 --- a/libasn1compiler/asn1c_save.c +++ b/libasn1compiler/asn1c_save.c @@ -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; |