Re: [fpc-pascal] Parser bug or what?

2013-09-15 Thread Daniel Gaspary
I cannot update my Environment at the moment, so I will just close the bug. Thank you, Paul On Sun, Sep 15, 2013 at 11:52 PM, Paul Ishenin wrote: > 15.09.13, 21:14, Daniel Gaspary wrote: >> >> On Sun, Sep 15, 2013 at 6:37 AM, Sven Barth >> wrote: >>> >>> Seems to be a bug related to scoped enum

Re: [fpc-pascal] Parser bug or what?

2013-09-15 Thread Paul Ishenin
15.09.13, 21:14, Daniel Gaspary wrote: On Sun, Sep 15, 2013 at 6:37 AM, Sven Barth wrote: Seems to be a bug related to scoped enums (in your example that would be "TMyEnum.me1"). Please report it as a bug with the example mentioned above as a file. Done: http://bugs.freepascal.org/view.php?id

Re: [fpc-pascal] FPCUnit test + raise E;

2013-09-15 Thread Sven Barth
On 15.09.2013 13:05, Marcos Douglas wrote: On Sun, Sep 15, 2013 at 6:56 AM, Sven Barth wrote: On 15.09.2013 03:21, Marcos Douglas wrote: Hi, 1) I have a code like that: procedure TghSQLConnector.Connect; begin try FLib.Connect; except on E: Exception do DoOnExcep

Re: [fpc-pascal] Get empty memory quickly or... an empty file

2013-09-15 Thread Reinier Olislagers
On 13/09/2013 16:17, Michael Van Canneyt wrote: > On Fri, 13 Sep 2013, Reinier Olislagers wrote: >> On 13/09/2013 15:38, Marco van de Voort wrote: >>> In our previous episode, Reinier Olislagers said: However, I'm sure there must be quicker ways (e.g. less newbie code; using OS functions

Re: [fpc-pascal] Parser bug or what?

2013-09-15 Thread Daniel Gaspary
On Sun, Sep 15, 2013 at 6:37 AM, Sven Barth wrote: > Seems to be a bug related to scoped enums (in your example that would be > "TMyEnum.me1"). Please report it as a bug with the example mentioned above > as a file. Done: http://bugs.freepascal.org/view.php?id=25029 Thank you. __

Re: [fpc-pascal] FPCUnit test + raise E;

2013-09-15 Thread Marcos Douglas
On Sun, Sep 15, 2013 at 6:56 AM, Sven Barth wrote: > On 15.09.2013 03:21, Marcos Douglas wrote: >> >> Hi, >> >> 1) I have a code like that: >> >> procedure TghSQLConnector.Connect; >> begin >>try >> FLib.Connect; >>except >> on E: Exception do >>DoOnException(E); >>en

Re: [fpc-pascal] FPCUnit test + raise E;

2013-09-15 Thread Sven Barth
On 15.09.2013 03:21, Marcos Douglas wrote: Hi, 1) I have a code like that: procedure TghSQLConnector.Connect; begin try FLib.Connect; except on E: Exception do DoOnException(E); end; end; https://github.com/mdbs99/Greyhound/blob/0.1.8/src/ghsql.pas#L1565 2) DoOnEx

Re: [fpc-pascal] Parser bug or what?

2013-09-15 Thread Sven Barth
On 15.09.2013 03:55, Daniel Gaspary wrote: Can anybody tell me whether I stepped on a bug or I am just forgetting some Set / Enum property? I made a Set to iterate with For..in, but I accidentally used a Dot instead of a Comma between the elements. The result was that the For "sees" only the i