mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-29 09:03:20 -08:00
helpers for matching string literals
This commit is contained in:
1 parent
89ff4d0de2
commit
a1d5837ff3
13 files changed
+165
-196
No files matched your search
@@ -163,7 +163,7 @@ entry_point(CmdLine *cmdline)
|
||||
if (str8_match(cmd->string, opt_name, StringMatchFlag_CaseInsensitive)) {
|
||||
opt = g_rd_dump_option_map[opt_idx].opt;
|
||||
break;
|
||||
} else if (str8_match(cmd->string, str8_lit("all"), StringMatchFlag_CaseInsensitive)) {
|
||||
} else if (str8_match_lit("all", cmd->string, StringMatchFlag_CaseInsensitive)) {
|
||||
opt = ~0ull & ~(RD_Option_Help|RD_Option_Version);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user