mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Getting rid of support for the ancient Apple MPW compiler.
This commit is contained in:
parent
6196322066
commit
fb2765666f
10 changed files with 0 additions and 80 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue