#pragma ident "%Z%%M% %I% %E% SMI"
#
# This script is used to generate the array of strings and the enum
# that appear at the beginning of the C code implementation of a
# a TCL command and that define the available subcommands for that
# TCL command.
set prefix {}
while {![eof stdin]} {
if {$line==""} continue
}
}
puts " static const char *${prefix}_strs\[\] = \173"
global col
incr col
} else {
puts $x
}
}
proc finalize {} {
global col
}
put_item \"$name\",
}
put_item 0
finalize
foreach name [lsort $namelist] {
regsub -all {@} $name {} name
put_item ${prefix}_[string toupper $name],
}
finalize