Re: legal identifier check

2009-06-01 Thread Jérôme M. Berger
BCS wrote: Hello Saaa, You have to write it yourself. Here's a good starting point: http://www.digitalmars.com/d/1.0/lex.html#identifier Yes, that was my starting point and it seemed quite complex, thus my question :) I think I'll stay with my simple check for now as it isn't really

Re: legal identifier check

2009-06-01 Thread BCS
Reply to Jérôme, BCS wrote: Hello Saaa, You have to write it yourself. Here's a good starting point: http://www.digitalmars.com/d/1.0/lex.html#identifier Yes, that was my starting point and it seemed quite complex, thus my question :) I think I'll stay with my simple check for now as it

Re: const confusion

2009-06-01 Thread Witold Baryluk
Dnia 2009-05-31, nie o godzinie 15:36 -0400, Jarrett Billingsley pisze: On Sun, May 31, 2009 at 3:26 PM, Witold Baryluk bary...@smp.if.uj.edu.pl wrote: Horrible. How to ensure constness of data, and still have possibility of changing references of local variables? Rebindable.

Re: const confusion

2009-06-01 Thread Jarrett Billingsley
On Mon, Jun 1, 2009 at 4:01 PM, Witold Baryluk bary...@smp.if.uj.edu.pl wrote: Dnia 2009-05-31, nie o godzinie 15:36 -0400, Jarrett Billingsley pisze: On Sun, May 31, 2009 at 3:26 PM, Witold Baryluk bary...@smp.if.uj.edu.pl wrote: Horrible. How to ensure constness of data, and still

Re: const confusion

2009-06-01 Thread Steven Schveighoffer
On Mon, 01 Jun 2009 16:01:04 -0400, Witold Baryluk bary...@smp.if.uj.edu.pl wrote: Dnia 2009-05-31, nie o godzinie 15:36 -0400, Jarrett Billingsley pisze: On Sun, May 31, 2009 at 3:26 PM, Witold Baryluk bary...@smp.if.uj.edu.pl wrote: Horrible. How to ensure constness of data, and still