.. _Handling UNRECOGNIZED Macros:

Handling UNRECOGNIZED Macros
============================

Sometimes you may get syntax errors like UNRECOGNIZED_STATEMENT, UNRECOGNIZED_ACTION etc. when you use macros.

If the macros are declared in your project in one of the files that appear in the :ref:`Compile Order View`, then it might be a bug, please report it.

However, there are several cases when you will have to use a work-around in order to get rid of such errors:

-  you use macros defined in some **encrypted** eVC, for example vr_ad, hence we cannot parse the macro definitions and detect matches
-  you use undocumented constructs like keep for, report, display

Our recommendation is:

#. Create a separate file (**eclipse_macros.e**) where you'll define dummy macros for unrecognized constructs.
#. Put the dummy macros file in your project.
#. Configure the **Project Top Files** so that the dummy macros file will be the first one.
#. Rebuild.

Dummy macros might look like:

.. figure:: ../../images/edt-dummy-macros.png
	:align: center

.. figure:: ../../images/common/ngrelr.png
	:align: center
