Change Details
b2/lang.y |
15 | 15 | #include <assert.h> |
16 | 16 | |
17 | 17 | #include "util.h" |
| 18 | #include "relop.h" |
18 | 19 | #include "param.h" |
19 | 20 | #include "chr.h" |
20 | 21 | #include "db.h" |
... | ... | |
423 | 424 | { |
424 | 425 | $$ = alloc_type(struct param); |
425 | 426 | $$->u.name = $1; |
| 427 | $$->op = rel_eq; |
426 | 428 | $$->value.u.name = $3; |
427 | 429 | } |
428 | 430 | ; |
b2/param.h |
67 | 67 | const char *name; |
68 | 68 | const struct field *field; |
69 | 69 | } u; |
| 70 | enum relop op; /* always rel_eq for now */ |
70 | 71 | struct value value; |
71 | 72 | struct param *next; |
72 | 73 | }; |
Download the corresponding diff file