((DesT#NulSym) AND (NOT IsProcType(DesT))) AND
((DesL#NulSym) AND (NOT IsProcType(DesL)))
THEN
- MetaErrorT1 (combinedtok,
+ MetaErrorT1 (destok,
'incorrectly assigning a procedure to a designator {%1Ead} (designator is not a procedure type, {%1ast})', Des)
ELSIF IsProcedure (Exp) AND IsProcedureNested (Exp)
THEN
END CheckVariableOrConstantOrProcedure ;
-(*
- CheckInCompatible - checks to see that t1 IN t2 is type legal.
-*)
-
-PROCEDURE CheckInCompatible (Op: Name; t1, t2: CARDINAL) : CARDINAL ;
-BEGIN
- IF Op = InTok
- THEN
- t2 := SkipType (t2) ;
- IF IsSet (t2)
- THEN
- RETURN GetSType (t2)
- ELSE
- MetaError1 ('expect a set type as the right hand operand to the {%kIN} operator, the type attempting to be used with the {%kIN} is {%1Ead}', t2) ;
- RETURN t1
- END
- ELSE
- RETURN t2
- END
-END CheckInCompatible ;
-
-
(*
BuildRelOp - Builds a relative operation from the quad stack.
The Stack is expected to contain:
FormalType := { "ARRAY" "OF" } Qualident =:
-ModuleDeclaration := % VAR begint, endt: CARDINAL ; %
+ModuleDeclaration := % VAR begint: CARDINAL ; %
% begint := GetTokenNo () %
"MODULE" % M2Error.DefaultInnerModule %
% PushAutoOn %
} [ Export
]
Block % PushAutoOn %
- % endt := GetTokenNo () -1 %
Ident % EndBuildInnerModule %
% PopAuto ; PopAuto ; PopAuto %
=:
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-void abort (void) __attribute__ ((noreturn));
-void exit (int) __attribute__ ((noreturn));
+#include <config.h>
+
+#if defined(HAVE_STDLIB_H)
+#include <stdlib.h>
+#endif
void abort (void)
{