Attached is a patch that fixes a problem when handling \brief style comments.<div>If the line after the first paragraph has any whitespace (following the * comment tokens), then the end of the paragraph check will fail, since it gets a text token, instead of an expected newline.</div>

<div><br></div><div>Found this while trying to parse the SDL headers, so I'm attaching an extract of it that shows the problem in question. It only happens on the second struct (SDL_Rect).</div><div><br></div><div>I'm not sure if this is the right fix, but it fixes it on this header.</div>

<div><div><br></div><div>-- <br>Joćo Matos<br>
</div></div>