From: Martin Q. <mqu...@us...> - 2012-12-20 00:13:43
|
Update of /cvsroot/flexml/flexml In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32251 Modified Files: ChangeLog Makefile.defs flexml.pl Log Message: fix an issue with XML names containing underscores, and release 1.9.3 Index: Makefile.defs =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile.defs,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- Makefile.defs 4 Nov 2011 14:55:44 -0000 1.22 +++ Makefile.defs 20 Dec 2012 00:13:40 -0000 1.23 @@ -6,7 +6,7 @@ #SUFF ?=-$(VER) SUFF ?= -VER = 1.9.2 +VER = 1.9.3 # SETUP. Index: flexml.pl =================================================================== RCS file: /cvsroot/flexml/flexml/flexml.pl,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- flexml.pl 4 Nov 2011 14:55:44 -0000 1.68 +++ flexml.pl 20 Dec 2012 00:13:40 -0000 1.69 @@ -166,9 +166,10 @@ sub variablify { # Change XML Name to legal C variable name. local ($_) = @_; + s|_|___|go; s|-|_d_|go; s|:|_c_|go; - s|/|__|go; + s|/|_s_|go; $_ } Index: ChangeLog =================================================================== RCS file: /cvsroot/flexml/flexml/ChangeLog,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ChangeLog 4 Nov 2011 14:55:44 -0000 1.4 +++ ChangeLog 20 Dec 2012 00:13:40 -0000 1.5 @@ -1,3 +1,9 @@ +2012-12-20 Martin Quinson <Mar...@lo...> + + * Integrate another patch from Arnaud Giersch, this time to + ensure that underscores in XML names don't mess the C version. + * Release v1.9.3 with this fix. + 2011-11-04 Martin Quinson <Mar...@lo...> * Integrate a patch from Arnaud Giersch to ensure that the |