Update of /cvsroot/flexml/flexml
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv11873
Modified Files:
Makefile.defs flexml.pl
Log Message:
Fix bug causing multi-parser test failure (multiple runs
of the parser need to reset [ib]next.)
Index: Makefile.defs
===================================================================
RCS file: /cvsroot/flexml/flexml/Makefile.defs,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Makefile.defs 22 Aug 2006 14:00:37 -0000 1.12
+++ Makefile.defs 30 Aug 2006 14:37:02 -0000 1.13
@@ -14,7 +14,8 @@
# BASE_DIR: like --prefix for configure
# BASE_DIR_ARCH: like --exec-prefix for configure
-BASE_DIR ?= /usr
+#BASE_DIR ?= /usr
+BASE_DIR ?= /proj/flexml/flexml/dist
BASE_DIR_ARCH ?= $(BASE_DIR)
FLEXML= flexml$(SUFF)
Index: flexml.pl
===================================================================
RCS file: /cvsroot/flexml/flexml/flexml.pl,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- flexml.pl 29 Aug 2006 14:14:40 -0000 1.58
+++ flexml.pl 30 Aug 2006 14:37:02 -0000 1.59
@@ -1287,6 +1287,7 @@
my ($state, $tag);
print " /* FleXML_init */\n";
+ print " bnext = inext = 1;\n";
for my $att (@default_attributes) {
print " ${tagprefix}bufferliteral('\\0', &bnext, \"$att\");\n";
}
|