symdefh.inc 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672
  1. {
  2. $Id$
  3. Copyright (c) 1993-98 by Florian Klaempfl, Pierre Muller
  4. Interface for the definition types of the symtable
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. {************************************************
  19. TDef
  20. ************************************************}
  21. { definition contains the informations about a type }
  22. tdeftype = (abstractdef,arraydef,recorddef,pointerdef,orddef,
  23. stringdef,enumdef,procdef,objectdef,errordef,
  24. filedef,formaldef,setdef,procvardef,floatdef,
  25. classrefdef);
  26. pdef = ^tdef;
  27. tdef = object(tsymtableentry)
  28. deftype : tdeftype;
  29. sym : ptypesym; { which type the definition was generated this def }
  30. has_inittable : boolean;
  31. { adress of init informations }
  32. inittable_label : pasmlabel;
  33. has_rtti : boolean;
  34. { address of rtti }
  35. rtti_label : pasmlabel;
  36. nextglobal,
  37. previousglobal : pdef;
  38. {$ifdef GDB}
  39. globalnb : word;
  40. is_def_stab_written : boolean;
  41. {$endif GDB}
  42. constructor init;
  43. constructor load;
  44. destructor done;virtual;
  45. { registers enumdef inside objects or
  46. record directly in the owner symtable !! }
  47. procedure correct_owner_symtable;
  48. function typename:string;
  49. procedure write;virtual;
  50. function size:longint;virtual;
  51. function alignment:longint;virtual;
  52. {$ifdef GDB}
  53. function NumberString:string;
  54. procedure set_globalnb;
  55. function stabstring : pchar;virtual;
  56. function allstabstring : pchar;
  57. procedure concatstabto(asmlist : paasmoutput);virtual;
  58. {$endif GDB}
  59. procedure deref;virtual;
  60. procedure symderef;virtual;
  61. { init. tables }
  62. function needs_inittable : boolean;virtual;
  63. procedure generate_inittable;
  64. function get_inittable_label : pasmlabel;
  65. { the default implemenation calls write_rtti_data }
  66. { if init and rtti data is different these procedures }
  67. { must be overloaded }
  68. procedure write_init_data;virtual;
  69. { writes rtti of child to avoid mixup of rtti }
  70. procedure write_child_init_data;virtual;
  71. { rtti }
  72. procedure write_rtti_name;
  73. function get_rtti_label : string;virtual;
  74. procedure generate_rtti;virtual;
  75. procedure write_rtti_data;virtual;
  76. procedure write_child_rtti_data;virtual;
  77. { returns true, if the definition can be published }
  78. function is_publishable : boolean;virtual;
  79. function is_in_current : boolean;
  80. function gettypename:string;virtual;
  81. private
  82. savesize : longint;
  83. end;
  84. targconvtyp = (act_convertable,act_equal,act_exact);
  85. tvarspez = (vs_value,vs_const,vs_var);
  86. pdefcoll = ^tdefcoll;
  87. tdefcoll = record
  88. data : pdef;
  89. datasym : ptypesym;
  90. next : pdefcoll;
  91. paratyp : tvarspez;
  92. argconvtyp : targconvtyp;
  93. convertlevel : byte;
  94. register : tregister;
  95. end;
  96. tfiletype = (ft_text,ft_typed,ft_untyped);
  97. pfiledef = ^tfiledef;
  98. tfiledef = object(tdef)
  99. filetype : tfiletype;
  100. typed_as : pdef;
  101. constructor init(ft : tfiletype;tas : pdef);
  102. constructor load;
  103. procedure write;virtual;
  104. procedure deref;virtual;
  105. procedure setsize;
  106. {$ifdef GDB}
  107. function stabstring : pchar;virtual;
  108. procedure concatstabto(asmlist : paasmoutput);virtual;
  109. {$endif GDB}
  110. function gettypename:string;virtual;
  111. end;
  112. pformaldef = ^tformaldef;
  113. tformaldef = object(tdef)
  114. constructor init;
  115. constructor load;
  116. procedure write;virtual;
  117. {$ifdef GDB}
  118. function stabstring : pchar;virtual;
  119. procedure concatstabto(asmlist : paasmoutput);virtual;
  120. {$endif GDB}
  121. function gettypename:string;virtual;
  122. end;
  123. perrordef = ^terrordef;
  124. terrordef = object(tdef)
  125. constructor init;
  126. {$ifdef GDB}
  127. function stabstring : pchar;virtual;
  128. {$endif GDB}
  129. function gettypename:string;virtual;
  130. end;
  131. { tpointerdef and tclassrefdef should get a common
  132. base class, but I derived tclassrefdef from tpointerdef
  133. to avoid problems with bugs (FK)
  134. }
  135. ppointerdef = ^tpointerdef;
  136. tpointerdef = object(tdef)
  137. definition : pdef;
  138. defsym : ptypesym;
  139. is_far : boolean;
  140. constructor init(def : pdef);
  141. constructor initfar(def : pdef);
  142. constructor load;
  143. procedure write;virtual;
  144. {$ifdef GDB}
  145. function stabstring : pchar;virtual;
  146. procedure concatstabto(asmlist : paasmoutput);virtual;
  147. {$endif GDB}
  148. procedure deref;virtual;
  149. function gettypename:string;virtual;
  150. end;
  151. pobjectdef = ^tobjectdef;
  152. tobjectdef = object(tdef)
  153. childof : pobjectdef;
  154. objname : pstring;
  155. publicsyms : psymtable;
  156. options : longint;
  157. { to be able to have a variable vmt position }
  158. { and no vmt field for objects without virtuals }
  159. vmt_offset : longint;
  160. constructor init(const n : string;c : pobjectdef);
  161. destructor done;virtual;
  162. procedure check_forwards;
  163. function isrelated(d : pobjectdef) : boolean;
  164. function size : longint;virtual;
  165. function alignment:longint;virtual;
  166. constructor load;
  167. procedure write;virtual;
  168. function vmt_mangledname : string;
  169. function rtti_name : string;
  170. function isclass : boolean;
  171. procedure insertvmt;
  172. procedure set_parent(c : pobjectdef);
  173. {$ifdef GDB}
  174. function stabstring : pchar;virtual;
  175. {$endif GDB}
  176. procedure deref;virtual;
  177. function needs_inittable : boolean;virtual;
  178. procedure write_init_data;virtual;
  179. procedure write_child_init_data;virtual;
  180. { rtti }
  181. function get_rtti_label : string;virtual;
  182. procedure generate_rtti;virtual;
  183. procedure write_rtti_data;virtual;
  184. procedure write_child_rtti_data;virtual;
  185. function next_free_name_index : longint;
  186. function is_publishable : boolean;virtual;
  187. end;
  188. pclassrefdef = ^tclassrefdef;
  189. tclassrefdef = object(tpointerdef)
  190. constructor init(def : pdef);
  191. constructor load;
  192. procedure write;virtual;
  193. {$ifdef GDB}
  194. function stabstring : pchar;virtual;
  195. procedure concatstabto(asmlist : paasmoutput);virtual;
  196. {$endif GDB}
  197. function gettypename:string;virtual;
  198. end;
  199. parraydef = ^tarraydef;
  200. tarraydef = object(tdef)
  201. private
  202. rangenr : longint;
  203. public
  204. lowrange,
  205. highrange : longint;
  206. definition : pdef;
  207. rangedef : pdef;
  208. IsVariant,
  209. IsConstructor,
  210. IsArrayOfConst : boolean;
  211. function gettypename:string;virtual;
  212. function elesize : longint;
  213. constructor init(l,h : longint;rd : pdef);
  214. constructor load;
  215. procedure write;virtual;
  216. {$ifdef GDB}
  217. function stabstring : pchar;virtual;
  218. procedure concatstabto(asmlist : paasmoutput);virtual;
  219. {$endif GDB}
  220. procedure deref;virtual;
  221. function size : longint;virtual;
  222. function alignment : longint;virtual;
  223. { generates the ranges needed by the asm instruction BOUND (i386)
  224. or CMP2 (Motorola) }
  225. procedure genrangecheck;
  226. { returns the label of the range check string }
  227. function getrangecheckstring : string;
  228. function needs_inittable : boolean;virtual;
  229. procedure write_rtti_data;virtual;
  230. procedure write_child_rtti_data;virtual;
  231. end;
  232. precdef = ^trecdef;
  233. trecdef = object(tdef)
  234. symtable : psymtable;
  235. constructor init(p : psymtable);
  236. constructor load;
  237. destructor done;virtual;
  238. procedure write;virtual;
  239. function size:longint;virtual;
  240. function alignment : longint;virtual;
  241. {$ifdef GDB}
  242. function stabstring : pchar;virtual;
  243. procedure concatstabto(asmlist : paasmoutput);virtual;
  244. {$endif GDB}
  245. procedure deref;virtual;
  246. function needs_inittable : boolean;virtual;
  247. procedure write_rtti_data;virtual;
  248. procedure write_init_data;virtual;
  249. procedure write_child_rtti_data;virtual;
  250. procedure write_child_init_data;virtual;
  251. function gettypename:string;virtual;
  252. end;
  253. { base types }
  254. tbasetype = (uauto,uvoid,uchar,
  255. u8bit,u16bit,u32bit,
  256. s8bit,s16bit,s32bit,
  257. bool8bit,bool16bit,bool32bit { uwchar,bool1bit,bitfield},
  258. u64bit,s64bitint);
  259. porddef = ^torddef;
  260. torddef = object(tdef)
  261. low,high : longint;
  262. rangenr : longint;
  263. typ : tbasetype;
  264. {
  265. bits : byte;
  266. }
  267. constructor init(t : tbasetype;v,b : longint);
  268. constructor load;
  269. procedure write;virtual;
  270. {$ifdef GDB}
  271. function stabstring : pchar;virtual;
  272. {$endif GDB}
  273. procedure setsize;
  274. { generates the ranges needed by the asm instruction BOUND }
  275. { or CMP2 (Motorola) }
  276. procedure genrangecheck;
  277. { returns the label of the range check string }
  278. function getrangecheckstring : string;
  279. procedure write_rtti_data;virtual;
  280. function is_publishable : boolean;virtual;
  281. function gettypename:string;virtual;
  282. end;
  283. { sextreal is dependant on the cpu, s64bit is also }
  284. { dependant on the size (tp = 80bit for both) }
  285. { The EXTENDED format exists on the motorola FPU }
  286. { but it uses 96 bits instead of 80, with some }
  287. { unused bits within the number itself! Pretty }
  288. { complicated to support, so no support for the }
  289. { moment. }
  290. { s64 bit is considered as a real because all }
  291. { calculations are done by the fpu. }
  292. tfloattype = (s32real,s64real,s80real,s64comp,f16bit,f32bit);
  293. pfloatdef = ^tfloatdef;
  294. tfloatdef = object(tdef)
  295. typ : tfloattype;
  296. constructor init(t : tfloattype);
  297. constructor load;
  298. procedure write;virtual;
  299. {$ifdef GDB}
  300. function stabstring : pchar;virtual;
  301. {$endif GDB}
  302. procedure setsize;
  303. function is_publishable : boolean;virtual;
  304. procedure write_rtti_data;virtual;
  305. function gettypename:string;virtual;
  306. end;
  307. pabstractprocdef = ^tabstractprocdef;
  308. tabstractprocdef = object(tdef)
  309. { saves a definition to the return type }
  310. retdef : pdef;
  311. fpu_used : byte; { how many stack fpu must be empty }
  312. options : longint; { save the procedure options }
  313. para1 : pdefcoll;
  314. constructor init;
  315. constructor load;
  316. destructor done;virtual;
  317. procedure concatdef(p : pdef;vsp : tvarspez);
  318. procedure concattypesym(p : ptypesym;vsp : tvarspez);
  319. procedure deref;virtual;
  320. function para_size : longint;
  321. function demangled_paras : string;
  322. {$ifdef GDB}
  323. function stabstring : pchar;virtual;
  324. procedure concatstabto(asmlist : paasmoutput);virtual;
  325. {$endif GDB}
  326. procedure test_if_fpu_result;
  327. procedure write;virtual;
  328. end;
  329. pprocvardef = ^tprocvardef;
  330. tprocvardef = object(tabstractprocdef)
  331. constructor init;
  332. constructor load;
  333. procedure write;virtual;
  334. function size : longint;virtual;
  335. {$ifdef GDB}
  336. function stabstring : pchar;virtual;
  337. procedure concatstabto(asmlist : paasmoutput); virtual;
  338. {$endif GDB}
  339. procedure write_child_rtti_data;virtual;
  340. function is_publishable : boolean;virtual;
  341. procedure write_rtti_data;virtual;
  342. function gettypename:string;virtual;
  343. end;
  344. tmessageinf = record
  345. case integer of
  346. 0 : (str : pchar);
  347. 1 : (i : longint);
  348. end;
  349. pprocdef = ^tprocdef;
  350. tprocdef = object(tabstractprocdef)
  351. extnumber : longint;
  352. messageinf : tmessageinf;
  353. nextoverloaded : pprocdef;
  354. { where is this function defined, needed here because there
  355. is only one symbol for all overloaded functions }
  356. fileinfo : tfileposinfo;
  357. { pointer to the local symbol table }
  358. localst : psymtable;
  359. { pointer to the parameter symbol table }
  360. parast : psymtable;
  361. { browser info }
  362. lastref,
  363. defref,
  364. crossref,
  365. lastwritten : pref;
  366. refcount : longint;
  367. _class : pobjectdef;
  368. _mangledname : pchar;
  369. { it's a tree, but this not easy to handle }
  370. { used for inlined procs }
  371. code : pointer;
  372. { true, if the procedure is only declared }
  373. { (forward procedure) }
  374. forwarddef,
  375. { true if the procedure is declared in the interface }
  376. interfacedef : boolean;
  377. { check the problems of manglednames }
  378. count : boolean;
  379. is_used : boolean;
  380. { set which contains the modified registers }
  381. {$ifdef i386}
  382. usedregisters : byte;
  383. {$endif}
  384. {$ifdef m68k}
  385. usedregisters : word;
  386. {$endif}
  387. {$ifdef alpha}
  388. usedregisters_int : longint;
  389. usedregisters_fpu : longint;
  390. {$endif}
  391. constructor init;
  392. destructor done;virtual;
  393. constructor load;
  394. procedure write;virtual;
  395. {$ifdef GDB}
  396. function cplusplusmangledname : string;
  397. function stabstring : pchar;virtual;
  398. procedure concatstabto(asmlist : paasmoutput);virtual;
  399. {$endif GDB}
  400. procedure deref;virtual;
  401. function mangledname : string;
  402. procedure setmangledname(const s : string);
  403. procedure load_references;
  404. function write_references : boolean;
  405. {$ifdef BrowserLog}
  406. procedure add_to_browserlog;
  407. {$endif BrowserLog}
  408. function haspara:boolean;
  409. end;
  410. tstringtype = (st_shortstring, st_longstring, st_ansistring, st_widestring);
  411. pstringdef = ^tstringdef;
  412. tstringdef = object(tdef)
  413. string_typ : tstringtype;
  414. len : longint;
  415. constructor shortinit(l : byte);
  416. constructor shortload;
  417. constructor longinit(l : longint);
  418. constructor longload;
  419. constructor ansiinit(l : longint);
  420. constructor ansiload;
  421. constructor wideinit(l : longint);
  422. constructor wideload;
  423. function stringtypname:string;
  424. function size : longint;virtual;
  425. procedure write;virtual;
  426. {$ifdef GDB}
  427. function stabstring : pchar;virtual;
  428. procedure concatstabto(asmlist : paasmoutput);virtual;
  429. {$endif GDB}
  430. function needs_inittable : boolean;virtual;
  431. procedure write_rtti_data;virtual;
  432. function is_publishable : boolean;virtual;
  433. function gettypename:string;virtual;
  434. end;
  435. penumdef = ^tenumdef;
  436. tenumdef = object(tdef)
  437. rangenr,
  438. minval,
  439. maxval : longint;
  440. has_jumps : boolean;
  441. firstenum : penumsym;
  442. basedef : penumdef;
  443. constructor init;
  444. constructor init_subrange(_basedef:penumdef;_min,_max:longint);
  445. constructor load;
  446. destructor done;virtual;
  447. procedure write;virtual;
  448. procedure deref;virtual;
  449. procedure calcsavesize;
  450. procedure setmax(_max:longint);
  451. procedure setmin(_min:longint);
  452. function min:longint;
  453. function max:longint;
  454. function getrangecheckstring:string;
  455. procedure genrangecheck;
  456. {$ifdef GDB}
  457. function stabstring : pchar;virtual;
  458. {$endif GDB}
  459. procedure write_child_rtti_data;virtual;
  460. procedure write_rtti_data;virtual;
  461. function is_publishable : boolean;virtual;
  462. function gettypename:string;virtual;
  463. end;
  464. tsettype = (normset,smallset,varset);
  465. psetdef = ^tsetdef;
  466. tsetdef = object(tdef)
  467. setof : pdef;
  468. settype : tsettype;
  469. constructor init(s : pdef;high : longint);
  470. constructor load;
  471. procedure write;virtual;
  472. {$ifdef GDB}
  473. function stabstring : pchar;virtual;
  474. procedure concatstabto(asmlist : paasmoutput);virtual;
  475. {$endif GDB}
  476. procedure deref;virtual;
  477. function is_publishable : boolean;virtual;
  478. procedure write_rtti_data;virtual;
  479. procedure write_child_rtti_data;virtual;
  480. function gettypename:string;virtual;
  481. end;
  482. {
  483. $Log$
  484. Revision 1.35 1999-07-27 23:42:20 peter
  485. * indirect type referencing is now allowed
  486. Revision 1.34 1999/07/23 16:05:30 peter
  487. * alignment is now saved in the symtable
  488. * C alignment added for records
  489. * PPU version increased to solve .12 <-> .13 probs
  490. Revision 1.33 1999/06/22 16:24:45 pierre
  491. * local browser stuff corrected
  492. Revision 1.32 1999/06/02 10:11:51 florian
  493. * make cycle fixed i.e. compilation with 0.99.10
  494. * some fixes for qword
  495. * start of register calling conventions
  496. Revision 1.31 1999/05/31 16:42:35 peter
  497. * interfacedef flag for procdef if it's defined in the interface, to
  498. make a difference with 'forward;' directive forwarddef. Fixes 253
  499. Revision 1.30 1999/05/27 19:45:04 peter
  500. * removed oldasm
  501. * plabel -> pasmlabel
  502. * -a switches to source writing automaticly
  503. * assembler readers OOPed
  504. * asmsymbol automaticly external
  505. * jumptables and other label fixes for asm readers
  506. Revision 1.29 1999/05/23 18:42:15 florian
  507. * better error recovering in typed constants
  508. * some problems with arrays of const fixed, some problems
  509. due my previous
  510. - the location type of array constructor is now LOC_MEM
  511. - the pushing of high fixed
  512. - parameter copying fixed
  513. - zero temp. allocation removed
  514. * small problem in the assembler writers fixed:
  515. ref to nil wasn't written correctly
  516. Revision 1.28 1999/05/19 16:48:28 florian
  517. * tdef.typename: returns a now a proper type name for the most types
  518. Revision 1.27 1999/05/13 21:59:42 peter
  519. * removed oldppu code
  520. * warning if objpas is loaded from uses
  521. * first things for new deref writing
  522. Revision 1.26 1999/05/12 00:19:59 peter
  523. * removed R_DEFAULT_SEG
  524. * uniform float names
  525. Revision 1.25 1999/05/08 19:52:37 peter
  526. + MessagePos() which is enhanced Message() function but also gets the
  527. position info
  528. * Removed comp warnings
  529. Revision 1.24 1999/05/06 09:05:30 peter
  530. * generic write_float and str_float
  531. * fixed constant float conversions
  532. Revision 1.23 1999/04/26 18:30:02 peter
  533. * farpointerdef moved into pointerdef.is_far
  534. Revision 1.22 1999/04/26 13:31:49 peter
  535. * release storenumber,double_checksum
  536. Revision 1.21 1999/04/21 09:43:52 peter
  537. * storenumber works
  538. * fixed some typos in double_checksum
  539. + incompatible types type1 and type2 message (with storenumber)
  540. Revision 1.20 1999/04/14 09:15:00 peter
  541. * first things to store the symbol/def number in the ppu
  542. Revision 1.19 1999/04/08 15:57:52 peter
  543. + subrange checking for readln()
  544. Revision 1.18 1999/03/02 18:24:21 peter
  545. * fixed overloading of array of char
  546. Revision 1.17 1999/03/01 13:45:06 pierre
  547. + added staticppusymtable symtable type for local browsing
  548. Revision 1.16 1999/02/22 20:13:39 florian
  549. + first implementation of message keyword
  550. Revision 1.15 1999/01/20 14:18:40 pierre
  551. * bugs related to mangledname solved
  552. - linux external without name
  553. -external procs already used
  554. (added count and is_used boolean fiels in tprocvar)
  555. Revision 1.14 1999/01/12 14:25:33 peter
  556. + BrowserLog for browser.log generation
  557. + BrowserCol for browser info in TCollections
  558. * released all other UseBrowser
  559. Revision 1.13 1998/12/30 22:15:53 peter
  560. + farpointer type
  561. * absolutesym now also stores if its far
  562. Revision 1.12 1998/12/10 09:47:28 florian
  563. + basic operations with int64/qord (compiler with -dint64)
  564. + rtti of enumerations extended: names are now written
  565. Revision 1.11 1998/11/29 21:45:49 florian
  566. * problem with arrays with init tables fixed
  567. Revision 1.10 1998/11/20 15:36:00 florian
  568. * problems with rtti fixed, hope it works
  569. Revision 1.9 1998/11/10 10:09:14 peter
  570. * va_list -> array of const
  571. Revision 1.8 1998/11/09 11:44:37 peter
  572. + va_list for printf support
  573. Revision 1.7 1998/11/05 12:02:59 peter
  574. * released useansistring
  575. * removed -Sv, its now available in fpc modes
  576. Revision 1.6 1998/10/22 17:11:23 pierre
  577. + terminated the include exclude implementation for i386
  578. * enums inside records fixed
  579. Revision 1.5 1998/10/16 13:12:55 pierre
  580. * added vmt_offsets in destructors code also !!!
  581. * vmt_offset code for m68k
  582. Revision 1.4 1998/10/16 08:51:52 peter
  583. + target_os.stackalignment
  584. + stack can be aligned at 2 or 4 byte boundaries
  585. Revision 1.3 1998/10/05 21:33:30 peter
  586. * fixed 161,165,166,167,168
  587. Revision 1.2 1998/10/02 07:20:40 florian
  588. * range checking in units doesn't work if the units are smartlinked, fixed
  589. Revision 1.1 1998/09/23 12:03:57 peter
  590. * overloading fix for array of const
  591. }