X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fyaz-comp;h=f7a1c061ef495a90e330a153ab6d9d8df93c919d;hb=3f7b54230a51be797c9439b091aa59133da16732;hp=644b18786748d5a814b4890a8ea89fec67431399;hpb=e5324215018e129dd19734acd0e683e5af748423;p=yaz-moved-to-github.git diff --git a/util/yaz-comp b/util/yaz-comp index 644b187..f7a1c06 100755 --- a/util/yaz-comp +++ b/util/yaz-comp @@ -3,59 +3,10 @@ exec tclsh "$0" "$@" # # yaz-comp: ASN.1 Compiler for YAZ -# (c) Index Data 1996-2000 +# (c) Index Data 1996-2003 # See the file LICENSE for details. # -# $Log: yaz-comp,v $ -# Revision 1.2 2001-02-21 13:46:54 adam -# C++ fixes. -# -# Revision 1.1 2000/03/02 08:48:20 adam -# Renamed ASN.1 compiler to yaz-comp (used to be yc.tcl). -# -# Revision 1.6 2000/02/10 13:44:02 adam -# Tcl command clock not used if unavailable (Tcl7.4 and earlier). -# -# Revision 1.5 2000/01/15 09:18:42 adam -# Bug fix: some elements where treated as OPTIONAL when they shouldn't. -# -# Revision 1.4 1999/12/16 23:36:19 adam -# Implemented ILL protocol. Minor updates ASN.1 compiler. -# -# Revision 1.3 1999/11/30 13:47:12 adam -# Improved installation. Moved header files to include/yaz. -# -# Revision 1.2 1999/06/09 09:43:11 adam -# Added option -I and variable h-path to specify path for header files. -# -# Revision 1.1 1999/06/08 10:10:16 adam -# New sub directory zutil. Moved YAZ Compiler to be part of YAZ tree. -# -# Revision 1.8 1999/04/20 10:37:04 adam -# Updated for ODR - added name parameter. -# -# Revision 1.7 1998/04/03 14:44:20 adam -# Small fix. -# -# Revision 1.6 1998/04/03 13:21:17 adam -# Yet another fix. -# -# Revision 1.5 1998/04/03 12:48:17 adam -# Fixed bug: missed handling of constructed tags for CHOICE. -# -# Revision 1.4 1998/03/31 15:47:45 adam -# First compiled ASN.1 code for YAZ. -# -# Revision 1.3 1998/03/23 17:13:20 adam -# Implemented SET OF and ENUM. The Compiler now eats ILL (ISO10161) and -# LDAP (RFC1777). -# -# Revision 1.2 1997/10/07 10:31:01 adam -# Added facility to specify tag type (CONTEXT, APPLICATION, ...). -# -# Revision 1.1.1.1 1996/10/31 14:04:40 adam -# First version of the compiler for YAZ. -# +# $Id: yaz-comp,v 1.5 2003-05-06 10:06:43 adam Exp $ # set yc_version 0.3 @@ -1159,7 +1110,7 @@ proc asnModules {} { puts $file(outh) "\#ifndef ${ppname}_H" puts $file(outh) "\#define ${ppname}_H" puts $file(outh) {} - puts $file(outh) "\#include <$inf(h-dir)odr.h>" + puts $file(outh) "\#include " if {[info exists file(outp)]} { puts $file(outp) "\#ifndef ${ppname}_P_H"