Przemyslaw Czerpak
defb63f5f2
2007-05-30 01:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
...
* harbour/include/hbcompdf.h
* harbour/include/hbexprb.c
* harbour/source/common/expropt1.c
* harbour/source/compiler/harbour.y
* harbour/source/compiler/harbour.yyc
* harbour/source/macro/macro.y
* harbour/source/macro/macro.yyc
! fixed bug in operator precedence - seems that it existed from
beginning and partially were fixed in xHarbour. This code exploits
the problem:
#define EOL chr(13)+chr(10)
#command ? [<x,...>] => [outstd( <x> );]outstd(EOL)
#command TEST <exp> => BEGIN SEQUENCE ;
; ? <exp> ;
; RECOVER USING oErr ;
; ? "Error:", oErr:subCode, ;
oErr:description, oErr:operation ;
; END
proc main()
local oErr, s1:="X", s2:="Y", t:=.T.
errorBlock({|oErr|break(oErr)})
TEST t != s1 $ s2
TEST t == s1 $ s2
TEST t = s1 $ s2
TEST t < s1 $ s2
TEST t <= s1 $ s2
TEST t > s1 $ s2
TEST t >= s1 $ s2
TEST s1 $ s2 != t
TEST s1 $ s2 == t
TEST s1 $ s2 = t
TEST s1 $ s2 > t
TEST s1 $ s2 < t
TEST s1 $ s2 >= t
TEST s1 $ s2 <= t
return
2007-05-29 23:04:09 +00:00
..
2001-04-27 19:03:46 +00:00
2001-04-27 19:03:46 +00:00
2006-04-15 18:51:38 +00:00
2007-04-14 10:41:54 +00:00
2002-06-21 20:12:14 +00:00
2001-12-29 18:45:02 +00:00
2001-04-27 19:03:46 +00:00
2007-05-28 18:08:36 +00:00
2001-04-27 19:03:46 +00:00
2006-06-07 14:41:08 +00:00
2002-10-14 07:19:27 +00:00
2001-04-27 19:03:46 +00:00
2001-05-15 13:02:07 +00:00
2007-03-09 03:44:42 +00:00
2001-12-29 19:35:55 +00:00
2001-05-15 13:02:07 +00:00
2002-08-27 20:13:38 +00:00
2001-04-12 19:12:56 +00:00
2001-05-15 13:02:07 +00:00
2002-03-18 22:30:10 +00:00
2001-05-15 13:02:07 +00:00
2005-01-12 17:28:05 +00:00
2007-05-28 07:52:08 +00:00
2007-04-18 22:15:17 +00:00
2007-05-21 23:45:41 +00:00
2007-04-15 22:20:37 +00:00
2007-05-18 20:45:15 +00:00
2007-05-18 20:45:15 +00:00
2007-04-23 21:41:40 +00:00
2007-03-22 12:28:14 +00:00
2007-04-18 22:15:17 +00:00
2007-05-06 18:35:11 +00:00
2007-03-31 10:42:19 +00:00
2007-05-19 13:41:20 +00:00
2007-04-14 10:41:54 +00:00
2007-05-28 07:52:08 +00:00
2007-05-09 08:08:49 +00:00
2007-05-29 23:04:09 +00:00
2006-02-04 16:16:48 +00:00
2005-09-23 08:45:05 +00:00
2006-04-15 18:51:38 +00:00
2004-12-28 09:29:30 +00:00
2007-04-13 01:06:01 +00:00
2007-04-13 01:06:01 +00:00
2006-12-27 14:01:52 +00:00
2007-05-24 23:35:25 +00:00
2007-05-29 23:04:09 +00:00
2007-05-12 08:48:12 +00:00
2007-05-03 14:11:30 +00:00
2005-01-13 07:15:37 +00:00
2007-04-14 10:41:54 +00:00
2006-03-01 13:49:07 +00:00
2006-03-01 13:49:07 +00:00
2007-03-01 13:15:01 +00:00
2007-04-13 16:43:28 +00:00
2005-11-14 09:47:46 +00:00
2006-06-17 06:36:33 +00:00
2001-12-15 11:22:29 +00:00
2006-12-18 18:34:44 +00:00
2004-04-01 09:17:44 +00:00
2007-03-22 12:28:14 +00:00
2005-11-21 17:04:40 +00:00
2006-06-19 21:11:59 +00:00
2001-05-15 13:02:07 +00:00
2001-06-14 21:20:43 +00:00
2007-04-11 20:01:18 +00:00
2007-03-22 12:28:14 +00:00
2001-09-05 06:48:16 +00:00
2007-05-19 13:41:20 +00:00
2006-11-08 12:06:17 +00:00
2007-05-26 07:06:07 +00:00
2006-06-27 20:40:41 +00:00
2006-08-10 12:09:14 +00:00
2006-06-27 20:40:41 +00:00
2007-05-26 07:06:07 +00:00
2006-05-30 10:28:42 +00:00
2007-05-29 08:32:47 +00:00
2007-04-27 11:06:58 +00:00
2007-04-14 10:41:54 +00:00
2007-04-06 00:33:52 +00:00
2007-02-08 22:56:31 +00:00
2007-04-14 10:41:54 +00:00
2006-08-17 11:05:09 +00:00
2004-12-28 09:29:30 +00:00
2007-03-22 12:28:14 +00:00
2006-08-07 00:23:19 +00:00
2007-04-23 21:41:40 +00:00
2007-01-13 13:18:35 +00:00
2007-05-21 23:45:41 +00:00
2006-02-04 16:16:48 +00:00
2007-05-21 23:45:41 +00:00
2007-05-22 10:23:15 +00:00
2006-02-04 16:16:48 +00:00
2001-05-15 13:02:07 +00:00
2007-05-23 09:55:32 +00:00
2001-04-27 19:03:46 +00:00
2007-04-14 10:41:54 +00:00
2001-05-15 13:02:07 +00:00
2001-04-27 19:03:46 +00:00
2001-04-27 19:03:46 +00:00
2007-04-27 11:06:58 +00:00
2001-04-27 19:03:46 +00:00
2001-04-27 19:03:46 +00:00
2007-05-09 08:08:49 +00:00
2002-06-21 19:54:46 +00:00
2001-05-15 13:02:07 +00:00