tcalvar4.pp 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. {****************************************************************}
  2. { CODE GENERATOR TEST PROGRAM }
  3. { By Carl Eric Codere }
  4. {****************************************************************}
  5. { NODE TESTED : secondcallparan() }
  6. {****************************************************************}
  7. { PRE-REQUISITES: secondload() }
  8. { secondassign() }
  9. { secondtypeconv() }
  10. { secondtryexcept() }
  11. { secondcalln() }
  12. { secondadd() }
  13. {****************************************************************}
  14. { DEFINES: }
  15. { FPC = Target is FreePascal compiler }
  16. {****************************************************************}
  17. { REMARKS: This tests a subset of the secondcalln() node }
  18. { (var parameters with cdecl calling convention) }
  19. {****************************************************************}
  20. program tcalvar4;
  21. {$ifdef fpc}
  22. {$mode objfpc}
  23. {$INLINE ON}
  24. {$endif}
  25. {$R+}
  26. {$P-}
  27. {$V+}
  28. {$ifdef VER70}
  29. {$define tp}
  30. {$endif}
  31. { REAL should map to single or double }
  32. { so it is not checked, since single }
  33. { double nodes are checked. }
  34. { assumes that enumdef is the same as orddef (same storage format) }
  35. const
  36. { should be defined depending on CPU target }
  37. {$ifdef fpc}
  38. {$ifdef cpu68k}
  39. BIG_INDEX = 8000;
  40. SMALL_INDEX = 13;
  41. {$else}
  42. BIG_INDEX = 33000;
  43. SMALL_INDEX = 13; { value should not be aligned! }
  44. {$endif}
  45. {$else}
  46. BIG_INDEX = 33000;
  47. SMALL_INDEX = 13; { value should not be aligned! }
  48. {$endif}
  49. RESULT_U8BIT = $55;
  50. RESULT_U16BIT = $500F;
  51. RESULT_S32BIT = $500F0000;
  52. RESULT_S64BIT = $500F0000;
  53. RESULT_S32REAL = 1777.12;
  54. RESULT_S64REAL = 3444.24;
  55. RESULT_BOOL8BIT = 1;
  56. RESULT_BOOL16BIT = 1;
  57. RESULT_BOOL32BIT = 1;
  58. RESULT_PCHAR = 'Hello world';
  59. RESULT_BIGSTRING = 'Hello world';
  60. RESULT_SMALLSTRING = 'H';
  61. RESULT_CHAR = 'I';
  62. RESULT_BOOLEAN = TRUE;
  63. type
  64. {$ifdef fpc}
  65. pbytearr=^byte;
  66. {$else}
  67. pbytearr=^tbytearr;
  68. tbytearr=array[0..$fffffff] of byte;
  69. {$endif}
  70. tclass1 = class
  71. end;
  72. tprocedure = procedure;
  73. tsmallrecord = packed record
  74. b: byte;
  75. w: word;
  76. end;
  77. tlargerecord = packed record
  78. b: array[1..BIG_INDEX] of byte;
  79. end;
  80. tsmallarray = packed array[1..SMALL_INDEX] of byte;
  81. tsmallsetenum =
  82. (A_A,A_B,A_C,A_D);
  83. tsmallset = set of tsmallsetenum;
  84. tlargeset = set of char;
  85. tsmallstring = string[2];
  86. var
  87. global_u8bit : byte;
  88. global_u16bit : word;
  89. global_s32bit : longint;
  90. global_s64bit : int64;
  91. global_s32real : single;
  92. global_s64real : double;
  93. global_ptr : pchar;
  94. global_proc : tprocedure;
  95. global_class : tclass1;
  96. global_bigstring : shortstring;
  97. global_boolean : boolean;
  98. global_char : char;
  99. value_u8bit : byte;
  100. value_u16bit : word;
  101. value_s32bit : longint;
  102. value_s64bit : int64;
  103. value_s32real : single;
  104. value_s64real : double;
  105. value_proc : tprocedure;
  106. value_ptr : pchar;
  107. value_class : tclass1;
  108. value_smallrec : tsmallrecord;
  109. value_largerec : tlargerecord;
  110. value_smallset : tsmallset;
  111. value_smallstring : tsmallstring;
  112. value_bigstring : shortstring;
  113. value_largeset : tlargeset;
  114. value_smallarray : tsmallarray;
  115. value_boolean : boolean;
  116. value_char : char;
  117. procedure fail;
  118. begin
  119. WriteLn('Failure.');
  120. halt(1);
  121. end;
  122. procedure clear_globals;
  123. begin
  124. global_u8bit := 0;
  125. global_u16bit := 0;
  126. global_s32bit := 0;
  127. global_s64bit := 0;
  128. global_s32real := 0.0;
  129. global_s64real := 0.0;
  130. global_ptr := nil;
  131. global_proc := nil;
  132. global_class := nil;
  133. global_bigstring := '';
  134. global_boolean := false;
  135. global_char := #0;
  136. end;
  137. procedure clear_values;
  138. begin
  139. value_u8bit := 0;
  140. value_u16bit := 0;
  141. value_s32bit := 0;
  142. value_s64bit := 0;
  143. value_s32real := 0.0;
  144. value_s64real := 0.0;
  145. value_proc := nil;
  146. value_ptr := nil;
  147. value_class := nil;
  148. fillchar(value_smallrec, sizeof(value_smallrec), #0);
  149. fillchar(value_largerec, sizeof(value_largerec), #0);
  150. value_smallset := [];
  151. value_smallstring := '';
  152. value_bigstring := '';
  153. value_largeset := [];
  154. fillchar(value_smallarray, sizeof(value_smallarray), #0);
  155. value_boolean := false;
  156. value_char:=#0;
  157. end;
  158. procedure testprocedure;
  159. begin
  160. end;
  161. function getu8bit : byte;
  162. begin
  163. getu8bit:=RESULT_U8BIT;
  164. end;
  165. function getu16bit: word;
  166. begin
  167. getu16bit:=RESULT_U16BIT;
  168. end;
  169. function gets32bit: longint;
  170. begin
  171. gets32bit:=RESULT_S32BIT;
  172. end;
  173. function gets64bit: int64;
  174. begin
  175. gets64bit:=RESULT_S64BIT;
  176. end;
  177. function gets32real: single;
  178. begin
  179. gets32real:=RESULT_S32REAL;
  180. end;
  181. function gets64real: double;
  182. begin
  183. gets64real:=RESULT_S64REAL;
  184. end;
  185. {************************************************************************}
  186. { VAR PARAMETERS }
  187. {************************************************************************}
  188. procedure proc_var_s32bit(var v : longint);cdecl;
  189. begin
  190. v:=RESULT_S32BIT;
  191. end;
  192. procedure proc_var_s64bit(var v: int64);cdecl;
  193. begin
  194. v:=RESULT_S64BIT;
  195. end;
  196. procedure proc_var_u8bit(var v: byte);cdecl;
  197. begin
  198. v:=RESULT_U8BIT;
  199. end;
  200. procedure proc_var_smallrecord(var smallrec : tsmallrecord);cdecl;
  201. begin
  202. smallrec.b := RESULT_U8BIT;
  203. smallrec.w := RESULT_U16BIT;
  204. end;
  205. procedure proc_var_largerecord(var largerec : tlargerecord);cdecl;
  206. begin
  207. largerec.b[1] := RESULT_U8BIT;
  208. largerec.b[2] := RESULT_U8BIT;
  209. end;
  210. procedure proc_var_smallset(var smallset : tsmallset);cdecl;
  211. begin
  212. smallset := [A_A,A_D];
  213. end;
  214. procedure proc_var_largeset(var largeset : tlargeset);cdecl;
  215. begin
  216. largeset:= largeset + ['I'];
  217. end;
  218. procedure proc_var_smallstring(var s:tsmallstring);cdecl;
  219. begin
  220. s:=RESULT_SMALLSTRING;
  221. end;
  222. procedure proc_var_bigstring(var s:shortstring);cdecl;
  223. begin
  224. s:=RESULT_BIGSTRING;
  225. end;
  226. procedure proc_var_openstring(var s: OpenString);cdecl;
  227. begin
  228. global_u8bit := {high(s) is not available with cdecl}255;
  229. s:=RESULT_SMALLSTRING;
  230. end;
  231. procedure proc_var_smallarray(var arr : tsmallarray);cdecl;
  232. begin
  233. arr[SMALL_INDEX] := RESULT_U8BIT;
  234. arr[1] := RESULT_U8BIT;
  235. end;
  236. procedure proc_var_formaldef_array(var buf);cdecl;
  237. var
  238. p: pbytearr;
  239. begin
  240. { array is indexed from 1 }
  241. p := @buf;
  242. p[SMALL_INDEX-1] := RESULT_U8BIT;
  243. p[0] := RESULT_U8BIT;
  244. end;
  245. procedure proc_var_formaldef_string(var buf);cdecl;
  246. var
  247. p: pbytearr;
  248. begin
  249. { array is indexed from 1 }
  250. p := @buf;
  251. p[SMALL_INDEX-1] := RESULT_U8BIT;
  252. p[0] := RESULT_U8BIT;
  253. end;
  254. {************************************************************************}
  255. { MIXED VAR PARAMETERS }
  256. {************************************************************************}
  257. procedure proc_var_s32bit_mixed(b1 : byte;var v : longint; b2: byte);cdecl;
  258. begin
  259. v:=RESULT_S32BIT;
  260. value_u8bit := RESULT_U8BIT;
  261. end;
  262. procedure proc_var_s64bit_mixed(b1 : byte;var v: int64; b2: byte);cdecl;
  263. begin
  264. v:=RESULT_S64BIT;
  265. value_u8bit := RESULT_U8BIT;
  266. end;
  267. procedure proc_var_u8bit_mixed(b1 : byte;var v: byte; b2: byte);cdecl;
  268. begin
  269. v:=RESULT_U8BIT;
  270. value_u8bit := RESULT_U8BIT;
  271. end;
  272. procedure proc_var_smallrecord_mixed(b1 : byte; var smallrec : tsmallrecord; b2: byte);cdecl;
  273. begin
  274. smallrec.b := RESULT_U8BIT;
  275. smallrec.w := RESULT_U16BIT;
  276. value_u8bit := RESULT_U8BIT;
  277. end;
  278. procedure proc_var_largerecord_mixed(b1 : byte; var largerec : tlargerecord; b2: byte);cdecl;
  279. begin
  280. largerec.b[1] := RESULT_U8BIT;
  281. largerec.b[2] := RESULT_U8BIT;
  282. value_u8bit := RESULT_U8BIT;
  283. end;
  284. procedure proc_var_smallset_mixed(b1 : byte; var smallset : tsmallset; b2: byte);cdecl;
  285. begin
  286. smallset := [A_A,A_D];
  287. value_u8bit := RESULT_U8BIT;
  288. end;
  289. procedure proc_var_largeset_mixed(b1 : byte; var largeset : tlargeset; b2: byte);cdecl;
  290. begin
  291. largeset:= largeset + ['I'];
  292. value_u8bit := RESULT_U8BIT;
  293. end;
  294. procedure proc_var_smallstring_mixed(b1 : byte; var s:tsmallstring; b2: byte);cdecl;
  295. begin
  296. s:=RESULT_SMALLSTRING;
  297. value_u8bit := RESULT_U8BIT;
  298. end;
  299. procedure proc_var_bigstring_mixed(b1 : byte; var s:shortstring; b2: byte);cdecl;
  300. begin
  301. s:=RESULT_BIGSTRING;
  302. value_u8bit := RESULT_U8BIT;
  303. end;
  304. procedure proc_var_openstring_mixed(b1 : byte; var s: OpenString; b2: byte);cdecl;
  305. begin
  306. global_u8bit := {high(s) is not available with cdecl}255;
  307. s:=RESULT_SMALLSTRING;
  308. value_u8bit := RESULT_U8BIT;
  309. end;
  310. procedure proc_var_smallarray_mixed(b1 : byte; var arr : tsmallarray; b2: byte);cdecl;
  311. begin
  312. arr[SMALL_INDEX] := RESULT_U8BIT;
  313. arr[1] := RESULT_U8BIT;
  314. value_u8bit := RESULT_U8BIT;
  315. end;
  316. procedure proc_var_formaldef_array_mixed(b1 : byte; var buf; b2: byte);cdecl;
  317. var
  318. p: pbytearr;
  319. begin
  320. { array is indexed from 1 }
  321. p := @buf;
  322. p[SMALL_INDEX-1] := RESULT_U8BIT;
  323. p[0] := RESULT_U8BIT;
  324. value_u8bit := RESULT_U8BIT;
  325. end;
  326. procedure proc_var_formaldef_string_mixed(b1 : byte; var buf; b2: byte);cdecl;
  327. var
  328. p: pbytearr;
  329. begin
  330. { array is indexed from 1 }
  331. p := @buf;
  332. p[SMALL_INDEX-1] := RESULT_U8BIT;
  333. p[0] := RESULT_U8BIT;
  334. value_u8bit := RESULT_U8BIT;
  335. end;
  336. var
  337. failed: boolean;
  338. pp : ^pchar;
  339. begin
  340. {***************************** NORMAL TESTS *******************************}
  341. clear_globals;
  342. clear_values;
  343. failed:=false;
  344. write('Var parameter test (src : LOC_REFERENCE (orddef)))...');
  345. proc_var_s32bit(global_s32bit);
  346. if global_s32bit <> RESULT_S32BIT then
  347. failed:=true;
  348. clear_globals;
  349. clear_values;
  350. proc_var_s64bit(global_s64bit);
  351. if global_s64bit <> RESULT_S64BIT then
  352. failed:=true;
  353. clear_globals;
  354. clear_values;
  355. proc_var_u8bit(global_u8bit);
  356. if global_u8bit <> RESULT_U8BIT then
  357. failed:=true;
  358. if failed then
  359. fail
  360. else
  361. WriteLn('Passed!');
  362. write('Var parameter test (src : LOC_REFERENCE (recorddef)))...');
  363. clear_globals;
  364. clear_values;
  365. failed := false;
  366. proc_var_smallrecord(value_smallrec);
  367. if (value_smallrec.b <> RESULT_U8BIT) or (value_smallrec.w <> RESULT_U16BIT) then
  368. failed := true;
  369. clear_globals;
  370. clear_values;
  371. proc_var_largerecord(value_largerec);
  372. if (value_largerec.b[1] <> RESULT_U8BIT) or (value_largerec.b[2] <> RESULT_U8BIT) then
  373. failed := true;
  374. if failed then
  375. fail
  376. else
  377. WriteLn('Passed!');
  378. write('var parameter test (src : LOC_REFERENCE (setdef)))...');
  379. clear_globals;
  380. clear_values;
  381. failed := false;
  382. proc_var_smallset(value_smallset);
  383. if (not (A_A in value_smallset)) or (not (A_D in value_smallset)) then
  384. failed := true;
  385. clear_globals;
  386. clear_values;
  387. proc_var_largeset(value_largeset);
  388. if not ('I' in value_largeset) then
  389. failed := true;
  390. if failed then
  391. fail
  392. else
  393. WriteLn('Passed!');
  394. write('var parameter test (src : LOC_REFERENCE (stringdef)))...');
  395. clear_globals;
  396. clear_values;
  397. failed := false;
  398. proc_var_smallstring(value_smallstring);
  399. if value_smallstring <> RESULT_SMALLSTRING then
  400. failed := true;
  401. clear_globals;
  402. clear_values;
  403. proc_var_bigstring(value_bigstring);
  404. if value_bigstring <> RESULT_BIGSTRING then
  405. failed := true;
  406. clear_globals;
  407. clear_values;
  408. proc_var_openstring(value_smallstring);
  409. if (value_smallstring <> RESULT_SMALLSTRING) or
  410. { high is not passed to cdecl'ared functions thus
  411. value_smallstring should be 255 on retyurn PM }
  412. (global_u8bit <> {high(value_smallstring)}255) then
  413. failed := true;
  414. if failed then
  415. fail
  416. else
  417. WriteLn('Passed!');
  418. write('Var parameter test (src : LOC_REFERENCE (formaldef)))...');
  419. clear_globals;
  420. clear_values;
  421. failed:=false;
  422. proc_var_formaldef_array(value_smallarray);
  423. if (value_smallarray[SMALL_INDEX] <> RESULT_U8BIT) or (value_smallarray[1] <> RESULT_U8BIT) then
  424. failed := true;
  425. if failed then
  426. fail
  427. else
  428. WriteLn('Passed!');
  429. write('Var parameter test (src : LOC_REFERENCE (arraydef)))...');
  430. clear_globals;
  431. clear_values;
  432. failed:=false;
  433. value_smallarray[SMALL_INDEX] := RESULT_U8BIT;
  434. proc_var_smallarray(value_smallarray);
  435. if (value_smallarray[SMALL_INDEX] <> RESULT_U8BIT) or (value_smallarray[1] <> RESULT_U8BIT) then
  436. failed := true;
  437. if failed then
  438. fail
  439. else
  440. WriteLn('Passed!');
  441. {***************************** MIXED TESTS *******************************}
  442. clear_globals;
  443. clear_values;
  444. failed:=false;
  445. write('Var parameter test (src : LOC_REFERENCE (orddef)))...');
  446. proc_var_s32bit_mixed(RESULT_U8BIT, global_s32bit, RESULT_U8BIT);
  447. if global_s32bit <> RESULT_S32BIT then
  448. failed:=true;
  449. if value_u8bit <> RESULT_U8BIT then
  450. failed := true;
  451. clear_globals;
  452. clear_values;
  453. proc_var_s64bit_mixed(RESULT_U8BIT, global_s64bit, RESULT_U8BIT);
  454. if global_s64bit <> RESULT_S64BIT then
  455. failed:=true;
  456. if value_u8bit <> RESULT_U8BIT then
  457. failed := true;
  458. clear_globals;
  459. clear_values;
  460. proc_var_u8bit_mixed(RESULT_U8BIT, global_u8bit, RESULT_U8BIT);
  461. if global_u8bit <> RESULT_U8BIT then
  462. failed:=true;
  463. if value_u8bit <> RESULT_U8BIT then
  464. failed := true;
  465. if failed then
  466. fail
  467. else
  468. WriteLn('Passed!');
  469. write('Var parameter test (src : LOC_REFERENCE (recorddef)))...');
  470. clear_globals;
  471. clear_values;
  472. failed := false;
  473. proc_var_smallrecord_mixed(RESULT_U8BIT,value_smallrec, RESULT_U8BIT);
  474. if (value_smallrec.b <> RESULT_U8BIT) or (value_smallrec.w <> RESULT_U16BIT) then
  475. failed := true;
  476. if value_u8bit <> RESULT_U8BIT then
  477. failed := true;
  478. clear_globals;
  479. clear_values;
  480. proc_var_largerecord_mixed(RESULT_U8BIT, value_largerec, RESULT_U8BIT);
  481. if (value_largerec.b[1] <> RESULT_U8BIT) or (value_largerec.b[2] <> RESULT_U8BIT) then
  482. failed := true;
  483. if value_u8bit <> RESULT_U8BIT then
  484. failed := true;
  485. if failed then
  486. fail
  487. else
  488. WriteLn('Passed!');
  489. write('var parameter test (src : LOC_REFERENCE (setdef)))...');
  490. clear_globals;
  491. clear_values;
  492. failed := false;
  493. proc_var_smallset_mixed(RESULT_U8BIT, value_smallset, RESULT_U8BIT);
  494. if (not (A_A in value_smallset)) or (not (A_D in value_smallset)) then
  495. failed := true;
  496. if value_u8bit <> RESULT_U8BIT then
  497. failed := true;
  498. clear_globals;
  499. clear_values;
  500. proc_var_largeset_mixed(RESULT_U8BIT, value_largeset, RESULT_U8BIT);
  501. if not ('I' in value_largeset) then
  502. failed := true;
  503. if value_u8bit <> RESULT_U8BIT then
  504. failed := true;
  505. if failed then
  506. fail
  507. else
  508. WriteLn('Passed!');
  509. write('var parameter test (src : LOC_REFERENCE (stringdef)))...');
  510. clear_globals;
  511. clear_values;
  512. failed := false;
  513. proc_var_smallstring_mixed(RESULT_U8BIT, value_smallstring, RESULT_U8BIT);
  514. if value_smallstring <> RESULT_SMALLSTRING then
  515. failed := true;
  516. if value_u8bit <> RESULT_U8BIT then
  517. failed := true;
  518. clear_globals;
  519. clear_values;
  520. proc_var_bigstring_mixed(RESULT_U8BIT, value_bigstring,RESULT_U8BIT);
  521. if value_bigstring <> RESULT_BIGSTRING then
  522. failed := true;
  523. if value_u8bit <> RESULT_U8BIT then
  524. failed := true;
  525. clear_globals;
  526. clear_values;
  527. proc_var_openstring_mixed(RESULT_U8BIT, value_smallstring, RESULT_U8BIT);
  528. if (value_smallstring <> RESULT_SMALLSTRING) or
  529. { high is not passed to cdecl'ared functions thus
  530. value_smallstring should be 255 on retyurn PM }
  531. (global_u8bit <> {high(value_smallstring)}255) then
  532. failed := true;
  533. if value_u8bit <> RESULT_U8BIT then
  534. failed := true;
  535. if failed then
  536. fail
  537. else
  538. WriteLn('Passed!');
  539. write('Var parameter test (src : LOC_REFERENCE (formaldef)))...');
  540. clear_globals;
  541. clear_values;
  542. failed:=false;
  543. proc_var_formaldef_array_mixed(RESULT_U8BIT, value_smallarray, RESULT_U8BIT);
  544. if (value_smallarray[SMALL_INDEX] <> RESULT_U8BIT) or (value_smallarray[1] <> RESULT_U8BIT) then
  545. failed := true;
  546. if value_u8bit <> RESULT_U8BIT then
  547. failed := true;
  548. if failed then
  549. fail
  550. else
  551. WriteLn('Passed!');
  552. write('Var parameter test (src : LOC_REFERENCE (arraydef)))...');
  553. clear_globals;
  554. clear_values;
  555. failed:=false;
  556. value_smallarray[SMALL_INDEX] := RESULT_U8BIT;
  557. proc_var_smallarray_mixed(RESULT_U8BIT, value_smallarray, RESULT_U8BIT);
  558. if (value_smallarray[SMALL_INDEX] <> RESULT_U8BIT) or (value_smallarray[1] <> RESULT_U8BIT) then
  559. failed := true;
  560. if value_u8bit <> RESULT_U8BIT then
  561. failed := true;
  562. if failed then
  563. fail
  564. else
  565. WriteLn('Passed!');
  566. end.
  567. {
  568. $Log$
  569. Revision 1.9 2003-04-22 10:24:29 florian
  570. * fixed defines for powerpc
  571. Revision 1.8 2002/12/29 15:30:55 peter
  572. * updated for 1.1 compiler that does not allow calling conventions
  573. for constructor/destructor
  574. Revision 1.7 2002/12/05 15:54:20 pierre
  575. * update as openstrings are transformed into normal string in cdecl'ared functions
  576. Revision 1.6 2002/11/20 19:39:21 carl
  577. - high() cannot be used in cdecle'd routines
  578. Revision 1.5 2002/11/09 21:47:37 carl
  579. + updated tests for correct parsing (array of const now allowed with high!)
  580. Revision 1.4 2002/09/22 09:08:41 carl
  581. * gets64bit was not returning an int64!
  582. Revision 1.3 2002/09/07 15:40:55 peter
  583. * old logs removed and tabs fixed
  584. Revision 1.2 2002/05/13 13:45:38 peter
  585. * updated to compile tests with kylix
  586. Revision 1.1 2002/04/13 17:51:00 carl
  587. + var parameter passing for different calling conventions
  588. }