Multiline comments mess with parser's line number state.
da66c8e
Opened by Roy Frostig at
By example:
// -*- rust -*-
/* 1
* 2
* 3
*/
fn main() {
%; // parse error on line 8, but is reported on line 5 instead.
}
Fix some naughtiness of handling newlines in bracequotes and multi-line comments. Closed by a1ecdb103d32551ffb5bf552f95c88292b7eac1c.
Graydon Hoare at 2010-08-03 23:28:57