D-Programming-Language/dmd — pull request #790 by p0nce (2012-03-06 01:00:37+00:00)
Title: Bug 977

Hi,

My first commit in the dmd codebase, fix bug #977.

The line given in errors in array initializers, seems to be correct. But I'm afraid of what could have been broken. Worst case scenario with a large number of errors in a big lookahead is O^2. As no line numbers goes with token I'm not sure anything else can be done.

Please review!