mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-08 13:39:58 +00:00
Fix typedef handling bug in mxmldoc.
Don't use valgrind in dotest.sh...
This commit is contained in:
parent
87410f7b09
commit
35b7bc18e3
@ -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;
|
||||
|
4
mxml.xml
4
mxml.xml
@ -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…
Reference in New Issue
Block a user