<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 1, 2014 at 5:49 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Any chance of test cases?<br></blockquote><div><br></div><div>Sorry, yes, I have some but Phabricator seems to be strangely unable to render them properly. I guess it doesn't conform to ISO/IEC 6429 / ECMA-48? I could take photos of the testcases on my screen and fax them to you, would that work? Do you have a color fax machine?</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Does this produce any ambiguities in the grammar? Or is it strictly turning invalid cases into valid ones?</blockquote><div><br></div><div>It's possible for there to be ambiguities here, in cases like:</div><div><br>
</div><div>#define STR(x) #x</div><div>#define m</div><div>const char *p = STR(<U+1B>[m);</div><div><br></div><div>With the patch we'll emit "\x1b[m", without it we'll emit "\x1b[". Tricky. Any ideas?</div>
</div></div></div>