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 {
|
||||
self.ws();
|
||||
if !self.comment() && !self.newline() {
|
||||
if !self.comment() && !self.newline() && self.peek(0).is_some() {
|
||||
self.errors.push(ParserError {
|
||||
lo: start,
|
||||
hi: start,
|
||||
|
|
Loading…
Reference in a new issue