mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Alais the jump table's array to an integer.
As per the previous commit, I'm not sure this is the right thing to do, but it works for now.
This commit is contained in:
parent
4794d66f42
commit
a281033920
1 changed files with 1 additions and 0 deletions
|
@ -319,6 +319,7 @@ build_switch (expr_t *sw, case_node_t *tree, int op, expr_t *sw_val,
|
|||
sym = make_symbol (name, array_type (&type_integer, high - low + 1),
|
||||
pr.near_data, st_static);
|
||||
table = new_symbol_expr (sym);
|
||||
table = new_alias_expr (&type_integer, table);
|
||||
|
||||
if (tree->left) {
|
||||
branch = branch_expr (IFB, temp, low_label);
|
||||
|
|
Loading…
Reference in a new issue