Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: EG on May 10, 2006, 05:34:08 am
-
Hi, I tried reverse engineering with a Delphi .pas and I got an error parsing the file (unexpected symbol) when I have some compiler directives like this :
{$IFDEF ConditionA} uses Ram0000; {$ENDIF ConditionA}
{$IFDEF ConditionB} uses RVM0000; {$ENDIF ConditionB}
...
Am I doing something wrong ???
Thank you
Evelyne
-
And I get another error when parsing if I use deprecated keyword... as an example, try with System.pas.
EG
There was an error parsing D:\Program Files\Borland\Delphi7\Source\Rtl\Sys\System.pas on line 159. Unexpected symbol: deprecated
-
The first error appears to be because our parser isn't expecting conditions in the Endif. I also think I found the error in our handling of deprecated. We should have both of them fixed for our next release.