Mail Archives: djgpp-workers/2001/01/27/23:17:52
On Sat, Jan 27, 2001 at 07:00:48PM -0600, JT Williams wrote:
> @@ -1654,10 +1789,6 @@
>
> int set_structure_symbols(Symbol *ele, Symbol *struc, int tp, int base, int type)
> {
> - if (tp!='s') {
> - djerror("must use `.struct' to emit structures or unions");
> - return 0;
> - }
> if (!struc->defined) {
> djerror("undefined symbol used in struct");
> return 0;
this patch is really separate from the enums patch. I probably committed it at
the same time, though :)
Its purpose is to allow you to allocate space using .union instead of .struct
when using a union. As there is no checking, .struct and .union are
interchangable (I couldn't think of an easy way to implement the checking).
Bill
--
Leave others their otherness. -- Aratak
- Raw text -