Commit Graph

101 Commits

Author SHA1 Message Date
Ron Pinkas
86e2384686 20000504-03:10 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
     + Added:
	"as bool array"      { return AS_LOGICAL_ARRAY; }
	"as boolean array"   { return AS_LOGICAL_ARRAY; }
	"as var"             { return AS_VARIANT; }
	"as variant"         { return AS_VARIANT; }
	"as num array"       { return AS_NUMERIC_ARRAY; }
	"as numeric array"   { return AS_NUMERIC_ARRAY; }
	"as char array"      { return AS_CHARACTER_ARRAY; }
	"as character array" { return AS_CHARACTER_ARRAY; }
	"as string array"    { return AS_CHARACTER_ARRAY; }
	"as logical array"   { return AS_LOGICAL_ARRAY; }
	"as bool array"      { return AS_LOGICAL_ARRAY; }
	"as boolean array"   { return AS_LOGICAL_ARRAY; }
	"as date array"      { return AS_DATE_ARRAY; }
	"as array array"     { return AS_ARRAY_ARRAY; }
	"as block array"     { return AS_BLOCK_ARRAY; }
	"as object array"    { return AS_OBJECT_ARRAY; }
	"as var array"       { return AS_VARIANT; }
	"as variant array"   { return AS_VARIANT; }

   * source/compiler/harbour.y
     + Added AsArray
     + Added : %token AS_NUMERIC_ARRAY AS_CHARACTER_ARRAY AS_LOGICAL_ARRAY AS_DATE_ARRAY AS_ARRAY_ARRAY AS_BLOCK_ARRAY AS_OBJECT_ARRAY AS_VARIANT_ARRAY
     + Added rules to support declarion of array elements type

   * source/compiler/harbour.c
     ! Minor fix to hb_compVariableGetPos() to signify var usage if warning level lower than 3

   * source/compiler/hbpcode.c
     + Added logic to hb_compStrongType() to support type checking of array elements declared type.

   * include/hberrors.h
     + Added #define HB_COMP_ARRAY_ASSIGN_TYPE

   * source/compiler/hbgenerr.c
     + Added : "3Incompatible type in assignment to declared array element expected: \'%s\'"

   * tests/testwarn.prg
     + Added code to demonstrate more warnings.

   * contrib/hbclip/hbclip.ch
     + Added additional strong typing compatibility translations
2000-05-04 10:26:57 +00:00
Ryszard Glab
7be838ea9e ChangeLog 20000502-16:22 GMT+1 2000-05-02 14:15:31 +00:00
Ron Pinkas
90808e7713 20000501-20:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
     + Added "as char" and "as string" as acceptable alternative to "as character"
     + Added "as num" as acceptable alternative to "as numeric"
2000-05-02 03:49:18 +00:00
Viktor Szakats
234074140c 20000502-02:13 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 00:12:34 +00:00
Viktor Szakats
be7f72c97d 20000502-01:43 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-01 23:41:19 +00:00
Ryszard Glab
9f23de3925 ChangeLog 20000425-12:40 GMT+1 2000-04-25 10:37:40 +00:00
Ryszard Glab
cfbd3181c7 ChangeLog 20000424-19:40 GMT+1 2000-04-24 17:33:06 +00:00
Viktor Szakats
c69b622588 20000312-16:24 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-12 15:35:54 +00:00
Viktor Szakats
3f335033d4 20000306-13:25 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-06 12:38:23 +00:00
Viktor Szakats
3e3819e705 20000302-11:21 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-02 11:58:22 +00:00
Alexander S.Kresin
13402a6648 Updating compiler and pp files 2000-02-16 20:13:45 +00:00
Ryszard Glab
d1209bb4bc ChangeLog 20000210-13:20 GMT+1 2000-02-10 12:05:07 +00:00
Ryszard Glab
09980f0da8 ChangeLog 20000208-17:55 GMT+1 2000-02-08 17:01:37 +00:00
Ryszard Glab
c3dd8519a5 ChangeLog 20000208-17:55 GMT+1 2000-02-08 16:41:27 +00:00
Ryszard Glab
d04e918b68 ChangeLog 20000130-13:55 GMT+1 2000-01-30 12:42:11 +00:00
Ryszard Glab
c5b3933834 ChangeLog 20000129-13:20 GMT+1 2000-01-29 12:08:21 +00:00
Ryszard Glab
68e552cc68 ChangeLog 20000128-20:15 GMT+1 2000-01-28 19:06:03 +00:00
Ryszard Glab
a28cf6b8b9 ChangeLog 20000116-15:35 GMT+1 2000-01-16 14:23:07 +00:00
Ron Pinkas
63a39a6a01 Jan-11-2000 Ron Pinkas Ron@Profit-Master.com
* Harbour.l corrected bug with syntax of return [] (RETURN followed with string delimited with "[]" )
2000-01-12 04:23:49 +00:00
Ryszard Glab
a3792dc1c1 ChangeLog 20000103-19:48 GMT+1 2000-01-03 18:36:59 +00:00
Ryszard Glab
a5fcd61d0e ChangeLog 19991219-14:35 GMT+1 1999-12-19 13:21:54 +00:00
Ryszard Glab
b25bfa6813 ChangeLog 19991212-13:55 GMT+1 1999-12-12 13:58:52 +00:00
Ryszard Glab
7a9444924f ChangeLog 19991209-17:10 1999-12-09 16:15:00 +00:00
Viktor Szakats
a4ec35927e 19991122-16:12 GMT+1 Victor Szel <info@szelvesz.hu> 1999-11-22 15:29:17 +00:00
Viktor Szakats
648b4b5a9d 19991122-01:14 GMT+1 Victor Szel <info@szelvesz.hu> 1999-11-22 00:27:07 +00:00
Viktor Szakats
4b80830d9a 19991121-23:23 GMT+1 Victor Szel <info@szelvesz.hu> 1999-11-21 22:34:44 +00:00
Ryszard Glab
97988f31a2 ChangeLog 19991120-14:35 GMT+1 1999-11-20 13:40:26 +00:00
Ryszard Glab
0dd0d8d93f ChangeLog 19991117-13:05 1999-11-17 12:23:57 +00:00
Ryszard Glab
ee515d4717 ChangeLog 19991116-21:55 1999-11-16 21:06:31 +00:00
Ron Pinkas
8af7e11271 19991016-22:40 GMT+8 Ron Pinkas <Ron@Profit-Master.com>
* harbour.y
	  + added support for _FIELD->Expression and _FIELD->ALIAS->Expression
            "REPLACE Field WITH Exp" and "REPLACE ALIAS->Field WITH Exp" are supported
            "REPLACE 1->Field WITH Exp" will compile but requires some more work by Ryszard.
	  + added support for Aliased Variables in Push/Pop support.
	  + added "Invalid alias expression" error to _szCERRORS.
	  - Removed Todo # 9 support for _FIELD->Alias->Field.

   * harbour.l
          + added {Integer} definition - used by _Field->Area#-> rule
	  + added MEMV->& and MEMVA&-> to MACROOP defeinition.
	  + added rules for _FIELD->"{Integer}"->", _FIELD->"{Number}"->" (Error condition), _FIELD->"{Integer}"->" and _FIELD->"{Identifier}"->"

   * Hberror.h
          + added #define ERR_ALIASEXP               38

   + /Tests/TstAlias.prg
	  added new test to demonstrate support for aliased expression.
1999-10-17 06:31:19 +00:00
David G. Holm
6089c4bf2d See Change Log entry 19991013-19:05 EDT David G. Holm <dholm@jsd-llc.com> 1999-10-13 23:22:49 +00:00
Ron Pinkas
b3f4833aa3 19991013-11:00 GMT+8 Ron Pinkas <Ron@Profit-Master.com>
* harbour.y
          + added TOKEN DOT and rules to support concatenation of Var and constant in macro variables assignments (like &cVar.PlusFix).
	  + added rules to support PRIVATE/PUBLIC &cVar
   * harbour.l
          + added rules to support new TOKEN DOT and yylval.string to have the string value when parsing DOUBLE.
   * tests/tstmacro.prg
	  added many tests to demonstrate working capabilities og macro.
1999-10-13 21:04:50 +00:00
Ron Pinkas
ed3b014440 19991013-11:00 GMT+8 Ron Pinkas <Ron@Profit-Master.com>
* harbour.y
          + added TOKEN DOT and rules to support concatenation of Var and constant in macro variables assignments (like &cVar.PlusFix).
	  + added rules to support PRIVATE/PUBLIC &cVar
   * harbour.l
          + added rules to support new TOKEN DOT and yylval.string to have the string value when parsing DOUBLE.
   * tests/tstmacro.prg
	  added many tests to demonstrate working capabilities og macro.
1999-10-13 18:17:28 +00:00
Ron Pinkas
0bdf95967e 19991013-03:13 GMT+8 Ron Pinkas <Ron@Profit-Master.com>
* harbour.y
          + added TOKEN MACROALIAS and rules to support MemVar aliased macro and non aliased macro variables assignments.
   * harbour.l
          + added rules to support new TOKEN MACROALIAS
   +tests/tstmacro.prg
	  sample program to demonstarte new macro assigments support.
1999-10-13 10:33:26 +00:00
Ryszard Glab
440a1725ba ChangeLog 19991010-13:25 GMT+2 1999-10-10 11:28:14 +00:00
Ryszard Glab
275ad9eab2 ChangeLog 19991001-17:10 GMT+2 1999-10-01 15:17:02 +00:00
Ryszard Glab
11808c205a ChangeLog 19990919-14:25 GMT+2 1999-09-19 12:31:21 +00:00
Viktor Szakats
2611bfd089 19990916-02:25 GMT+1 1999-09-16 00:40:23 +00:00
David G. Holm
8103e28935 See ChangeLog entry 19990914-17:40 EDT David G. Holm <dholm@jsd-llc.com> 1999-09-15 21:55:31 +00:00
Viktor Szakats
71ef013ace 19990914-11:40 GMT+1 1999-09-14 10:02:44 +00:00
Viktor Szakats
1b377bd6b8 19990913-10:00 GMT+1 1999-09-13 08:11:01 +00:00
Viktor Szakats
e713e45e0b 19990911-11:30 GMT+1 1999-09-11 09:54:25 +00:00
Viktor Szakats
19646e1ca5 19990901-17:20 GMT+1 1999-09-01 15:43:27 +00:00
Ryszard Glab
2f4353a26d ChangeLog 19990901-14:40 1999-09-01 12:51:56 +00:00
Viktor Szakats
dad9264dc3 19990825-23:30 GMT+1 1999-08-25 21:47:39 +00:00
Viktor Szakats
72a71f0f44 19990824-03:50 GMT+1 1999-08-24 02:17:48 +00:00
Viktor Szakats
136222ad2d 19990819-05:26 GMT+1 1999-08-19 03:47:45 +00:00
Viktor Szakats
9944bea9c9 19990818-03:00 GMT+1 1999-08-18 01:12:45 +00:00
Paul Tucker
4681708b37 *** empty log message *** 1999-08-09 07:59:32 +00:00
Ryszard Glab
974e40c0db ChangeLog 19990803-05:30 1999-08-03 03:39:24 +00:00