[xHarbour-developers] Preprocessor Bug?

2009-09-29 Thread Patrick Mast, xHarbour.
Hello,

Please try this small test:

//
#include hbclass.ch
#command myTest x y ;
 = ;
 Test(x)

CLASS Test1
   METHOD Init()
   DATA n2
ENDCLASS

METHOD Init() CLASS test1
 myTest two Test(::n2:=1)
 myTest two  ::n2:=1

RETURN Self

Function Test(x)
RETURN x
//---

It returns this error:
test.prg(19) Error E0030  Syntax error: syntax error at 'MYTEST'

Where line 19 is:
myTest two  ::n2:=1

Notice that Line 18 compiles OK.

The error occurs when y begins with ::
It seems that if y begins with ::, its not seems as y, but still a part of x

Thanks!

Patrick

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


[xHarbour-developers] 2009-09-29 12:40 UTC-0300 Luiz Rafael Culik luiz at xharbour.com.br

2009-09-29 Thread Luiz Rafael Culik Guimaraes
  * source/rtl/tbrowse.prg
! fixed method setrowpos to return ::nrowpos insted of self. Reported on
  xharbour portuguese new by Jose Claudio

Regards
Luiz 


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers