widl: Make all pointer fields of expr_t structure constant.
This commit is contained in:
parent
538ed06c41
commit
0d22347f44
|
@ -165,14 +165,14 @@ struct _attr_t {
|
||||||
|
|
||||||
struct _expr_t {
|
struct _expr_t {
|
||||||
enum expr_type type;
|
enum expr_type type;
|
||||||
expr_t *ref;
|
const expr_t *ref;
|
||||||
union {
|
union {
|
||||||
long lval;
|
long lval;
|
||||||
char *sval;
|
const char *sval;
|
||||||
expr_t *ext;
|
const expr_t *ext;
|
||||||
typeref_t *tref;
|
const typeref_t *tref;
|
||||||
} u;
|
} u;
|
||||||
expr_t *ext2;
|
const expr_t *ext2;
|
||||||
int is_const;
|
int is_const;
|
||||||
long cval;
|
long cval;
|
||||||
/* parser-internal */
|
/* parser-internal */
|
||||||
|
|
Loading…
Reference in New Issue