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 which appear in the Load Order View, then it might be a bug, please report it.

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

Our recommendation is:

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

Dummy macros might look like:
Dummy Macros Example

You can get some prepared dummy macros right here:

Related Reference

Build