Author Topic: Delphi language macro  (Read 1884 times)

Luigi2021

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Delphi language macro
« on: January 10, 2022, 02:05:32 am »
Hi,

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,

Luigi

qwerty

  • EA Guru
  • *****
  • Posts: 13382
  • Karma: +387/-299
  • I'm no guru at all
    • View Profile
Re: Delphi language macro
« Reply #1 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.

q.