# (c) Index Data 1996-2004
# See the file LICENSE for details.
#
-# $Id: yaz-asncomp,v 1.2 2004-01-23 11:52:52 adam Exp $
+# $Id: yaz-asncomp,v 1.4 2004-11-01 20:16:44 adam Exp $
#
set yc_version 0.3
lappend l "\todr_implicit_settag(o, $tagtype, $tag);"
lappend l "\tif (odr_choice(o, arm, &(*p)->[lindex $uName 1], &(*p)->[lindex $uName 0], name))"
} else {
- lappend l "\tif (!*p && o->direction != ODR_DECODE)"
- lappend l "\t\treturn opt;"
lappend l "\tif (!odr_constructed_begin(o, p, $tagtype, $tag, 0))"
lappend l "\t\treturn odr_missing(o, opt, name);"
lappend l "\tif (!odr_initmember(o, p, sizeof(**p)))"
puts "YAZ ASN.1 Compiler ${yc_version}"
puts "Usage:"
puts -nonewline ${argv0}
- puts { [-v] [-c cfile] [-h hfile] [-p hfile] [-d dfile] [-I iout] [-i idir]}
- puts { [-m module] file}
+ puts { [-v] [-c cfile] [-h hfile] [-p hfile] [-d dfile] [-I iout]}
+ puts { [-i idir] [-m module] file}
exit 1
}