Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Luigi2021 on January 10, 2022, 02:05:32 am

Title: Delphi language macro
Post by: Luigi2021 on January 10, 2022, 02:05:32 am

I'm trying to import source code from a Delphi project into EA and during the import I get a message that says:
There was an error parsing <some file>. Unexpected symbol: <
You may need to define a language macro.

The line in the source code that gives the error looks like this:
Code: [Select]
FSearchQueryFieldId: kbmMWNullable<integer>;
I understand that I have to write a language macro for this "exotic" line of code, but I have no clue where to start? Any advice that points me in the right direction?

Thanks in advance!

Kind regards,

Title: Re: Delphi language macro
Post by: qwerty on January 10, 2022, 02:19:13 am
Really not sure about that (since I'm only an old-time Pascal user) but that looks like some kind of generics. I know that macro message from C-stuff imports where you eventually have to define prepcocessor macros (when you are at that you lost anyways). But here I would noth think that any kind of macro is meant. My guess would just be: you can't import that. Maybe you wait a few days for some Sparx supporter to reply here and then eventually mail Sparx support directly.