diff options
| author | gingerBill <bill@gingerbill.org> | 2021-03-13 21:39:33 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-03-13 21:39:33 +0000 |
| commit | 81efd2dc64d63a7d75db7f34fe340d32e02573ba (patch) | |
| tree | d5081c1556d351f0ba61dd71f390c0a5b74a5e6e /src | |
| parent | b5c0c686151ae79304af1d5f6dbfb7f44a689ead (diff) | |
Remove `&& false` from test code
Diffstat (limited to 'src')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 63099cf55..d7706040e 100644 --- a/src/parser.cpp +++ b/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: |