some last-minute minor changes

This commit is contained in:
ceriel 1988-05-06 17:03:30 +00:00
parent d33fa59a9f
commit 0be2e884b1
2 changed files with 10 additions and 4 deletions

View file

@ -112,8 +112,8 @@ _include <signal.h>
#define lowb(z) ((int)(z) & 0xFF)
#define loww(z) ((int)(z) & 0xFFFF)
#define fitb(x) ((((x) + 0x80) & ~0xFF) == 0)
#define fitw(x) ((((x) + 0x8000) & ~0xFFFF) == 0)
#define fitb(x) ((((x) + 0x80) & ~(valu_t)0xFF) == 0)
#define fitw(x) ((((x) + 0x8000L) & ~0xFFFFL) == 0)
#define fit(x) if (!(x)) nofit()

View file

@ -423,8 +423,14 @@ char *s;
switchsect(S_UND);
modulename = s;
lineno = 1;
if ((sflag & (SYM_EXT|SYM_LOC|SYM_LAB)) && PASS_SYMB)
newsymb(s, S_MOD, (short)0, (valu_t)0);
#ifdef NEEDED
/*
* problem: it shows the name of the tempfile, not any name
* the user is familiar with. Moreover, it is not reproducable.
*/
if ((sflag & (SYM_EXT|SYM_LOC|SYM_LAB)) && PASS_SYMB)
newsymb(s, S_MOD, (short)0, (valu_t)0);
#endif
#ifdef LISTING
listtemp = 0;
if (dflag & 01000)