Prev Next

Macro Editor

The macro editor allow 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.

Access

Ribbon > Code > Grammar Editor > Macro Editor

Editing Macros

Open File

Open an existing macro definition list

Recent

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

Save

Saves changes to the opened macro definition list

Save As

Saves a copy of the existing macro definition list

Validate

Validates the grammar of the macro definition list

Learn more