projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generate built-in OIDs from oid.csv.
[yaz-moved-to-github.git]
/
src
/
csvtodiag.tcl
diff --git
a/src/csvtodiag.tcl
b/src/csvtodiag.tcl
index
0066a3f
..
e0df27e
100644
(file)
--- a/
src/csvtodiag.tcl
+++ b/
src/csvtodiag.tcl
@@
-1,8
+1,8
@@
# This file is part of the YAZ toolkit
# 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.
#
# See the file LICENSE for details.
#
-# $Id: csvtodiag.tcl,v 1.2 2005-04-22 14:51:11 adam Exp $
+# $Id: csvtodiag.tcl,v 1.4 2007-01-03 08:42:15 adam Exp $
#
# Converts a CSV file with diagnostics to C+H file for easy
# maintenance
#
# Converts a CSV file with diagnostics to C+H file for easy
# maintenance
@@
-17,7
+17,9
@@
proc csvtodiag {ifiles name alias} {
set cfile [open [lindex $ifiles 1] w]
set hfile [open [lindex $ifiles 2] w]
set lineno 0
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\"
puts $cfile $preamble
puts $cfile "
#include \"diag-entry.h\"