Fixed illegal array descriptors

This commit is contained in:
ceriel 1991-09-25 15:04:02 +00:00
parent aa24841c87
commit ce1dba9cac

View file

@ -39,12 +39,13 @@ void meswp()
void maxdes() void maxdes()
{ {
long max = (1L << (8*wz-1)) - 1;
C_df_dnam("maxcdes"); C_df_dnam("maxcdes");
rom(wz, 0L); rom(wz, -1L); rom(wz, (long) (wz+vz)); rom(wz, 0L); rom(wz, max); rom(wz, (long) (wz+vz));
C_df_dnam("maxwdes"); C_df_dnam("maxwdes");
rom(wz, 0L); rom(wz, -1L); rom(wz, (long) vz); rom(wz, 0L); rom(wz, max); rom(wz, (long) vz);
C_df_dnam("maxbdes"); C_df_dnam("maxbdes");
rom(wz, 0L); rom(wz, -1L); rom(wz, 1L); rom(wz, 0L); rom(wz, max); rom(wz, 1L);
} }
int new_label(L) register *L; int new_label(L) register *L;