Skip to content

Commit ab69abd

Browse files
committed
delete MSDOS
1 parent 2834ef3 commit ab69abd

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

da.c

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/********************************************
22
da.c
3-
copyright 2008-2010,2012, Thomas E. Dickey
3+
copyright 2008-2012,2014, Thomas E. Dickey
44
copyright 1991-1994,1995, Michael D. Brennan
55
66
This is a source file for mawk, an implementation of
@@ -11,7 +11,7 @@ the GNU General Public License, version 2, 1991.
1111
********************************************/
1212

1313
/*
14-
* $MawkId: da.c,v 1.14 2012/12/08 15:00:11 tom Exp $
14+
* $MawkId: da.c,v 1.15 2014/09/14 22:26:06 tom Exp $
1515
* @Log: da.c,v @
1616
* Revision 1.6 1995/06/18 19:19:59 mike
1717
* remove use of comma operator that broke some sysVr3 compilers
@@ -235,11 +235,7 @@ da(INST * start, FILE *fp)
235235
else if (cp == &fs_shadow)
236236
fprintf(fp, "pushi\t@fs_shadow\n");
237237
else {
238-
if (
239-
#ifdef MSDOS
240-
SAMESEG(cp, field) &&
241-
#endif
242-
cp > NF && cp <= LAST_PFIELD)
238+
if (cp > NF && cp <= LAST_PFIELD)
243239
name = reverse_find(ST_FIELD, &cp);
244240
else
245241
name = reverse_find(ST_VAR, &cp);
@@ -270,11 +266,7 @@ da(INST * start, FILE *fp)
270266

271267
case F_PUSHA:
272268
cp = (CELL *) p++->ptr;
273-
if (
274-
#ifdef MSDOS
275-
SAMESEG(cp, field) &&
276-
#endif
277-
cp >= NF && cp <= LAST_PFIELD)
269+
if (cp >= NF && cp <= LAST_PFIELD)
278270
fprintf(fp, "f_pusha\t%s\n",
279271
reverse_find(ST_FIELD, &cp));
280272
else
@@ -471,7 +463,7 @@ static OP_NAME type_names[] =
471463
/* *INDENT-ON* */
472464

473465
const char *
474-
da_type_name(CELL * cdp)
466+
da_type_name(CELL *cdp)
475467
{
476468
int n;
477469
const char *result = "?";

0 commit comments

Comments
 (0)