IBM Support

Rhapsody roundtrip reports parsing error if terminator is missing in macro statement inside of preserve code block

Troubleshooting


Problem

Attempts to round-trip a preserve block added to the code generated by IBM Rational Rhapsody result into a parsing error "Rhapsody has found parsing errors as a result of your changes".

Symptom

Example preserve block:

//#[ preserve
MACRO_WITH_TERMINATOR_A;
MACRO_WITH_NO_TERMINATOR_B
//#] preserve

You will see the following dialog displayed when parser encounters an unexpected error:

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Documentation","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.6;7.6.0.1;7.6.1;7.6.1.1;7.6.1.2;7.6.1.3;8.0;8.0.1;8.0.2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
27 May 2022

UID

swg21640085