mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-01-22 05:31:06 +02:00
b2/: add relop to struct param, in preparation of merge with struct var
This commit is contained in:
parent
3ad6c2c44b
commit
fdac542592
@ -15,6 +15,7 @@
|
||||
#include <assert.h>
|
||||
|
||||
#include "util.h"
|
||||
#include "relop.h"
|
||||
#include "param.h"
|
||||
#include "chr.h"
|
||||
#include "db.h"
|
||||
@ -423,6 +424,7 @@ param:
|
||||
{
|
||||
$$ = alloc_type(struct param);
|
||||
$$->u.name = $1;
|
||||
$$->op = rel_eq;
|
||||
$$->value.u.name = $3;
|
||||
}
|
||||
;
|
||||
|
@ -67,6 +67,7 @@ struct param {
|
||||
const char *name;
|
||||
const struct field *field;
|
||||
} u;
|
||||
enum relop op; /* always rel_eq for now */
|
||||
struct value value;
|
||||
struct param *next;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user