Fix typedef handling bug in mxmldoc.

Don't use valgrind in dotest.sh...
pull/193/head
Michael R Sweet 19 years ago
parent 87410f7b09
commit 35b7bc18e3
  1. 4
      doc/reference.html
  2. 4
      mxml.xml
  3. 2
      mxmldoc.c
  4. 5
      test/dotest.sh

@ -1151,7 +1151,7 @@ mxmlWalkPrev(
<h3><a name='mxml_attr_s'>mxml_attr_s</a></h3>
<hr noshade/>
<h4>Description</h4>
<p>Data types...</p>
<p>An XML element attribute value.</p>
<h4>Definition</h4>
<pre>
struct mxml_attr_s
@ -1298,7 +1298,7 @@ struct mxml_value_s
<h3><a name='mxml_attr_t'>mxml_attr_t</a></h3>
<hr noshade/>
<h4>Description</h4>
<p>Data types...</p>
<p>An XML element attribute value.</p>
<h4>Definition</h4>
<pre>
typedef struct <a href='#mxml_attr_s'>mxml_attr_s</a> mxml_attr_t;

@ -811,7 +811,7 @@ the walk to the node's children.</description>
</argument>
</function>
<struct name="mxml_attr_s">
<description>Data types...</description>
<description>An XML element attribute value.</description>
<variable name="name">
<type>char *</type>
<description>Attribute name</description>
@ -823,7 +823,7 @@ the walk to the node's children.</description>
</struct>
<typedef name="mxml_attr_t">
<type>struct mxml_attr_s</type>
<description>Data types...</description>
<description>An XML element attribute value.</description>
</typedef>
<struct name="mxml_custom_s">
<description>An XML custom value.</description>

@ -891,6 +891,8 @@ scan_file(const char *filename, /* I - Filename */
mxmlDelete(type);
type = NULL;
}
typedefnode = NULL;
break;
case ':' :

@ -7,6 +7,7 @@ else
fi
rm -f test.xml
valgrind --logfile-fd=3 --leak-check=yes ../mxmldoc test.xml \
$files >test.html 2>test.log 3>test.valgrind
../mxmldoc test.xml $files >test.html 2>test.log
#valgrind --logfile-fd=3 --leak-check=yes ../mxmldoc test.xml \
# $files >test.html 2>test.log 3>test.valgrind

Loading…
Cancel
Save