Mail Archives: djgpp-workers/2001/01/31/08:43:42
Ok ?
--
jtw
Index: wc204.txi
===================================================================
RCS file: /cvs/djgpp/djgpp/src/docs/kb/wc204.txi,v
retrieving revision 1.44
diff -p -3 -r1.44 wc204.txi
*** wc204.txi 2001/01/31 13:26:06 1.44
--- wc204.txi 2001/01/31 13:29:48
*************** format.
*** 240,242 ****
--- 240,247 ----
@pindex djasm AT r{, new executable header offset}
@code{djasm} now sets the offset of new executable field in the header
of executables to zero (meaning not used).
+
+ @pindex djasm AT r{, space allocation with .union}
+ Allow one to allocate space in @code{djasm} using @code{.union}
+ (instead of @code{.struct}) when using a union. As there is no
+ checking, @code{.struct} and @code{.union} are interchangable.
Index: djasm.y
===================================================================
RCS file: /cvs/djgpp/djgpp/src/stub/djasm.y,v
retrieving revision 1.6
diff -p -3 -r1.6 djasm.y
*** djasm.y 2001/01/04 18:44:04 1.6
--- djasm.y 2001/01/31 13:39:19
*************** int is_structure(Symbol *s)
*** 1654,1663 ****
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;
--- 1654,1659 ----
- Raw text -