SCCS-vsn: usr.bin/pascal/pdx/sym/tree.c 1.3
/* Copyright (c) 1982 Regents of the University of California */
/* Copyright (c) 1982 Regents of the University of California */
-static char sccsid[] = "@(#)tree.c 1.2 %G%";
+static char sccsid[] = "@(#)tree.c 1.3 %G%";
/*
* This module contains the interface between the SYM routines and
/*
* This module contains the interface between the SYM routines and
p->op = O_ADD;
p->nodetype = field->type;
p->left = record;
p->op = O_ADD;
p->nodetype = field->type;
p->left = record;
+ p->left->nodetype = t_int;
p->right = build(O_LCON, (long) field->symvalue.offset);
}
return p;
p->right = build(O_LCON, (long) field->symvalue.offset);
}
return p;