bootstrappable: Outline case_t.

This commit is contained in:
Jan Nieuwenhuizen 2017-11-16 06:29:11 +01:00
parent 7bba51cd10
commit 2df994edbb
1 changed files with 11 additions and 5 deletions

View File

@ -60,13 +60,19 @@ ST_DATA const char *funcname;
ST_DATA CType char_pointer_type, func_old_type, int_type, size_type;
struct case_t {
int64_t v1;
int64_t v2;
int sym;
};
ST_DATA struct switch_t {
struct case_t {
int64_t v1, v2;
int sym;
} **p; int n; /* list of case ranges */
struct case_t **p;
int n; /* list of case ranges */
int def_sym; /* default symbol */
} *cur_switch; /* current switch */
};
struct switch_t *cur_switch;
/* ------------------------------------------------------------------------- */