Przemyslaw Czerpak
f5072c9fb9
2012-09-19 04:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
...
* harbour/include/hbexprb.c
* harbour/include/hbcomp.h
* harbour/include/hbcompdf.h
* harbour/src/compiler/hbusage.c
* harbour/src/compiler/harbour.yyc
* harbour/src/compiler/harbour.y
* harbour/src/compiler/ppcomp.c
* harbour/src/compiler/hbmain.c
* harbour/src/compiler/cmdcheck.c
* harbour/doc/cmpopt.txt
* harbour/doc/xhb-diff.txt
+ added new harbour compiler switch:
-kd => accept macros with declared symbols
This switch allows to use declared symbols like LOCALs, STATICs
and FIELDs in macros and macrocodeblocks (every evaluated).
; Please do not confuse different things. Above modification
does not mean to that such variables are visible for macro
compiler. It only allows to write code like:
cbVar := {|| &cLocal + cPrivate }
or:
cbVar := {|| &cLocalPref.func&cPriv1( cPriv2 ) }
or:
? &cLocalPref.func&cPriv1( cPriv2 )
etc.
If possible then for macrocodeblocks Harbour compiler tries to
generate early eval code in which macros are expanded when codeblock
is created. Otherwise macros are expanded each time codeblocks are
evaluated.
For more information look at harbour/doc/xhb-diff.txt section:
MACROS WITH DECLARED SYMBOLS
2012-09-19 02:06:42 +00:00
..
2010-06-03 14:48:23 +00:00
2010-07-25 08:45:50 +00:00
2009-05-06 11:06:11 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2012-07-20 12:07:37 +00:00
2010-06-03 14:48:23 +00:00
2012-06-07 10:20:17 +00:00
2010-06-03 14:48:23 +00:00
2012-06-18 15:34:06 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2012-01-06 15:28:23 +00:00
2010-06-03 14:48:23 +00:00
2012-07-20 12:07:37 +00:00
2012-01-06 15:28:23 +00:00
2010-08-14 18:25:13 +00:00
2010-06-03 14:48:23 +00:00
2012-01-06 15:28:23 +00:00
2010-06-03 14:48:23 +00:00
2012-01-06 15:28:23 +00:00
2012-09-13 14:02:52 +00:00
2012-04-04 18:03:58 +00:00
2012-01-06 15:28:23 +00:00
2012-07-20 12:07:37 +00:00
2012-04-20 15:55:44 +00:00
2012-08-24 12:11:59 +00:00
2010-09-28 06:32:51 +00:00
2010-08-02 17:41:11 +00:00
2012-06-06 22:26:21 +00:00
2012-04-20 15:55:44 +00:00
2012-07-22 18:09:11 +00:00
2012-05-22 14:51:12 +00:00
2012-04-24 14:20:40 +00:00
2012-06-06 22:26:21 +00:00
2012-01-02 20:38:17 +00:00
2010-07-10 08:49:17 +00:00
2011-02-03 08:20:28 +00:00
2010-06-03 14:48:23 +00:00
2012-04-20 15:55:44 +00:00
2010-06-03 14:48:23 +00:00
2012-07-21 16:48:00 +00:00
2012-05-18 14:49:44 +00:00
2012-09-19 02:06:42 +00:00
2012-09-19 02:06:42 +00:00
2012-07-23 13:22:23 +00:00
2012-01-06 15:28:23 +00:00
2010-06-03 14:48:23 +00:00
2007-09-25 01:21:03 +00:00
2010-06-03 14:48:23 +00:00
2010-09-09 15:22:21 +00:00
2012-08-24 13:05:01 +00:00
2012-01-06 15:28:23 +00:00
2012-08-27 20:00:45 +00:00
2012-07-20 05:33:55 +00:00
2012-09-19 02:06:42 +00:00
2012-05-02 10:32:45 +00:00
2012-01-06 15:28:23 +00:00
2012-01-06 15:28:23 +00:00
2010-08-04 20:04:53 +00:00
2011-02-03 08:20:28 +00:00
2010-09-09 15:22:21 +00:00
2010-06-03 14:48:23 +00:00
2012-04-24 06:43:44 +00:00
2012-08-20 09:17:42 +00:00
2010-06-03 14:48:23 +00:00
2012-06-07 10:20:17 +00:00
2011-03-10 16:12:35 +00:00
2012-01-10 13:38:50 +00:00
2010-06-03 14:48:23 +00:00
2012-08-30 13:31:05 +00:00
2010-06-03 14:48:23 +00:00
2010-11-18 12:42:54 +00:00
2012-01-06 15:28:23 +00:00
2012-07-24 13:06:39 +00:00
2010-10-22 18:16:35 +00:00
2010-10-22 18:16:35 +00:00
2010-06-03 14:48:23 +00:00
2012-09-12 09:51:24 +00:00
2010-09-09 15:22:21 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2012-01-06 15:28:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2012-01-06 15:28:23 +00:00
2012-09-13 08:06:40 +00:00
2012-06-07 23:18:44 +00:00
2011-10-20 20:04:04 +00:00
2011-12-06 10:42:41 +00:00
2012-01-05 13:47:18 +00:00
2010-07-07 21:11:33 +00:00
2010-02-08 21:52:47 +00:00
2011-12-06 10:42:41 +00:00
2011-12-06 10:42:41 +00:00
2010-07-07 21:11:33 +00:00
2010-07-07 13:42:39 +00:00
2012-01-30 13:33:49 +00:00
2012-06-13 22:55:29 +00:00
2012-01-06 15:28:23 +00:00
2012-09-14 07:55:58 +00:00
2010-06-03 14:48:23 +00:00
2010-06-10 17:30:22 +00:00
2011-02-07 13:43:38 +00:00
2012-07-20 05:24:17 +00:00
2010-06-03 14:48:23 +00:00
2012-01-06 15:28:23 +00:00
2010-06-03 14:48:23 +00:00
2010-07-07 13:42:39 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2012-08-14 10:44:42 +00:00
2012-07-21 16:48:00 +00:00
2011-09-24 09:10:51 +00:00
2012-06-06 22:26:21 +00:00
2012-01-06 15:28:23 +00:00
2010-06-03 14:48:23 +00:00
2012-01-30 13:33:49 +00:00
2012-07-16 14:23:08 +00:00
2012-04-25 12:12:03 +00:00
2012-04-20 15:55:44 +00:00
2010-06-14 22:59:27 +00:00
2010-06-14 22:59:27 +00:00
2012-08-27 20:00:45 +00:00
2010-06-03 14:48:23 +00:00
2012-04-20 15:55:44 +00:00
2011-01-15 11:08:03 +00:00
2012-04-20 15:55:44 +00:00
2010-06-03 14:48:23 +00:00
2010-11-17 20:12:12 +00:00
2012-04-20 15:55:44 +00:00
2012-01-06 15:28:23 +00:00
2012-06-07 10:20:17 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2012-01-06 15:28:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-06-03 14:48:23 +00:00
2010-07-25 08:45:50 +00:00
2012-06-07 23:18:44 +00:00
2010-06-03 14:48:23 +00:00
2012-01-06 15:28:23 +00:00