APAR status
Closed as Permanent restriction.
Error description
The rhapsody parser that reads in the file during the RE process has a problem with reading this complex macro in the include st atement
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** When using MicroC, reverse engineering does not handle complex macro in include statement correctly.
Problem conclusion
The parsing error that caused parsing of the file to stop at this line has been fixed. However, there are no plans to introduce the ability to handle macros of this sort. When not using MicroC, the CodeCentric settings are used after reverse engineering, and the problematic include statement is retained in the code. When using MicroC, there are two possible workarounds: - For the very first function in the code, use the include statement as the value of the property C_CG::Operation::ImplementationProlog. Add a new line at the end of the property value, or use the property MarkPrologEpilogInAnnotations in order to get the include line wrap with the Ignore annotation so that roundtrip does not try to handle it. - After reverse engineering, add a component file and map to it as elements the file and the elements that should appear in the code before the include statement. In addition, add a text element to the component file and put in it the required include wrapped with ignore annotation so that roundtrip does not try to handle it later.
Temporary fix
Comments
APAR Information
APAR number
PM19790
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
750
Status
CLOSED PRS
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-08-03
Closed date
2011-06-23
Last modified date
2011-06-23
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC RHAPSODY
Fixed component ID
5724V74RP
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
23 June 2011