Fixed bug in the printing mode
authorSebastian Hammer <quinn@indexdata.com>
Tue, 28 Mar 1995 09:15:45 +0000 (09:15 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Tue, 28 Mar 1995 09:15:45 +0000 (09:15 +0000)
odr/Makefile
odr/odr_cons.c

index ec87fcc..86ad6ea 100644 (file)
@@ -1,13 +1,13 @@
 # Copyright (C) 1994, Index Data I/S 
 # All rights reserved.
 # Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.10 1995-03-27 08:33:13 quinn Exp $
+# $Id: Makefile,v 1.11 1995-03-28 09:15:45 quinn Exp $
 
 SHELL=/bin/sh
 INCLUDE=-I../include -I. -I../util
 LIBDIR=../../lib
 LIBINCLUDE=-L$(LIBDIR)
-CFLAGS= -g -Wall -pedantic -ansi -DODR_DEBUG
+CFLAGS= -g -Wall -pedantic -ansi #-DODR_DEBUG
 DEFS=$(INCLUDE)
 LIB=$(LIBDIR)/libodr.a
 LIBS=-lodr
index d3f1582..4b83085 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: odr_cons.c,v $
- * Revision 1.8  1995-03-15 11:18:04  quinn
+ * Revision 1.9  1995-03-28 09:15:49  quinn
+ * Fixed bug in the printing mode
+ *
+ * Revision 1.8  1995/03/15  11:18:04  quinn
  * Fixed serious bug in odr_cons
  *
  * Revision 1.7  1995/03/10  11:44:41  quinn
@@ -151,7 +154,7 @@ int odr_constructed_end(ODR o)
 #endif
            o->stackp--;
            return 1;
-       case ODR_PRINT: return 1;
+       case ODR_PRINT: o->stackp--;  return 1;
        default:
            o->error = OOTHER;
            return 0;