Consume EOL after line comment.
This commit is contained in:
parent
d52169686b
commit
63aa869405
@ -590,6 +590,9 @@ fn read_to_eol(&reader rdr) -> str {
|
||||
str::push_char(val, rdr.curr());
|
||||
rdr.bump();
|
||||
}
|
||||
if rdr.curr() == '\n' {
|
||||
rdr.bump();
|
||||
}
|
||||
ret val;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user