Macro processing errors are displayed like other assembly errors
in the listing file. The following table describes error messages
generated by the macro processor:
||Error Message and Description
||PREMATURE END OF FILE
The end of the source module was reached while processing some
macro call. More input is required from the source file.
||'token' IDENTIFIER EXPECTED
The macro processor expected an identifier while processing a
macro but none was found. The unexpected token is displayed.
||MPL FUNCTION 'name': 'character'
The context of the macro processor language requires a specific
character while processing the built-in function
||string: UNBALANCED PARENTHESES
A balanced string requires the same number of right parentheses
and left parentheses.
The syntax requires a specific token. For example, THEN
after the balanced text argument to IF.
||INCOMPLETE MACRO DEFINITION
The macro definition is incomplete because of a premature end to
the input file.
||FUNCTION 'MATCH': ILLEGAL CALL PATTERN
The built-in function MATCH was called with an illegal
call pattern. The call pattern must consist of a formal name
followed by a delimiter specification and another formal
||FUNCTION 'EXIT' IN BAD CONTEXT
The built-in function EXIT is allowed only in WHILE
and REPEAT constructs.
The first character of the balanced text argument to the
METACHAR function is taken to be the new value of the meta
character. The characters @, (, ), *, blank, tab, and identifier
characters are not allowed.
||CALL PATTERN - DELIMITER 'delimiter' NOT
The call pattern of a macro does not conform to the define
pattern of that macro.
||CALL TO UNDEFINED MACRO 'name'
The macro call specifies the name of an undefined
||INVALID MPL COMMAND '%character'
The character following the meta character does not form a
valid macro processor language command.
||INVALID DIGIT 'character' IN
A number of an expression contains an invalid digit.
||UNCLOSED STRING OR CHARACTER CONSTANT
||INVALID STRING OR CHARACTER CONSTANT
The string representing a number in an expression is invalid. The
string must be either one or two characters long. A character
constant must not be longer than one character. Strings or
character constants must be enclosed by single or double
||UNKNOWN EXPRESSION IDENTIFIER
The identifier within an expression is not an operator or a
||'character': INVALID EXPRESSION
The specified character does not form a valid operator or
an identifier operator.
||DIV/MOD BY ZERO
A division or modulo by zero error occurred while evaluating an
||EVAL: SYNTAX ERROR IN EXPRESSION
The expression to be evaluated contains a syntax error. For
example, two consecutive numbers which are not separated by an
||CAN'T OPEN FILE 'file'
The file specified in the INCLUDE directive cannot be
||'file' IS NOT A DISK FILE
The file specified in the INCLUDE directive does not
specify a disk file. Files other than disk files (for example,
CON) are not allowed.
||ERROR IN INCLUDE/INCDIR DIRECTIVE
The INCLUDE directive is poorly formed. The argument to
INCLUDE must be the name of a file enclosed in
||CAN'T REDEFINE PREDEFINED MACRO
Predefined macros such as SET cannot be redefined.