Fix typedef handling bug in mxmldoc.

Don't use valgrind in dotest.sh...
This commit is contained in:
Michael R Sweet 2005-06-14 02:53:52 +00:00
parent 87410f7b09
commit 35b7bc18e3
4 changed files with 9 additions and 6 deletions

View File

@ -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;

View File

@ -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>

View File

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

View File

@ -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