2006-05-27 15:53:12 lippert
Normally, when annotations such like descriptions feature multiple lines, this is preservered in the IMF
file by writing the lines with ASCII \001 characters as delimiter instead of newlines.
The statements "loop(Instances->TokenSet)" expect that delimiter.
However, multiline "Value of Attribute" values are written with verbose newlines instead of using
ACD creates an error (error in semantice interface), when it encounters such a multiline.
I need this functionality for OMOS code generation.
2006-06-29 13:22:55 lippert
While the default value for the object instance attribute is now correctly written
using \01 as a delimiiter, the MAnnotNote annotation is not!
DefaultValue 123 // thats OK now!
Type 1 // this is not OK.
The MAnnotNote still leads to errors at invocation of ACD:
error: Interface-File (MAnnotNote) : Unknown Token 2 !
error: Interface-File (MAnnotNote) : Unknown Token 3 !
2006-06-29 13:39:55 lippert
Ok, my last remark seems related not to "uml2interface.C", but to an
extra run of an OMOS specific "uml2imf.qrl". So maybe this is beyond
the scope of this ECR.
The offending function is in "omos/user/uml/qrl/code_gen/uml2interface_omos.qrl".
I will correct that using the "getLine()"-function.