mirror of
https://github.com/michaelrsweet/mxml.git
synced 2025-07-02 00:42:07 +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>
|
<h3><a name='mxml_attr_s'>mxml_attr_s</a></h3>
|
||||||
<hr noshade/>
|
<hr noshade/>
|
||||||
<h4>Description</h4>
|
<h4>Description</h4>
|
||||||
<p>Data types...</p>
|
<p>An XML element attribute value.</p>
|
||||||
<h4>Definition</h4>
|
<h4>Definition</h4>
|
||||||
<pre>
|
<pre>
|
||||||
struct mxml_attr_s
|
struct mxml_attr_s
|
||||||
@ -1298,7 +1298,7 @@ struct mxml_value_s
|
|||||||
<h3><a name='mxml_attr_t'>mxml_attr_t</a></h3>
|
<h3><a name='mxml_attr_t'>mxml_attr_t</a></h3>
|
||||||
<hr noshade/>
|
<hr noshade/>
|
||||||
<h4>Description</h4>
|
<h4>Description</h4>
|
||||||
<p>Data types...</p>
|
<p>An XML element attribute value.</p>
|
||||||
<h4>Definition</h4>
|
<h4>Definition</h4>
|
||||||
<pre>
|
<pre>
|
||||||
typedef struct <a href='#mxml_attr_s'>mxml_attr_s</a> mxml_attr_t;
|
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>
|
</argument>
|
||||||
</function>
|
</function>
|
||||||
<struct name="mxml_attr_s">
|
<struct name="mxml_attr_s">
|
||||||
<description>Data types...</description>
|
<description>An XML element attribute value.</description>
|
||||||
<variable name="name">
|
<variable name="name">
|
||||||
<type>char *</type>
|
<type>char *</type>
|
||||||
<description>Attribute name</description>
|
<description>Attribute name</description>
|
||||||
@ -823,7 +823,7 @@ the walk to the node's children.</description>
|
|||||||
</struct>
|
</struct>
|
||||||
<typedef name="mxml_attr_t">
|
<typedef name="mxml_attr_t">
|
||||||
<type>struct mxml_attr_s</type>
|
<type>struct mxml_attr_s</type>
|
||||||
<description>Data types...</description>
|
<description>An XML element attribute value.</description>
|
||||||
</typedef>
|
</typedef>
|
||||||
<struct name="mxml_custom_s">
|
<struct name="mxml_custom_s">
|
||||||
<description>An XML custom value.</description>
|
<description>An XML custom value.</description>
|
||||||
|
@ -891,6 +891,8 @@ scan_file(const char *filename, /* I - Filename */
|
|||||||
mxmlDelete(type);
|
mxmlDelete(type);
|
||||||
type = NULL;
|
type = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
typedefnode = NULL;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ':' :
|
case ':' :
|
||||||
|
@ -7,6 +7,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f test.xml
|
rm -f test.xml
|
||||||
valgrind --logfile-fd=3 --leak-check=yes ../mxmldoc test.xml \
|
../mxmldoc test.xml $files >test.html 2>test.log
|
||||||
$files >test.html 2>test.log 3>test.valgrind
|
#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