X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcsvtodiag.tcl;h=3124ba983398031b4cb56f054a3b35ccc4f12fd1;hp=0066a3f9e4e267738f323046f0c8424d9875ab02;hb=b6aa93dcb5c07ed09b664c006b5f33b0135a0854;hpb=3b703e575c88bd31b38f5af81c29aeed757ff11b diff --git a/src/csvtodiag.tcl b/src/csvtodiag.tcl index 0066a3f..3124ba9 100644 --- a/src/csvtodiag.tcl +++ b/src/csvtodiag.tcl @@ -1,8 +1,7 @@ # This file is part of the YAZ toolkit -# Copyright (c) Index Data 1996-2005 +# Copyright (c) Index Data 1996-2007 # See the file LICENSE for details. # -# $Id: csvtodiag.tcl,v 1.2 2005-04-22 14:51:11 adam Exp $ # # Converts a CSV file with diagnostics to C+H file for easy # maintenance @@ -17,7 +16,9 @@ proc csvtodiag {ifiles name alias} { set cfile [open [lindex $ifiles 1] w] set hfile [open [lindex $ifiles 2] w] set lineno 0 - set preamble "/* Generated automatically by csvtodiag.tcl from [lindex $ifiles 0] */" + puts $cfile "/** \\file [lindex $ifiles 1]" + puts $hfile "/** \\file [lindex $ifiles 2]" + set preamble " \\brief Diagnostics: Generated by csvtodiag.tcl from [lindex $ifiles 0] */" puts $cfile $preamble puts $cfile " #include \"diag-entry.h\"