Accept empty table on last line
This commit is contained in:
parent
6450da87ba
commit
112adaaa3f
|
@ -285,7 +285,7 @@ impl<'a> Parser<'a> {
|
||||||
};
|
};
|
||||||
if self.require_newline_after_table {
|
if self.require_newline_after_table {
|
||||||
self.ws();
|
self.ws();
|
||||||
if !self.comment() && !self.newline() {
|
if !self.comment() && !self.newline() && self.peek(0).is_some() {
|
||||||
self.errors.push(ParserError {
|
self.errors.push(ParserError {
|
||||||
lo: start,
|
lo: start,
|
||||||
hi: start,
|
hi: start,
|
||||||
|
|
Loading…
Reference in a new issue