mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-14 15:55:30 +00:00
f7fdbeb2c9
mxmldoc.c: - find_public(): Added - scan_file(): Revert previous @private@ changes, clear typedefnode after we assign a comment, and remove unnecessary @private@ comment check. - write_documentation(): Use find_public() instead of mxmlFindElement() when enumerating public types, structs, etc. test/dotest.sh: - Run "make mxmldoc-static" so that the test uses a current executable. test/function.cxx: - Add @private@ function. test/struct.cxx: - Add @private@ struct. test/type.cxx: - Added (simple typedef types)
15 lines
280 B
Bash
Executable File
15 lines
280 B
Bash
Executable File
#!/bin/sh
|
|
(cd ..; make mxmldoc-static)
|
|
|
|
if test $# -gt 0; then
|
|
files=$*
|
|
else
|
|
files=*.cxx
|
|
fi
|
|
|
|
rm -f test.xml
|
|
#../mxmldoc-static test.xml $files >test.html 2>test.log
|
|
valgrind --log-fd=3 --leak-check=yes ../mxmldoc-static test.xml \
|
|
$files >test.html 2>test.log 3>test.valgrind
|
|
|