Technical data
B-19
There was no type associated with the given block for GENERATE
The scope specified to GENERATE must include a Type parameter that indicates
which template file should be used to generate code for the specified scope. For
example:
%assign scope = block { Name "foo" }
%<GENERATE( scope, "Output" )>
This example produces the error message because the scope does not include
the parameter
Type. See page 2-25 for more information and examples on using
the
GENERATE built-in function.
Unable to find
identifier
within the
scope-identifier
scope
The given identifier was not found in the scope specified. For example:
%assign scope = ascope { x 5 }
%assign y = scope.y
In this code, the reference to scope.y produces this error message.
Unable to open %include file
filename
The file included in a %include directive was not found on the path. Either
locate the file and use the
–I command line option to specify the correct
directory, or move the file to a location on the current path.
Unable to open block template file
filename
from GENERATE or
GENERATE_TYPE
When using GENERATE, the given filename was not found on the Target
Language Compiler path. You may:
•Add the file into a directory on the path.
•Use the
%generatefile directive to specify an alternative filename for this
block type that is on the path.
•Add the directory in which this file appears to the command line options
using the
–I switch.