Explorar o código

Change trailing comma require to `-strict-style` only

gingerBill %!s(int64=2) %!d(string=hai) anos
pai
achega
ba02ef8f25
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/parser.cpp

+ 1 - 1
src/parser.cpp

@@ -1434,7 +1434,7 @@ gb_internal Token expect_closing_brace_of_field_list(AstFile *f) {
 		return token;
 	}
 	bool ok = true;
-	if (!f->allow_newline) {
+	if (f->allow_newline) {
 		ok = !skip_possible_newline(f);
 	}
 	if (ok && allow_token(f, Token_Semicolon)) {