<p><br>
On Sep 23, 2013 6:30 PM, "Sean Kelly" <<a href="mailto:sean@invisibleduck.org">sean@invisibleduck.org</a>> wrote:<br>
><br>
> On Sep 21, 2013, at 10:22 PM, Walter Bright <<a href="mailto:newshound2@digitalmars.com">newshound2@digitalmars.com</a>> wrote:<br>
><br>
> > On 9/21/2013 8:54 PM, Michel Fortin wrote:<br>
> >> I don't think it should be a priority, but rejecting the idea outright is<br>
> >> shortsighted in my opinion.<br>
> ><br>
> > I'm not rejecting the idea outright. I've actually implemented this in the dmc compiler. It's just not terribly useful, and it has costs.<br>
><br>
> I'd consider it in a similar class as the dictionary lookup that occurs when an unknown symbol is encountered.  Totally unnecessary, but it's a nice time-saver.  Is it clang that displays the line in error with a carat underneath the error?  Though if there really isn't an efficient way to do it in DMD then I don't think it's worthwhile.  I was only thinking of the parser when I mentioned the beginning-of-line pointer.  I hadn't considered the AST.</p>

<p>GCC has a carat too now.</p>
<p>Regards<br>
-- <br>
Iain Buclaw</p>
<p>*(p < e ? p++ : p) = (c & 0x0f) + '0';</p>