[FIXED JENKINS-18913] Make Doxygen parser handle global messages correctly

The parsing of local messages did not recognize global messages as a
point to stop grabbing the message.

[FIXED JENKINS-18913]