mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-22 22:02:23 -08:00
type command-line option values
* pass argv inputs directly to the config command line * define each option's value type in the switch table so comma splitting is applied only to list typed switches
This commit is contained in:
1 parent
76e267482f
commit
efe2a78019
7 files changed
+390
-452
No files matched your search
@@ -881,7 +881,7 @@ lnk_parse_msvc_linker_directive(Arena *arena, LNK_Obj *obj, LNK_DirectiveInfo *d
|
||||
LNK_Directive *directive = push_array_no_zero(arena, LNK_Directive, 1);
|
||||
directive->next = 0;
|
||||
directive->id = str8_cstring(cmd_switch->name);
|
||||
directive->value_list = str8_list_copy(arena, &opt->value_strings);
|
||||
directive->value = push_str8_copy(arena, opt->value);
|
||||
|
||||
LNK_DirectiveList *directive_list = &directive_info->v[cmd_switch->type];
|
||||
SLLQueuePush(directive_list->first, directive_list->last, directive);
|
||||
|
||||
Reference in new issue
Block a user