<div dir="ltr">Hi Aaron.<br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><span style="color:rgb(34,34,34)">We don't usually use "malformed" in our diagnostic wordings (though it</span><br>
</div></div>
does happen from time to time). I think "unexpected" is more<br>
consistent.<br>
<br>
As for not having text to display, wouldn't it be possible to simply<br>
pass in the text as-lexed (via PP.getSpelling())?<br></blockquote><div><br></div><div>Hm, good idea! The only problem is with a missing argument, in which case the next token is an end of line and the diagnostic would actually print a newline. So in the end I have split the diagnostic into two, one for the "missing argument" case and one for the "unexpected argument" case.</div>
<div><br></div><div>New patch attached.</div><div><br></div><div>Cheers,</div><div>    Dario Domizioli</div><div>    SN Systems - Sony Computer Entertainment Group</div><div><br></div></div></div></div>