diff options
| author | gingerBill <bill@gingerbill.org> | 2021-04-26 21:07:58 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-04-26 21:07:58 +0100 |
| commit | 898245431f147c9f31207f855c47d7fb54f5c53c (patch) | |
| tree | 661980caa1d52b7e9459824b2b3e5c30fff76700 /src/main.cpp | |
| parent | 43942a61991e32a821bb577457e0a15aa4178e16 (diff) | |
Make -strict-style the default #871
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index c34377bfa..fbce4838c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1216,8 +1216,8 @@ bool parse_build_flags(Array<String> args) { break; case BuildFlag_StrictStyle: - build_context.insert_semicolon = true; - build_context.strict_style = true; + gb_printf_err("-strict-style flag is not required any more\n"); + bad_flags = true; break; @@ -1802,10 +1802,6 @@ void print_show_help(String const arg0, String const &command) { print_usage_line(2, "Inserts semicolons on newlines during tokenization using a basic rule"); print_usage_line(0, ""); - print_usage_line(1, "-strict-style"); - print_usage_line(2, "Enforces code style stricter whilst parsing, requiring such things as trailing commas"); - print_usage_line(0, ""); - print_usage_line(1, "-ignore-warnings"); print_usage_line(2, "Ignores warning messages"); print_usage_line(0, ""); |