86e2384686fcfb49f3f96a9011fdfda361c8ae52
* 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
Description
Harbour Core — Reference source for Five development
Languages
C
80.3%
xBase
17.8%
Makefile
0.6%
C++
0.4%
Harbour
0.4%
Other
0.3%