summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic-interpreter.h')
-rw-r--r--src/map/magic-interpreter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/magic-interpreter.h b/src/map/magic-interpreter.h
index 26f6c5c..1998eda 100644
--- a/src/map/magic-interpreter.h
+++ b/src/map/magic-interpreter.h
@@ -115,6 +115,7 @@ typedef struct val {
#define EXPR_AREA 2
#define EXPR_FUNAPP 3
#define EXPR_ID 4
+#define EXPR_SPELLFIELD 5
typedef struct e_location {
struct expr *m, *x, *y;
@@ -137,6 +138,7 @@ typedef struct expr {
e_area_t e_area;
struct { int id, line_nr, column; int args_nr; struct expr *args[MAX_ARGS]; } e_funapp;
int e_id;
+ struct { struct expr *expr; int id; } e_field;
} e;
unsigned char ty;
} expr_t;