Colin Rafferty <craffert(a)ms.com> writes:
> You will be (un)happy to know that every version since 19.11
has
> done this.
I'm not surprise to hear it. In fact, I sort of expected it. It's
just that I consider it a bug. Whether the bug is easily fixable is
another question.
> And if you move the `(' off the BOL, everything works fine.
I noticed that. However, the reason I ask is that in the standard GPL
comments a line begins with `(', so the expression pops up quite
often.
> Line 526 of syntax.c decides that a character code type of Sopen
at
> the beginning of the line means we are done looking, and the function
> itself will then leave you at the end of the comment.
> I guess the thing to do is figure out why the assumption at line 526
> is there.
As Kyle pointed out, it's an optimization. For 21.1, someone should
make measurements and see how fast/slow things work when the
optimization is removed.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Ooh, Granny, what a BIG belly-button you have!