summaryrefslogtreecommitdiffstats
path: root/Parser/acceler.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 (GMT)
commitfb2765666f23434061e5def1aa8392797edf1f43 (patch)
treede935c5b77d6b50ad326dd41c94294ebd00e9cfa /Parser/acceler.c
parent61963220666a79d5c1811991a31261a5d993bcdb (diff)
downloadcpython-fb2765666f23434061e5def1aa8392797edf1f43.zip
cpython-fb2765666f23434061e5def1aa8392797edf1f43.tar.gz
cpython-fb2765666f23434061e5def1aa8392797edf1f43.tar.bz2
Getting rid of support for the ancient Apple MPW compiler.
Diffstat (limited to 'Parser/acceler.c')
-rw-r--r--Parser/acceler.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/Parser/acceler.c b/Parser/acceler.c
index 63919c5..5f470fa 100644
--- a/Parser/acceler.c
+++ b/Parser/acceler.c
@@ -89,27 +89,10 @@ fixstate(grammar *g, state *s)
}
for (ibit = 0; ibit < g->g_ll.ll_nlabels; ibit++) {
if (testbit(d1->d_first, ibit)) {
-#ifdef applec
-#define MPW_881_BUG /* Undefine if bug below is fixed */
-#endif
-#ifdef MPW_881_BUG
- /* In 881 mode MPW 3.1 has a code
- generation bug which seems to
- set the upper bits; fix this by
- explicitly masking them off */
- int temp;
-#endif
if (accel[ibit] != -1)
printf("XXX ambiguity!\n");
-#ifdef MPW_881_BUG
- temp = 0xFFFF &
- (a->a_arrow | (1 << 7) |
- ((type - NT_OFFSET) << 8));
- accel[ibit] = temp;
-#else
accel[ibit] = a->a_arrow | (1 << 7) |
((type - NT_OFFSET) << 8);
-#endif
}
}
}