1
General Board / Re: Parsing Problems
« on: February 14, 2006, 06:53:16 am »
Hi,
I experienced similar errors while importing Delphi code with curly braces (posted just today in General Board). As a workaround, try to add // on the affected lines wherever possible.
I have already reported this problem to Sparx as a bug.
Some examples of code that lead to parse errors:
{$IFDEF MGR}
{$DEFINE NOMACRO}
//parse error:
{$ENDIF}
//parse error:
{$MINENUMSIZE 4}
//parse error, very strange:
{ord()}
//parse error:
const ver = {$I ver.pas};
I experienced similar errors while importing Delphi code with curly braces (posted just today in General Board). As a workaround, try to add // on the affected lines wherever possible.
I have already reported this problem to Sparx as a bug.
Some examples of code that lead to parse errors:
{$IFDEF MGR}
{$DEFINE NOMACRO}
//parse error:
{$ENDIF}
//parse error:
{$MINENUMSIZE 4}
//parse error, very strange:
{ord()}
//parse error:
const ver = {$I ver.pas};