#include "misc.h"
#include "warning.h"
#include "main.h"
+#include "squeeze.h"
extern char *symbol2str();
extern char *sprint();
return 0;
}
if (! IsConformantArray(left->nd_type)) cstcall(expp, S_SIZE);
+#ifndef SQUEEZE
else node_warning(expp,
W_STRICT,
"%s on conformant array",
expp->nd_left->nd_def->df_idf->id_text);
+#endif
break;
case S_TRUNCD:
switch(fund1) {
case T_INTEGER:
if (sz1 < word_size) {
- C_loc(sz1);
+ c_loc((int)sz1);
c_loc((int) word_size);
C_cii();
}
switch(fund2) {
case T_INTEGER:
- if (t2->tp_size != t1->tp_size) {
- C_loc(t1->tp_size);
- C_loc(t2->tp_size);
+#ifndef SQUEEZE
+ if (t2->tp_size != t1->tp_size)
+#endif
+ {
+ c_loc((int)(t1->tp_size));
+ c_loc((int)(t2->tp_size));
C_cii();
}
break;
case T_CARDINAL:
- if (t1->tp_size != word_size) {
- C_loc(t1->tp_size);
+#ifndef SQUEEZE
+ if (t1->tp_size != word_size)
+#endif
+ {
+ c_loc((int)(t1->tp_size));
c_loc((int) word_size);
C_ciu();
}
break;
case T_REAL:
- C_loc(t1->tp_size);
- C_loc(t2->tp_size);
+ c_loc((int)(t1->tp_size));
+ c_loc((int)(t2->tp_size));
C_cif();
break;
default:
case T_INTORCARD:
if (t2->tp_size > word_size) {
c_loc((int) word_size);
- C_loc(t2->tp_size);
+ c_loc((int)(t2->tp_size));
C_cuu();
}
break;
case T_INTEGER:
- if (fund1 == T_CARDINAL || t2->tp_size != word_size) {
+ if (fund1 == T_CARDINAL
+#ifndef SQUEEZE
+ || t2->tp_size != word_size
+#endif
+ ) {
c_loc((int) word_size);
- C_loc(t2->tp_size);
+ c_loc((int)(t2->tp_size));
C_cui();
}
break;
case T_REAL:
c_loc((int) word_size);
- C_loc(t2->tp_size);
+ c_loc((int)(t2->tp_size));
C_cuf();
break;
default:
case T_REAL:
switch(fund2) {
case T_REAL:
- if (t2->tp_size != t1->tp_size) {
- C_loc(t1->tp_size);
- C_loc(t2->tp_size);
+#ifndef SQUEEZE
+ if (t2->tp_size != t1->tp_size)
+#endif
+ {
+ c_loc((int)(t1->tp_size));
+ c_loc((int)(t2->tp_size));
C_cff();
}
break;
case T_INTEGER:
- C_loc(t1->tp_size);
- C_loc(t2->tp_size);
+ c_loc((int)(t1->tp_size));
+ c_loc((int)(t2->tp_size));
C_cfi();
break;
case T_CARDINAL:
C_trp();
C_df_ilb(lb);
}
- C_loc(t1->tp_size);
- C_loc(t2->tp_size);
+ c_loc((int)(t1->tp_size));
+ c_loc((int)(t2->tp_size));
C_cfu();
break;
default:
#include "main.h"
#include "chk_expr.h"
#include "warning.h"
+#include "squeeze.h"
int proclevel = 0; /* nesting level of procedures */
int return_occurred; /* set if a return occurs in a block */
]?
]?
{ CheckWithDef(*pdf, proc_type(tp, pr, parmaddr));
+#ifndef SQUEEZE
if (tp && IsConstructed(tp)) {
warning(W_STRICT, "procedure \"%s\" has a constructed result type",
(*pdf)->df_idf->id_text);
}
+#endif
}
;
#include "type.h"
#include "main.h"
#include "warning.h"
+#include "squeeze.h"
#define MINIDFSIZE 14
warning_classes &= ~W_OLDFASHIONED;
break;
#endif
+#ifndef SQUEEZE
case 'R':
warning_classes &= ~W_STRICT;
break;
+#endif
case 'W':
warning_classes &= ~W_ORDINARY;
break;
warning_classes |= W_OLDFASHIONED;
break;
#endif
+#ifndef SQUEEZE
case 'R':
warning_classes |= W_STRICT;
break;
+#endif
case 'W':
warning_classes |= W_ORDINARY;
break;