i3
GENERATED_config_call.h
Go to the documentation of this file.
1 static void GENERATED_call(const int call_identifier, struct ConfigResultIR *result) {
2  switch (call_identifier) {
3  case 0:
4  result->next_state = INITIAL;
5 #ifndef TEST_PARSER
6  cfg_force_display_urgency_hint(&current_match, result, get_long("duration_ms"));
7 #else
8  fprintf(stderr, "cfg_force_display_urgency_hint(%ld)\n", get_long("duration_ms"));
9 #endif
10  break;
11  case 1:
12  result->next_state = INITIAL;
13 #ifndef TEST_PARSER
14  cfg_floating_maximum_size(&current_match, result, get_long("width"), get_long("height"));
15 #else
16  fprintf(stderr, "cfg_floating_maximum_size(%ld, %ld)\n", get_long("width"), get_long("height"));
17 #endif
18  break;
19  case 2:
20  result->next_state = INITIAL;
21 #ifndef TEST_PARSER
22  cfg_floating_minimum_size(&current_match, result, get_long("width"), get_long("height"));
23 #else
24  fprintf(stderr, "cfg_floating_minimum_size(%ld, %ld)\n", get_long("width"), get_long("height"));
25 #endif
26  break;
27  case 3:
28  result->next_state = BAR;
29 #ifndef TEST_PARSER
30  cfg_bar_strip_workspace_numbers(&current_match, result, get_string("value"));
31 #else
32  fprintf(stderr, "cfg_bar_strip_workspace_numbers(%s)\n", get_string("value"));
33 #endif
34  break;
35  case 4:
36  result->next_state = BAR;
37 #ifndef TEST_PARSER
38  cfg_bar_binding_mode_indicator(&current_match, result, get_string("value"));
39 #else
40  fprintf(stderr, "cfg_bar_binding_mode_indicator(%s)\n", get_string("value"));
41 #endif
42  break;
43  case 5:
44  result->next_state = INITIAL;
45 #ifndef TEST_PARSER
46  cfg_workspace_back_and_forth(&current_match, result, get_string("value"));
47 #else
48  fprintf(stderr, "cfg_workspace_back_and_forth(%s)\n", get_string("value"));
49 #endif
50  break;
51  case 6:
52  result->next_state = INITIAL;
53 #ifndef TEST_PARSER
54  cfg_popup_during_fullscreen(&current_match, result, get_string("value"));
55 #else
56  fprintf(stderr, "cfg_popup_during_fullscreen(%s)\n", get_string("value"));
57 #endif
58  break;
59  case 7:
60  result->next_state = INITIAL;
61 #ifndef TEST_PARSER
62  cfg_popup_during_fullscreen(&current_match, result, get_string("value"));
63 #else
64  fprintf(stderr, "cfg_popup_during_fullscreen(%s)\n", get_string("value"));
65 #endif
66  break;
67  case 8:
68  result->next_state = INITIAL;
69 #ifndef TEST_PARSER
70  cfg_popup_during_fullscreen(&current_match, result, get_string("value"));
71 #else
72  fprintf(stderr, "cfg_popup_during_fullscreen(%s)\n", get_string("value"));
73 #endif
74  break;
75  case 9:
76  result->next_state = BAR;
77 #ifndef TEST_PARSER
78  cfg_bar_workspace_buttons(&current_match, result, get_string("value"));
79 #else
80  fprintf(stderr, "cfg_bar_workspace_buttons(%s)\n", get_string("value"));
81 #endif
82  break;
83  case 10:
84  result->next_state = INITIAL;
85 #ifndef TEST_PARSER
86  cfg_workspace(&current_match, result, get_string("workspace"), get_string("output"));
87 #else
88  fprintf(stderr, "cfg_workspace(%s, %s)\n", get_string("workspace"), get_string("output"));
89 #endif
90  break;
91  case 11:
92  result->next_state = INITIAL;
93 #ifndef TEST_PARSER
94  cfg_new_window(&current_match, result, get_string("windowtype"), get_string("border"), get_long("width"));
95 #else
96  fprintf(stderr, "cfg_new_window(%s, %s, %ld)\n", get_string("windowtype"), get_string("border"), get_long("width"));
97 #endif
98  break;
99  case 12:
100  result->next_state = INITIAL;
101 #ifndef TEST_PARSER
102  cfg_force_focus_wrapping(&current_match, result, get_string("value"));
103 #else
104  fprintf(stderr, "cfg_force_focus_wrapping(%s)\n", get_string("value"));
105 #endif
106  break;
107  case 13:
108  result->next_state = INITIAL;
109 #ifndef TEST_PARSER
110  cfg_focus_follows_mouse(&current_match, result, get_string("value"));
111 #else
112  fprintf(stderr, "cfg_focus_follows_mouse(%s)\n", get_string("value"));
113 #endif
114  break;
115  case 14:
116  result->next_state = INITIAL;
117 #ifndef TEST_PARSER
118  cfg_default_orientation(&current_match, result, get_string("orientation"));
119 #else
120  fprintf(stderr, "cfg_default_orientation(%s)\n", get_string("orientation"));
121 #endif
122  break;
123  case 15:
124  result->next_state = INITIAL;
125 #ifndef TEST_PARSER
126  cfg_default_orientation(&current_match, result, get_string("orientation"));
127 #else
128  fprintf(stderr, "cfg_default_orientation(%s)\n", get_string("orientation"));
129 #endif
130  break;
131  case 16:
132  result->next_state = INITIAL;
133 #ifndef TEST_PARSER
134  cfg_default_orientation(&current_match, result, get_string("orientation"));
135 #else
136  fprintf(stderr, "cfg_default_orientation(%s)\n", get_string("orientation"));
137 #endif
138  break;
139  case 17:
140  result->next_state = INITIAL;
141 #ifndef TEST_PARSER
142  cfg_for_window(&current_match, result, get_string("command"));
143 #else
144  fprintf(stderr, "cfg_for_window(%s)\n", get_string("command"));
145 #endif
146  break;
147  case 18:
148  result->next_state = BAR;
149 #ifndef TEST_PARSER
150  cfg_bar_status_command(&current_match, result, get_string("command"));
151 #else
152  fprintf(stderr, "cfg_bar_status_command(%s)\n", get_string("command"));
153 #endif
154  break;
155  case 19:
156  result->next_state = BAR_COLORS;
157 #ifndef TEST_PARSER
158  cfg_bar_color_single(&current_match, result, get_string("colorclass"), get_string("color"));
159 #else
160  fprintf(stderr, "cfg_bar_color_single(%s, %s)\n", get_string("colorclass"), get_string("color"));
161 #endif
162  break;
163  case 20:
164  result->next_state = INITIAL;
165 #ifndef TEST_PARSER
166  cfg_floating_modifier(&current_match, result, get_string("modifiers"));
167 #else
168  fprintf(stderr, "cfg_floating_modifier(%s)\n", get_string("modifiers"));
169 #endif
170  break;
171  case 21:
172  result->next_state = INITIAL;
173 #ifndef TEST_PARSER
174  cfg_new_window(&current_match, result, get_string("windowtype"), get_string("border"), 2);
175 #else
176  fprintf(stderr, "cfg_new_window(%s, %s, %d)\n", get_string("windowtype"), get_string("border"), 2);
177 #endif
178  break;
179  case 22:
180  result->next_state = INITIAL;
181 #ifndef TEST_PARSER
182  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
183 #else
184  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
185 #endif
186  break;
187  case 23:
188  result->next_state = INITIAL;
189 #ifndef TEST_PARSER
190  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
191 #else
192  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
193 #endif
194  break;
195  case 24:
196  result->next_state = INITIAL;
197 #ifndef TEST_PARSER
198  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
199 #else
200  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
201 #endif
202  break;
203  case 25:
204  result->next_state = INITIAL;
205 #ifndef TEST_PARSER
206  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
207 #else
208  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
209 #endif
210  break;
211  case 26:
212  result->next_state = INITIAL;
213 #ifndef TEST_PARSER
214  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
215 #else
216  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
217 #endif
218  break;
219  case 27:
220  result->next_state = INITIAL;
221 #ifndef TEST_PARSER
222  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
223 #else
224  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
225 #endif
226  break;
227  case 28:
228  result->next_state = INITIAL;
229 #ifndef TEST_PARSER
230  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
231 #else
232  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
233 #endif
234  break;
235  case 29:
236  result->next_state = INITIAL;
237 #ifndef TEST_PARSER
238  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
239 #else
240  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
241 #endif
242  break;
243  case 30:
244  result->next_state = INITIAL;
245 #ifndef TEST_PARSER
246  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
247 #else
248  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
249 #endif
250  break;
251  case 31:
252  result->next_state = INITIAL;
253 #ifndef TEST_PARSER
254  cfg_hide_edge_borders(&current_match, result, get_string("hide_borders"));
255 #else
256  fprintf(stderr, "cfg_hide_edge_borders(%s)\n", get_string("hide_borders"));
257 #endif
258  break;
259  case 32:
260  result->next_state = INITIAL;
261 #ifndef TEST_PARSER
262  cfg_assign(&current_match, result, get_string("workspace"));
263 #else
264  fprintf(stderr, "cfg_assign(%s)\n", get_string("workspace"));
265 #endif
266  break;
267  case 33:
268  result->next_state = INITIAL;
269 #ifndef TEST_PARSER
270  cfg_workspace_layout(&current_match, result, get_string("layout"));
271 #else
272  fprintf(stderr, "cfg_workspace_layout(%s)\n", get_string("layout"));
273 #endif
274  break;
275  case 34:
276  result->next_state = INITIAL;
277 #ifndef TEST_PARSER
278  cfg_workspace_layout(&current_match, result, get_string("layout"));
279 #else
280  fprintf(stderr, "cfg_workspace_layout(%s)\n", get_string("layout"));
281 #endif
282  break;
283  case 35:
284  result->next_state = INITIAL;
285 #ifndef TEST_PARSER
286  cfg_workspace_layout(&current_match, result, get_string("layout"));
287 #else
288  fprintf(stderr, "cfg_workspace_layout(%s)\n", get_string("layout"));
289 #endif
290  break;
291  case 36:
292  result->next_state = INITIAL;
293 #ifndef TEST_PARSER
294  cfg_workspace_layout(&current_match, result, get_string("layout"));
295 #else
296  fprintf(stderr, "cfg_workspace_layout(%s)\n", get_string("layout"));
297 #endif
298  break;
299  case 37:
300  result->next_state = MODE;
301 #ifndef TEST_PARSER
302  cfg_mode_binding(&current_match, result, get_string("bindtype"), get_string("modifiers"), get_string("key"), get_string("release"), get_string("command"));
303 #else
304  fprintf(stderr, "cfg_mode_binding(%s, %s, %s, %s, %s)\n", get_string("bindtype"), get_string("modifiers"), get_string("key"), get_string("release"), get_string("command"));
305 #endif
306  break;
307  case 38:
308  result->next_state = BAR;
309 #ifndef TEST_PARSER
310  cfg_bar_hidden_state(&current_match, result, get_string("hidden_state"));
311 #else
312  fprintf(stderr, "cfg_bar_hidden_state(%s)\n", get_string("hidden_state"));
313 #endif
314  break;
315  case 39:
316  result->next_state = BAR;
317 #ifndef TEST_PARSER
318  cfg_bar_hidden_state(&current_match, result, get_string("hidden_state"));
319 #else
320  fprintf(stderr, "cfg_bar_hidden_state(%s)\n", get_string("hidden_state"));
321 #endif
322  break;
323  case 40:
324  result->next_state = BAR;
325 #ifndef TEST_PARSER
326  cfg_bar_tray_output(&current_match, result, get_string("output"));
327 #else
328  fprintf(stderr, "cfg_bar_tray_output(%s)\n", get_string("output"));
329 #endif
330  break;
331  case 41:
332  result->next_state = BAR_COLORS;
333 #ifndef TEST_PARSER
334  cfg_bar_color(&current_match, result, get_string("colorclass"), get_string("border"), get_string("background"), NULL);
335 #else
336  fprintf(stderr, "cfg_bar_color(%s, %s, %s, NULL)\n", get_string("colorclass"), get_string("border"), get_string("background"));
337 #endif
338  break;
339  case 42:
340  result->next_state = BAR_COLORS;
341 #ifndef TEST_PARSER
342  cfg_bar_color(&current_match, result, get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"));
343 #else
344  fprintf(stderr, "cfg_bar_color(%s, %s, %s, %s)\n", get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"));
345 #endif
346  break;
347  case 43:
348  result->next_state = BAR;
349 #ifndef TEST_PARSER
350  cfg_bar_socket_path(&current_match, result, get_string("path"));
351 #else
352  fprintf(stderr, "cfg_bar_socket_path(%s)\n", get_string("path"));
353 #endif
354  break;
355  case 44:
356  result->next_state = INITIAL;
357 #ifndef TEST_PARSER
358  cfg_color(&current_match, result, get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"), get_string("indicator"));
359 #else
360  fprintf(stderr, "cfg_color(%s, %s, %s, %s, %s)\n", get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"), get_string("indicator"));
361 #endif
362  break;
363  case 45:
364  result->next_state = INITIAL;
365 #ifndef TEST_PARSER
366  cfg_color(&current_match, result, get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"), NULL);
367 #else
368  fprintf(stderr, "cfg_color(%s, %s, %s, %s, NULL)\n", get_string("colorclass"), get_string("border"), get_string("background"), get_string("text"));
369 #endif
370  break;
371  case 46:
372  result->next_state = BAR;
373 #ifndef TEST_PARSER
374  cfg_bar_i3bar_command(&current_match, result, get_string("command"));
375 #else
376  fprintf(stderr, "cfg_bar_i3bar_command(%s)\n", get_string("command"));
377 #endif
378  break;
379  case 47:
380  result->next_state = INITIAL;
381 #ifndef TEST_PARSER
382  cfg_force_xinerama(&current_match, result, get_string("value"));
383 #else
384  fprintf(stderr, "cfg_force_xinerama(%s)\n", get_string("value"));
385 #endif
386  break;
387  case 48:
388  result->next_state = INITIAL;
389 #ifndef TEST_PARSER
390  cfg_restart_state(&current_match, result, get_string("path"));
391 #else
392  fprintf(stderr, "cfg_restart_state(%s)\n", get_string("path"));
393 #endif
394  break;
395  case 49:
396  result->next_state = CRITERIA;
397 #ifndef TEST_PARSER
398  cfg_criteria_add(&current_match, result, get_string("ctype"), get_string("cvalue"));
399 #else
400  fprintf(stderr, "cfg_criteria_add(%s, %s)\n", get_string("ctype"), get_string("cvalue"));
401  cfg_criteria_add(&current_match, result, get_string("ctype"), get_string("cvalue"));
402 #endif
403  break;
404  case 50:
405  result->next_state = INITIAL;
406 #ifndef TEST_PARSER
407  cfg_mouse_warping(&current_match, result, get_string("value"));
408 #else
409  fprintf(stderr, "cfg_mouse_warping(%s)\n", get_string("value"));
410 #endif
411  break;
412  case 51:
413  result->next_state = INITIAL;
414 #ifndef TEST_PARSER
415  cfg_mouse_warping(&current_match, result, get_string("value"));
416 #else
417  fprintf(stderr, "cfg_mouse_warping(%s)\n", get_string("value"));
418 #endif
419  break;
420  case 52:
421  result->next_state = INITIAL;
422 #ifndef TEST_PARSER
423  cfg_fake_outputs(&current_match, result, get_string("outputs"));
424 #else
425  fprintf(stderr, "cfg_fake_outputs(%s)\n", get_string("outputs"));
426 #endif
427  break;
428  case 53:
429  result->next_state = BAR;
430 #ifndef TEST_PARSER
431  cfg_bar_position(&current_match, result, get_string("position"));
432 #else
433  fprintf(stderr, "cfg_bar_position(%s)\n", get_string("position"));
434 #endif
435  break;
436  case 54:
437  result->next_state = BAR;
438 #ifndef TEST_PARSER
439  cfg_bar_position(&current_match, result, get_string("position"));
440 #else
441  fprintf(stderr, "cfg_bar_position(%s)\n", get_string("position"));
442 #endif
443  break;
444  case 55:
445  result->next_state = BAR;
446 #ifndef TEST_PARSER
447  cfg_bar_modifier(&current_match, result, get_string("modifier"));
448 #else
449  fprintf(stderr, "cfg_bar_modifier(%s)\n", get_string("modifier"));
450 #endif
451  break;
452  case 56:
453  result->next_state = BAR;
454 #ifndef TEST_PARSER
455  cfg_bar_modifier(&current_match, result, get_string("modifier"));
456 #else
457  fprintf(stderr, "cfg_bar_modifier(%s)\n", get_string("modifier"));
458 #endif
459  break;
460  case 57:
461  result->next_state = BAR;
462 #ifndef TEST_PARSER
463  cfg_bar_modifier(&current_match, result, get_string("modifier"));
464 #else
465  fprintf(stderr, "cfg_bar_modifier(%s)\n", get_string("modifier"));
466 #endif
467  break;
468  case 58:
469  result->next_state = BAR;
470 #ifndef TEST_PARSER
471  cfg_bar_modifier(&current_match, result, get_string("modifier"));
472 #else
473  fprintf(stderr, "cfg_bar_modifier(%s)\n", get_string("modifier"));
474 #endif
475  break;
476  case 59:
477  result->next_state = BAR;
478 #ifndef TEST_PARSER
479  cfg_bar_modifier(&current_match, result, get_string("modifier"));
480 #else
481  fprintf(stderr, "cfg_bar_modifier(%s)\n", get_string("modifier"));
482 #endif
483  break;
484  case 60:
485  result->next_state = BAR;
486 #ifndef TEST_PARSER
487  cfg_bar_modifier(&current_match, result, get_string("modifier"));
488 #else
489  fprintf(stderr, "cfg_bar_modifier(%s)\n", get_string("modifier"));
490 #endif
491  break;
492  case 61:
493  result->next_state = BAR;
494 #ifndef TEST_PARSER
495  cfg_bar_modifier(&current_match, result, get_string("modifier"));
496 #else
497  fprintf(stderr, "cfg_bar_modifier(%s)\n", get_string("modifier"));
498 #endif
499  break;
500  case 62:
501  result->next_state = BAR;
502 #ifndef TEST_PARSER
503  cfg_bar_modifier(&current_match, result, get_string("modifier"));
504 #else
505  fprintf(stderr, "cfg_bar_modifier(%s)\n", get_string("modifier"));
506 #endif
507  break;
508  case 63:
509  result->next_state = INITIAL;
510 #ifndef TEST_PARSER
511  cfg_color_single(&current_match, result, get_string("colorclass"), get_string("color"));
512 #else
513  fprintf(stderr, "cfg_color_single(%s, %s)\n", get_string("colorclass"), get_string("color"));
514 #endif
515  break;
516  case 64:
517  result->next_state = BAR;
518 #ifndef TEST_PARSER
519  cfg_bar_verbose(&current_match, result, get_string("value"));
520 #else
521  fprintf(stderr, "cfg_bar_verbose(%s)\n", get_string("value"));
522 #endif
523  break;
524  case 65:
525  result->next_state = INITIAL;
526 #ifndef TEST_PARSER
527  cfg_binding(&current_match, result, get_string("bindtype"), get_string("modifiers"), get_string("key"), get_string("release"), get_string("command"));
528 #else
529  fprintf(stderr, "cfg_binding(%s, %s, %s, %s, %s)\n", get_string("bindtype"), get_string("modifiers"), get_string("key"), get_string("release"), get_string("command"));
530 #endif
531  break;
532  case 66:
533  result->next_state = INITIAL;
534 #ifndef TEST_PARSER
535  cfg_new_window(&current_match, result, get_string("windowtype"), get_string("border"), -1);
536 #else
537  fprintf(stderr, "cfg_new_window(%s, %s, %d)\n", get_string("windowtype"), get_string("border"), -1);
538 #endif
539  break;
540  case 67:
541  result->next_state = INITIAL;
542 #ifndef TEST_PARSER
543  cfg_new_window(&current_match, result, get_string("windowtype"), get_string("border"), -1);
544 #else
545  fprintf(stderr, "cfg_new_window(%s, %s, %d)\n", get_string("windowtype"), get_string("border"), -1);
546 #endif
547  break;
548  case 68:
549  result->next_state = CRITERIA;
550 #ifndef TEST_PARSER
551  cfg_criteria_init(&current_match, result, 20);
552 #else
553  fprintf(stderr, "cfg_criteria_init(%d)\n", 20);
554  cfg_criteria_init(&current_match, result, 20);
555 #endif
556  break;
557  case 69:
558  result->next_state = BAR;
559 #ifndef TEST_PARSER
560  cfg_bar_output(&current_match, result, get_string("output"));
561 #else
562  fprintf(stderr, "cfg_bar_output(%s)\n", get_string("output"));
563 #endif
564  break;
565  case 70:
566  result->next_state = INITIAL;
567 #ifndef TEST_PARSER
568  cfg_ipc_socket(&current_match, result, get_string("path"));
569 #else
570  fprintf(stderr, "cfg_ipc_socket(%s)\n", get_string("path"));
571 #endif
572  break;
573  case 71:
574  result->next_state = BAR;
575 #ifndef TEST_PARSER
576  cfg_bar_mode(&current_match, result, get_string("mode"));
577 #else
578  fprintf(stderr, "cfg_bar_mode(%s)\n", get_string("mode"));
579 #endif
580  break;
581  case 72:
582  result->next_state = BAR;
583 #ifndef TEST_PARSER
584  cfg_bar_mode(&current_match, result, get_string("mode"));
585 #else
586  fprintf(stderr, "cfg_bar_mode(%s)\n", get_string("mode"));
587 #endif
588  break;
589  case 73:
590  result->next_state = BAR;
591 #ifndef TEST_PARSER
592  cfg_bar_mode(&current_match, result, get_string("mode"));
593 #else
594  fprintf(stderr, "cfg_bar_mode(%s)\n", get_string("mode"));
595 #endif
596  break;
597  case 74:
598  result->next_state = MODEBRACE;
599 #ifndef TEST_PARSER
600  cfg_enter_mode(&current_match, result, get_string("modename"));
601 #else
602  fprintf(stderr, "cfg_enter_mode(%s)\n", get_string("modename"));
603 #endif
604  break;
605  case 75:
606  result->next_state = BAR;
607 #ifndef TEST_PARSER
608  cfg_bar_font(&current_match, result, get_string("font"));
609 #else
610  fprintf(stderr, "cfg_bar_font(%s)\n", get_string("font"));
611 #endif
612  break;
613  case 76:
614  result->next_state = INITIAL;
615 #ifndef TEST_PARSER
616  cfg_criteria_pop_state(&current_match, result);
617 #else
618  fprintf(stderr, "cfg_criteria_pop_state()\n");
619  cfg_criteria_pop_state(&current_match, result);
620 #endif
621  break;
622  case 77:
623  result->next_state = BAR;
624 #ifndef TEST_PARSER
625  cfg_bar_id(&current_match, result, get_string("bar_id"));
626 #else
627  fprintf(stderr, "cfg_bar_id(%s)\n", get_string("bar_id"));
628 #endif
629  break;
630  case 78:
631  result->next_state = CRITERIA;
632 #ifndef TEST_PARSER
633  cfg_criteria_init(&current_match, result, 27);
634 #else
635  fprintf(stderr, "cfg_criteria_init(%d)\n", 27);
636  cfg_criteria_init(&current_match, result, 27);
637 #endif
638  break;
639  case 79:
640  result->next_state = INITIAL;
641 #ifndef TEST_PARSER
642  cfg_exec(&current_match, result, get_string("exectype"), get_string("no_startup_id"), get_string("command"));
643 #else
644  fprintf(stderr, "cfg_exec(%s, %s, %s)\n", get_string("exectype"), get_string("no_startup_id"), get_string("command"));
645 #endif
646  break;
647  case 80:
648  result->next_state = INITIAL;
649 #ifndef TEST_PARSER
650  cfg_font(&current_match, result, get_string("font"));
651 #else
652  fprintf(stderr, "cfg_font(%s)\n", get_string("font"));
653 #endif
654  break;
655  case 81:
656  result->next_state = INITIAL;
657 #ifndef TEST_PARSER
658  cfg_bar_finish(&current_match, result);
659 #else
660  fprintf(stderr, "cfg_bar_finish()\n");
661 #endif
662  break;
663  default:
664  printf("BUG in the parser. state = %d\n", call_identifier);
665  assert(false);
666  }
667 }
static void GENERATED_call(const int call_identifier, struct ConfigResultIR *result)
static Match current_match
static char * get_string(const char *identifier)
static long get_long(const char *identifier)