Browse Source

Remove `&& false` from test code

gingerBill 4 years ago
parent
commit
81efd2dc64
1 changed files with 1 additions and 1 deletions
  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) {
 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") {
 		if (f->curr_proc != nullptr && token.string == "\n") {
 			switch (token.kind) {
 			switch (token.kind) {
 			case Token_CloseBrace:
 			case Token_CloseBrace: