Fix segfault parsing varargs with -doxygen

Closes #1643
2 files changed