aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap/all.h b/bootstrap/all.h
index 6055a07..3145674 100644
--- a/bootstrap/all.h
+++ b/bootstrap/all.h
@@ -403,8 +403,9 @@ struct iswitchcase {
struct euswitchcase {
const char *capt;
- int captid;
- int vval;
+ bool captptr;
+ int captid, vval;
+ const struct type *captty;
struct aggfield *fld;
struct blockstmt t;
};
@@ -436,6 +437,7 @@ struct stmt {
struct expr test;
slice_t(struct euswitchcase) cs;
struct blockstmt *f;
+ bool byptr;
} euswitch;
struct expr *retex;
};