Extension attributes for types
The TITAN compiler needs to be able to analyze and report errors for TITAN-specific extension attributes, while also accepting (i.e. not reporting errors for) unknown extension attributes, that are meant for other TTCN-3 tools. The current extension attribute parser cannot distinguish between erroneous TITAN-specific attributes and unknown ones, meant for other tools. The way this used to work for TTCN-3 types, was that the parser was only used for 'port' types and the 'anytype', while the 'done' and 'optimize:memalloc' attributes were extracted directly from the extension attribute's text (without running the parser on the affected types). With the implementation of the new 'sensitive_data' extension attribute, the attribute parser is executed for all types. Exceptions have been added to the 'done' and 'optimize:memalloc' attributes, so the parser doesn't report errors for these, but it still reports errors for any unknown attributes.
epic

Copyright © Eclipse Foundation AISBL. All rights reserved.     Privacy Policy | Terms of Use | Copyright Agent