Selaa lähdekoodia

Remove `&& false` from test code

gingerBill 4 vuotta sitten
vanhempi
commit
81efd2dc64
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/parser.cpp

+ 1 - 1
src/parser.cpp

@@ -1536,7 +1536,7 @@ bool is_semicolon_optional_for_node(AstFile *f, Ast *s) {
 }
 
 void expect_semicolon_newline_error(AstFile *f, Token const &token, Ast *s) {
-	if (build_context.strict_style && false) {
+	if (build_context.strict_style) {
 		if (f->curr_proc != nullptr && token.string == "\n") {
 			switch (token.kind) {
 			case Token_CloseBrace: