Book a Demo
Prev Next

Macro Editor

The macro editor allows a user to supplement the grammar with a list of keywords and rules to exclude macros during grammar parse operations. The macro definition list is particularly useful when developing grammars for languages that support macros such as C++. It avoids the necessity of describing these rules in the grammar itself, and can be used with multiple grammars.

This feature is available from Enterprise Architect Release 14.1.



Develop > Source Code > Grammar Editor > Macro Editor

Editing Macros

Open File

Open an existing macro definition list


Recently opened macro definition lists can be selected from this combo box


Saves changes to the opened macro definition list

Save As

Saves a copy of the existing macro definition list


Validates the grammar of the macro definition list

Learn more