Commit 35b7bc18 authored by Michael R Sweet's avatar Michael R Sweet

Fix typedef handling bug in mxmldoc.

Don't use valgrind in dotest.sh...
parent 87410f7b
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment