gri3-wm/generated/GENERATED_config_call.h

704 lines
25 KiB
C

static void GENERATED_call(const int call_identifier, struct ConfigResultIR *result) {
switch (call_identifier) {
case 0:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_force_display_urgency_hint(&current_match, result, get_long("duration_ms"));
#else
fprintf(stderr, "cfg_force_display_urgency_hint(%ld)\n", get_long("duration_ms"));
#endif
break;
case 1:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_floating_maximum_size(&current_match, result, get_long("width"), get_long("height"));
#else
fprintf(stderr, "cfg_floating_maximum_size(%ld, %ld)\n", get_long("width"), get_long("height"));
#endif
break;
case 2:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_floating_minimum_size(&current_match, result, get_long("width"), get_long("height"));
#else
fprintf(stderr, "cfg_floating_minimum_size(%ld, %ld)\n", get_long("width"), get_long("height"));
#endif
break;
case 3:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_strip_workspace_numbers(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_bar_strip_workspace_numbers(%s)\n", get_string("value"));
#endif
break;
case 4:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_binding_mode_indicator(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_bar_binding_mode_indicator(%s)\n", get_string("value"));
#endif
break;
case 5:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_on_window_activation(&current_match, result, get_string("mode"));
#else
fprintf(stderr, "cfg_focus_on_window_activation(%s)\n", get_string("mode"));
#endif
break;
case 6:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_strip_workspace_name(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_bar_strip_workspace_name(%s)\n", get_string("value"));
#endif
break;
case 7:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_default_border(&current_match, result, get_string("windowtype"), get_string("border"), get_long("width"));
#else
fprintf(stderr, "cfg_default_border(%s, %s, %ld)\n", get_string("windowtype"), get_string("border"), get_long("width"));
#endif
break;
case 8:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_workspace_back_and_forth(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_workspace_back_and_forth(%s)\n", get_string("value"));
#endif
break;
case 9:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_assign(&current_match, result, get_string("number"), 1);
#else
fprintf(stderr, "cfg_assign(%s, %d)\n", get_string("number"), 1);
#endif
break;
case 10:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_popup_during_fullscreen(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_popup_during_fullscreen(%s)\n", get_string("value"));
#endif
break;
case 11:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_popup_during_fullscreen(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_popup_during_fullscreen(%s)\n", get_string("value"));
#endif
break;
case 12:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_popup_during_fullscreen(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_popup_during_fullscreen(%s)\n", get_string("value"));
#endif
break;
case 13:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_workspace_buttons(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_bar_workspace_buttons(%s)\n", get_string("value"));
#endif
break;
case 14:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_default_border(&current_match, result, get_string("windowtype"), get_string("border"), 2);
#else
fprintf(stderr, "cfg_default_border(%s, %s, %d)\n", get_string("windowtype"), get_string("border"), 2);
#endif
break;
case 15:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_separator_symbol(&current_match, result, get_string("separator"));
#else
fprintf(stderr, "cfg_bar_separator_symbol(%s)\n", get_string("separator"));
#endif
break;
case 16:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_force_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_force_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 17:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_tray_padding(&current_match, result, get_long("padding_px"));
#else
fprintf(stderr, "cfg_bar_tray_padding(%ld)\n", get_long("padding_px"));
#endif
break;
case 18:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_default_orientation(&current_match, result, get_string("orientation"));
#else
fprintf(stderr, "cfg_default_orientation(%s)\n", get_string("orientation"));
#endif
break;
case 19:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_default_orientation(&current_match, result, get_string("orientation"));
#else
fprintf(stderr, "cfg_default_orientation(%s)\n", get_string("orientation"));
#endif
break;
case 20:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_default_orientation(&current_match, result, get_string("orientation"));
#else
fprintf(stderr, "cfg_default_orientation(%s)\n", get_string("orientation"));
#endif
break;
case 21:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_follows_mouse(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_follows_mouse(%s)\n", get_string("value"));
#endif
break;
case 22:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_color(&current_match, result, get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"), get_string("indicator"), get_string("child_border"));
#else
fprintf(stderr, "cfg_color(%s, %s, %s, %s, %s, %s)\n", get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"), get_string("indicator"), get_string("child_border"));
#endif
break;
case 23:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_color(&current_match, result, get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"), get_string("indicator"), NULL);
#else
fprintf(stderr, "cfg_color(%s, %s, %s, %s, %s, NULL)\n", get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"), get_string("indicator"));
#endif
break;
case 24:
result->next_state = BAR_COLORS;
#ifndef TEST_PARSER
cfg_bar_color_single(&current_match, result, get_string("colorclass"), get_string("color"));
#else
fprintf(stderr, "cfg_bar_color_single(%s, %s)\n", get_string("colorclass"), get_string("color"));
#endif
break;
case 25:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_floating_modifier(&current_match, result, get_string("modifiers"));
#else
fprintf(stderr, "cfg_floating_modifier(%s)\n", get_string("modifiers"));
#endif
break;
case 26:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 27:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 28:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 29:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 30:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 31:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 32:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 33:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 34:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 35:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 36:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
#else
fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
#endif
break;
case 37:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_assign(&current_match, result, get_string("workspace"), 0);
#else
fprintf(stderr, "cfg_assign(%s, %d)\n", get_string("workspace"), 0);
#endif
break;
case 38:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_hidden_state(&current_match, result, get_string("hidden_state"));
#else
fprintf(stderr, "cfg_bar_hidden_state(%s)\n", get_string("hidden_state"));
#endif
break;
case 39:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_hidden_state(&current_match, result, get_string("hidden_state"));
#else
fprintf(stderr, "cfg_bar_hidden_state(%s)\n", get_string("hidden_state"));
#endif
break;
case 40:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_ipc_kill_timeout(&current_match, result, get_long("timeout"));
#else
fprintf(stderr, "cfg_ipc_kill_timeout(%ld)\n", get_long("timeout"));
#endif
break;
case 41:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_workspace_layout(&current_match, result, get_string("layout"));
#else
fprintf(stderr, "cfg_workspace_layout(%s)\n", get_string("layout"));
#endif
break;
case 42:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_workspace_layout(&current_match, result, get_string("layout"));
#else
fprintf(stderr, "cfg_workspace_layout(%s)\n", get_string("layout"));
#endif
break;
case 43:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_workspace_layout(&current_match, result, get_string("layout"));
#else
fprintf(stderr, "cfg_workspace_layout(%s)\n", get_string("layout"));
#endif
break;
case 44:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_workspace_layout(&current_match, result, get_string("layout"));
#else
fprintf(stderr, "cfg_workspace_layout(%s)\n", get_string("layout"));
#endif
break;
case 45:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_i3bar_command(&current_match, result, get_string("command"));
#else
fprintf(stderr, "cfg_bar_i3bar_command(%s)\n", get_string("command"));
#endif
break;
case 46:
result->next_state = BAR_COLORS;
#ifndef TEST_PARSER
cfg_bar_color(&current_match, result, get_string("colorclass"), get_string("border"), get_string("background"), NULL);
#else
fprintf(stderr, "cfg_bar_color(%s, %s, %s, NULL)\n", get_string("colorclass"), get_string("border"), get_string("background"));
#endif
break;
case 47:
result->next_state = BAR_COLORS;
#ifndef TEST_PARSER
cfg_bar_color(&current_match, result, get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"));
#else
fprintf(stderr, "cfg_bar_color(%s, %s, %s, %s)\n", get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"));
#endif
break;
case 48:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_socket_path(&current_match, result, get_string("path"));
#else
fprintf(stderr, "cfg_bar_socket_path(%s)\n", get_string("path"));
#endif
break;
case 49:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_tray_output(&current_match, result, get_string("output"));
#else
fprintf(stderr, "cfg_bar_tray_output(%s)\n", get_string("output"));
#endif
break;
case 50:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_color(&current_match, result, get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"), NULL, NULL);
#else
fprintf(stderr, "cfg_color(%s, %s, %s, %s, NULL, NULL)\n", get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"));
#endif
break;
case 51:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_disable_randr15(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_disable_randr15(%s)\n", get_string("value"));
#endif
break;
case 52:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_default_border(&current_match, result, get_string("windowtype"), get_string("border"), -1);
#else
fprintf(stderr, "cfg_default_border(%s, %s, %d)\n", get_string("windowtype"), get_string("border"), -1);
#endif
break;
case 53:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_default_border(&current_match, result, get_string("windowtype"), get_string("border"), -1);
#else
fprintf(stderr, "cfg_default_border(%s, %s, %d)\n", get_string("windowtype"), get_string("border"), -1);
#endif
break;
case 54:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 55:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 56:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 57:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 58:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 59:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 60:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 61:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 62:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 63:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 64:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 65:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 66:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_focus_wrapping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_focus_wrapping(%s)\n", get_string("value"));
#endif
break;
case 67:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_force_xinerama(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_force_xinerama(%s)\n", get_string("value"));
#endif
break;
case 68:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_assign_output(&current_match, result, get_string("output"));
#else
fprintf(stderr, "cfg_assign_output(%s)\n", get_string("output"));
#endif
break;
case 69:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_mouse_warping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_mouse_warping(%s)\n", get_string("value"));
#endif
break;
case 70:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_mouse_warping(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_mouse_warping(%s)\n", get_string("value"));
#endif
break;
case 71:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_restart_state(&current_match, result, get_string("path"));
#else
fprintf(stderr, "cfg_restart_state(%s)\n", get_string("path"));
#endif
break;
case 72:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_modifier(&current_match, result, NULL);
#else
fprintf(stderr, "cfg_bar_modifier(NULL)\n");
#endif
break;
case 73:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_modifier(&current_match, result, NULL);
#else
fprintf(stderr, "cfg_bar_modifier(NULL)\n");
#endif
break;
case 74:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_modifier(&current_match, result, get_string("modifiers"));
#else
fprintf(stderr, "cfg_bar_modifier(%s)\n", get_string("modifiers"));
#endif
break;
case 75:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_color_single(&current_match, result, get_string("colorclass"), get_string("color"));
#else
fprintf(stderr, "cfg_color_single(%s, %s)\n", get_string("colorclass"), get_string("color"));
#endif
break;
case 76:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_fake_outputs(&current_match, result, get_string("outputs"));
#else
fprintf(stderr, "cfg_fake_outputs(%s)\n", get_string("outputs"));
#endif
break;
case 77:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_verbose(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_bar_verbose(%s)\n", get_string("value"));
#endif
break;
case 78:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_title_align(&current_match, result, get_string("alignment"));
#else
fprintf(stderr, "cfg_title_align(%s)\n", get_string("alignment"));
#endif
break;
case 79:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_title_align(&current_match, result, get_string("alignment"));
#else
fprintf(stderr, "cfg_title_align(%s)\n", get_string("alignment"));
#endif
break;
case 80:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_title_align(&current_match, result, get_string("alignment"));
#else
fprintf(stderr, "cfg_title_align(%s)\n", get_string("alignment"));
#endif
break;
case 81:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_output(&current_match, result, get_string("output"));
#else
fprintf(stderr, "cfg_bar_output(%s)\n", get_string("output"));
#endif
break;
case 82:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_ipc_socket(&current_match, result, get_string("path"));
#else
fprintf(stderr, "cfg_ipc_socket(%s)\n", get_string("path"));
#endif
break;
case 83:
result->next_state = INITIAL;
#ifndef TEST_PARSER
cfg_show_marks(&current_match, result, get_string("value"));
#else
fprintf(stderr, "cfg_show_marks(%s)\n", get_string("value"));
#endif
break;
case 84:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_font(&current_match, result, get_string("font"));
#else
fprintf(stderr, "cfg_bar_font(%s)\n", get_string("font"));
#endif
break;
case 85:
result->next_state = MODEBRACE;
#ifndef TEST_PARSER
cfg_enter_mode(&current_match, result, get_string("pango_markup"), get_string("modename"));
#else
fprintf(stderr, "cfg_enter_mode(%s, %s)\n", get_string("pango_markup"), get_string("modename"));
#endif
break;
case 86:
result->next_state = BAR;
#ifndef TEST_PARSER
cfg_bar_id(&current_match, result, get_string("bar_id"));
#else
fprintf(stderr, "cfg_bar_id(%s)\n", get_string("bar_id"));
#endif
break;
default:
printf("BUG in the parser. state = %d\n", call_identifier);
assert(false);
}
}