verbose.pas 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Peter Vreman
  4. This unit handles the verbose management
  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. unit verbose;
  19. {$i fpcdefs.inc}
  20. { Don't include messages in the executable }
  21. {$ifdef Delphi}
  22. {$define EXTERN_MSG}
  23. {$endif}
  24. interface
  25. uses
  26. cutils,
  27. globals,finput,
  28. cmsgs;
  29. {$ifndef EXTERN_MSG}
  30. {$i msgtxt.inc}
  31. {$endif}
  32. {$i msgidx.inc}
  33. Const
  34. { Levels }
  35. V_None = $0;
  36. V_Fatal = $1;
  37. V_Error = $2;
  38. V_Normal = $4; { doesn't show a text like Error: }
  39. V_Warning = $8;
  40. V_Note = $10;
  41. V_Hint = $20;
  42. V_LineInfoMask = $fff;
  43. { From here by default no line info }
  44. V_Info = $1000;
  45. V_Status = $2000;
  46. V_Used = $4000;
  47. V_Tried = $8000;
  48. V_Conditional = $10000;
  49. V_Debug = $20000;
  50. V_Executable = $40000;
  51. V_LevelMask = $fffffff;
  52. V_All = V_LevelMask;
  53. V_Default = V_Fatal + V_Error + V_Normal;
  54. { Flags }
  55. V_LineInfo = $10000000;
  56. var
  57. msg : pmessage;
  58. const
  59. msgfilename : string = '';
  60. procedure SetRedirectFile(const fn:string);
  61. function SetVerbosity(const s:string):boolean;
  62. procedure PrepareReport;
  63. function CheckVerbosity(v:longint):boolean;
  64. procedure SetCompileModule(p:tmodulebase);
  65. procedure Stop;
  66. procedure ShowStatus;
  67. function ErrorCount:longint;
  68. procedure SetErrorFlags(const s:string);
  69. procedure GenerateError;
  70. procedure Internalerror(i:longint);
  71. procedure Comment(l:longint;s:string);
  72. function MessagePchar(w:longint):pchar;
  73. procedure Message(w:longint);
  74. procedure Message1(w:longint;const s1:string);
  75. procedure Message2(w:longint;const s1,s2:string);
  76. procedure Message3(w:longint;const s1,s2,s3:string);
  77. procedure Message4(w:longint;const s1,s2,s3,s4:string);
  78. procedure MessagePos(const pos:tfileposinfo;w:longint);
  79. procedure MessagePos1(const pos:tfileposinfo;w:longint;const s1:string);
  80. procedure MessagePos2(const pos:tfileposinfo;w:longint;const s1,s2:string);
  81. procedure MessagePos3(const pos:tfileposinfo;w:longint;const s1,s2,s3:string);
  82. procedure MessagePos4(const pos:tfileposinfo;w:longint;const s1,s2,s3,s4:string);
  83. procedure InitVerbose;
  84. procedure DoneVerbose;
  85. implementation
  86. uses
  87. comphook;
  88. var
  89. compiling_module : tmodulebase;
  90. {****************************************************************************
  91. Extra Handlers for default compiler
  92. ****************************************************************************}
  93. procedure DoneRedirectFile;
  94. begin
  95. if status.use_redir then
  96. begin
  97. close(status.redirfile);
  98. status.use_redir:=false;
  99. end;
  100. if status.use_bugreport then
  101. begin
  102. close(status.reportbugfile);
  103. status.use_bugreport:=false;
  104. end;
  105. end;
  106. procedure SetRedirectFile(const fn:string);
  107. begin
  108. assign(status.redirfile,fn);
  109. {$I-}
  110. append(status.redirfile);
  111. if ioresult <> 0 then
  112. rewrite(status.redirfile);
  113. {$I+}
  114. status.use_redir:=(ioresult=0);
  115. end;
  116. procedure PrepareReport;
  117. var
  118. fn : string;
  119. begin
  120. if status.use_bugreport then
  121. exit;
  122. fn:='fpcdebug.txt';
  123. assign(status.reportbugfile,fn);
  124. {$I-}
  125. append(status.reportbugfile);
  126. if ioresult <> 0 then
  127. rewrite(status.reportbugfile);
  128. {$I+}
  129. status.use_bugreport:=(ioresult=0);
  130. if status.use_bugreport then
  131. writeln(status.reportbugfile,'FPC bug report file');
  132. end;
  133. function CheckVerbosity(v:longint):boolean;
  134. begin
  135. CheckVerbosity:=status.use_bugreport or
  136. ((status.verbosity and (v and V_LevelMask))=(v and V_LevelMask));
  137. end;
  138. function SetVerbosity(const s:string):boolean;
  139. var
  140. m : Longint;
  141. i : Integer;
  142. inverse : boolean;
  143. c : char;
  144. begin
  145. Setverbosity:=false;
  146. val(s,m,i);
  147. if (i=0) and (s<>'') then
  148. status.verbosity:=m
  149. else
  150. begin
  151. i:=1;
  152. while i<=length(s) do
  153. begin
  154. c:=upcase(s[i]);
  155. inverse:=false;
  156. { on/off ? }
  157. if (i<length(s)) then
  158. case s[i+1] of
  159. '-' : begin
  160. inc(i);
  161. inverse:=true;
  162. end;
  163. '+' : inc(i);
  164. end;
  165. { handle switch }
  166. case c of
  167. { Special cases }
  168. 'A' : status.verbosity:=V_All;
  169. '0' : status.verbosity:=V_Default;
  170. 'P' : begin
  171. if inverse then
  172. paraprintnodetree:=0
  173. else
  174. paraprintnodetree:=1;
  175. end;
  176. 'R' : begin
  177. if inverse then
  178. begin
  179. status.use_gccoutput:=false;
  180. status.use_stderr:=false;
  181. end
  182. else
  183. begin
  184. status.use_gccoutput:=true;
  185. status.use_stderr:=true;
  186. end;
  187. end;
  188. { Normal cases - do an or }
  189. 'E' : if inverse then
  190. status.verbosity:=status.verbosity and (not V_Error)
  191. else
  192. status.verbosity:=status.verbosity or V_Error;
  193. 'I' : if inverse then
  194. status.verbosity:=status.verbosity and (not V_Info)
  195. else
  196. status.verbosity:=status.verbosity or V_Info;
  197. 'W' : if inverse then
  198. status.verbosity:=status.verbosity and (not V_Warning)
  199. else
  200. status.verbosity:=status.verbosity or V_Warning;
  201. 'N' : if inverse then
  202. status.verbosity:=status.verbosity and (not V_Note)
  203. else
  204. status.verbosity:=status.verbosity or V_Note;
  205. 'H' : if inverse then
  206. status.verbosity:=status.verbosity and (not V_Hint)
  207. else
  208. status.verbosity:=status.verbosity or V_Hint;
  209. 'L' : if inverse then
  210. status.verbosity:=status.verbosity and (not V_Status)
  211. else
  212. status.verbosity:=status.verbosity or V_Status;
  213. 'U' : if inverse then
  214. status.verbosity:=status.verbosity and (not V_Used)
  215. else
  216. status.verbosity:=status.verbosity or V_Used;
  217. 'T' : if inverse then
  218. status.verbosity:=status.verbosity and (not V_Tried)
  219. else
  220. status.verbosity:=status.verbosity or V_Tried;
  221. 'C' : if inverse then
  222. status.verbosity:=status.verbosity and (not V_Conditional)
  223. else
  224. status.verbosity:=status.verbosity or V_Conditional;
  225. 'D' : if inverse then
  226. status.verbosity:=status.verbosity and (not V_Debug)
  227. else
  228. status.verbosity:=status.verbosity or V_Debug;
  229. 'X' : if inverse then
  230. status.verbosity:=status.verbosity and (not V_Executable)
  231. else
  232. status.verbosity:=status.verbosity or V_Executable;
  233. end;
  234. inc(i);
  235. end;
  236. end;
  237. if status.verbosity=0 then
  238. status.verbosity:=V_Default;
  239. setverbosity:=true;
  240. end;
  241. procedure Loadprefixes;
  242. function loadprefix(w:longint):string;
  243. var
  244. s : string;
  245. idx : longint;
  246. begin
  247. s:=msg^.get(w);
  248. idx:=pos('_',s);
  249. if idx>0 then
  250. Loadprefix:=Copy(s,idx+1,255)
  251. else
  252. Loadprefix:=s;
  253. end;
  254. begin
  255. { Load the prefixes }
  256. fatalstr:=Loadprefix(general_i_fatal);
  257. errorstr:=Loadprefix(general_i_error);
  258. warningstr:=Loadprefix(general_i_warning);
  259. notestr:=Loadprefix(general_i_note);
  260. hintstr:=Loadprefix(general_i_hint);
  261. end;
  262. procedure LoadMsgFile(const fn:string);
  263. begin
  264. { reload the internal messages if not already loaded }
  265. {$ifndef EXTERN_MSG}
  266. if not msg^.msgintern then
  267. msg^.LoadIntern(@msgtxt,msgtxtsize);
  268. {$endif}
  269. if not msg^.LoadExtern(fn) then
  270. begin
  271. {$ifdef EXTERN_MSG}
  272. writeln('Fatal: Cannot find error message file.');
  273. halt(3);
  274. {$else}
  275. msg^.LoadIntern(@msgtxt,msgtxtsize);
  276. {$endif}
  277. end;
  278. { reload the prefixes using the new messages }
  279. Loadprefixes;
  280. end;
  281. procedure MaybeLoadMessageFile;
  282. begin
  283. { Load new message file }
  284. if (msgfilename<>'') then
  285. begin
  286. LoadMsgFile(msgfilename);
  287. msgfilename:='';
  288. end;
  289. end;
  290. procedure SetCompileModule(p:tmodulebase);
  291. begin
  292. compiling_module:=p;
  293. end;
  294. var
  295. lastfileidx,
  296. lastmoduleidx : longint;
  297. Procedure UpdateStatus;
  298. begin
  299. { fix status }
  300. status.currentline:=aktfilepos.line;
  301. status.currentcolumn:=aktfilepos.column;
  302. if assigned(compiling_module) and
  303. assigned(compiling_module.sourcefiles) and
  304. ((compiling_module.unit_index<>lastmoduleidx) or
  305. (aktfilepos.fileindex<>lastfileidx)) then
  306. begin
  307. { update status record }
  308. status.currentmodule:=compiling_module.modulename^;
  309. status.currentsource:=compiling_module.sourcefiles.get_file_name(aktfilepos.fileindex);
  310. status.currentsourcepath:=compiling_module.sourcefiles.get_file_path(aktfilepos.fileindex);
  311. { update lastfileidx only if name known PM }
  312. if status.currentsource<>'' then
  313. lastfileidx:=aktfilepos.fileindex
  314. else
  315. lastfileidx:=0;
  316. lastmoduleidx:=compiling_module.unit_index;
  317. end;
  318. if assigned(compiling_module) then
  319. status.compiling_current:=(compiling_module.state in [ms_compile,ms_second_compile]);
  320. end;
  321. procedure stop;
  322. begin
  323. do_stop{$ifdef FPCPROCVAR}(){$endif};
  324. end;
  325. procedure ShowStatus;
  326. begin
  327. UpdateStatus;
  328. if do_status{$ifdef FPCPROCVAR}(){$endif} then
  329. stop;
  330. end;
  331. function ErrorCount:longint;
  332. begin
  333. ErrorCount:=status.errorcount;
  334. end;
  335. procedure SetErrorFlags(const s:string);
  336. var
  337. code : integer;
  338. i,j,l : longint;
  339. begin
  340. { empty string means error count = 1 for backward compatibility (PFV) }
  341. if s='' then
  342. begin
  343. status.maxerrorcount:=1;
  344. exit;
  345. end;
  346. i:=0;
  347. while (i<length(s)) do
  348. begin
  349. inc(i);
  350. case s[i] of
  351. '0'..'9' :
  352. begin
  353. j:=i;
  354. while (j<=length(s)) and (s[j] in ['0'..'9']) do
  355. inc(j);
  356. val(copy(s,i,j-i),l,code);
  357. if code<>0 then
  358. l:=1;
  359. status.maxerrorcount:=l;
  360. i:=j;
  361. end;
  362. 'w','W' :
  363. status.errorwarning:=true;
  364. 'n','N' :
  365. status.errornote:=true;
  366. 'h','H' :
  367. status.errorhint:=true;
  368. end;
  369. end;
  370. end;
  371. procedure GenerateError;
  372. begin
  373. inc(status.errorcount);
  374. end;
  375. procedure internalerror(i : longint);
  376. begin
  377. UpdateStatus;
  378. do_internalerror(i);
  379. inc(status.errorcount);
  380. stop;
  381. end;
  382. procedure Comment(l:longint;s:string);
  383. var
  384. dostop : boolean;
  385. begin
  386. dostop:=((l and V_Fatal)<>0);
  387. if ((l and V_Error)<>0) or
  388. (status.errorwarning and ((l and V_Warning)<>0)) or
  389. (status.errornote and ((l and V_Note)<>0)) or
  390. (status.errorhint and ((l and V_Hint)<>0)) then
  391. inc(status.errorcount);
  392. { check verbosity level }
  393. if not CheckVerbosity(l) then
  394. exit;
  395. if (l and V_LineInfoMask)<>0 then
  396. l:=l or V_LineInfo;
  397. { Create status info }
  398. UpdateStatus;
  399. { Fix replacements }
  400. DefaultReplacements(s);
  401. { show comment }
  402. if do_comment(l,s) or dostop then
  403. stop;
  404. if (status.errorcount>=status.maxerrorcount) and not status.skip_error then
  405. begin
  406. Message1(unit_f_errors_in_unit,tostr(status.errorcount));
  407. status.skip_error:=true;
  408. stop;
  409. end;
  410. end;
  411. Procedure Msg2Comment(s:string);
  412. var
  413. idx,i,v : longint;
  414. dostop : boolean;
  415. begin
  416. {Reset}
  417. dostop:=false;
  418. v:=0;
  419. {Parse options}
  420. idx:=pos('_',s);
  421. if idx=0 then
  422. v:=V_Normal
  423. else
  424. if (idx >= 1) And (idx <= 5) then
  425. begin
  426. for i:=1 to idx do
  427. begin
  428. case upcase(s[i]) of
  429. 'F' :
  430. begin
  431. v:=v or V_Fatal;
  432. inc(status.errorcount);
  433. dostop:=true;
  434. end;
  435. 'E' :
  436. begin
  437. v:=v or V_Error;
  438. inc(status.errorcount);
  439. end;
  440. 'O' :
  441. v:=v or V_Normal;
  442. 'W':
  443. begin
  444. v:=v or V_Warning;
  445. if status.errorwarning then
  446. inc(status.errorcount);
  447. end;
  448. 'N' :
  449. begin
  450. v:=v or V_Note;
  451. if status.errornote then
  452. inc(status.errorcount);
  453. end;
  454. 'H' :
  455. begin
  456. v:=v or V_Hint;
  457. if status.errorhint then
  458. inc(status.errorcount);
  459. end;
  460. 'I' :
  461. v:=v or V_Info;
  462. 'L' :
  463. v:=v or V_LineInfo;
  464. 'U' :
  465. v:=v or V_Used;
  466. 'T' :
  467. v:=v or V_Tried;
  468. 'C' :
  469. v:=v or V_Conditional;
  470. 'D' :
  471. v:=v or V_Debug;
  472. 'X' :
  473. v:=v or V_Executable;
  474. 'S' :
  475. dostop:=true;
  476. '_' : ;
  477. end;
  478. end;
  479. end;
  480. Delete(s,1,idx);
  481. { check verbosity level }
  482. if not CheckVerbosity(v) then
  483. exit;
  484. if (v and V_LineInfoMask)<>0 then
  485. v:=v or V_LineInfo;
  486. { fix status }
  487. UpdateStatus;
  488. { Fix replacements }
  489. DefaultReplacements(s);
  490. { show comment }
  491. if do_comment(v,s) or dostop then
  492. stop;
  493. if (status.errorcount>=status.maxerrorcount) and not status.skip_error then
  494. begin
  495. Message1(unit_f_errors_in_unit,tostr(status.errorcount));
  496. status.skip_error:=true;
  497. stop;
  498. end;
  499. end;
  500. function MessagePchar(w:longint):pchar;
  501. begin
  502. MaybeLoadMessageFile;
  503. MessagePchar:=msg^.GetPchar(w)
  504. end;
  505. procedure Message(w:longint);
  506. begin
  507. MaybeLoadMessageFile;
  508. Msg2Comment(msg^.Get(w));
  509. end;
  510. procedure Message1(w:longint;const s1:string);
  511. begin
  512. MaybeLoadMessageFile;
  513. Msg2Comment(msg^.Get1(w,s1));
  514. end;
  515. procedure Message2(w:longint;const s1,s2:string);
  516. begin
  517. MaybeLoadMessageFile;
  518. Msg2Comment(msg^.Get2(w,s1,s2));
  519. end;
  520. procedure Message3(w:longint;const s1,s2,s3:string);
  521. begin
  522. MaybeLoadMessageFile;
  523. Msg2Comment(msg^.Get3(w,s1,s2,s3));
  524. end;
  525. procedure Message4(w:longint;const s1,s2,s3,s4:string);
  526. begin
  527. MaybeLoadMessageFile;
  528. Msg2Comment(msg^.Get4(w,s1,s2,s3,s4));
  529. end;
  530. procedure MessagePos(const pos:tfileposinfo;w:longint);
  531. var
  532. oldpos : tfileposinfo;
  533. begin
  534. oldpos:=aktfilepos;
  535. aktfilepos:=pos;
  536. MaybeLoadMessageFile;
  537. Msg2Comment(msg^.Get(w));
  538. aktfilepos:=oldpos;
  539. end;
  540. procedure MessagePos1(const pos:tfileposinfo;w:longint;const s1:string);
  541. var
  542. oldpos : tfileposinfo;
  543. begin
  544. oldpos:=aktfilepos;
  545. aktfilepos:=pos;
  546. MaybeLoadMessageFile;
  547. Msg2Comment(msg^.Get1(w,s1));
  548. aktfilepos:=oldpos;
  549. end;
  550. procedure MessagePos2(const pos:tfileposinfo;w:longint;const s1,s2:string);
  551. var
  552. oldpos : tfileposinfo;
  553. begin
  554. oldpos:=aktfilepos;
  555. aktfilepos:=pos;
  556. MaybeLoadMessageFile;
  557. Msg2Comment(msg^.Get2(w,s1,s2));
  558. aktfilepos:=oldpos;
  559. end;
  560. procedure MessagePos3(const pos:tfileposinfo;w:longint;const s1,s2,s3:string);
  561. var
  562. oldpos : tfileposinfo;
  563. begin
  564. oldpos:=aktfilepos;
  565. aktfilepos:=pos;
  566. MaybeLoadMessageFile;
  567. Msg2Comment(msg^.Get3(w,s1,s2,s3));
  568. aktfilepos:=oldpos;
  569. end;
  570. procedure MessagePos4(const pos:tfileposinfo;w:longint;const s1,s2,s3,s4:string);
  571. var
  572. oldpos : tfileposinfo;
  573. begin
  574. oldpos:=aktfilepos;
  575. aktfilepos:=pos;
  576. MaybeLoadMessageFile;
  577. Msg2Comment(msg^.Get4(w,s1,s2,s3,s4));
  578. aktfilepos:=oldpos;
  579. end;
  580. procedure InitVerbose;
  581. begin
  582. { Init }
  583. msg:=new(pmessage,Init(20,msgidxmax));
  584. if msg=nil then
  585. begin
  586. writeln('Fatal: MsgIdx Wrong');
  587. halt(3);
  588. end;
  589. {$ifndef EXTERN_MSG}
  590. msg^.LoadIntern(@msgtxt,msgtxtsize);
  591. {$else EXTERN_MSG}
  592. LoadMsgFile(exepath+'errore.msg');
  593. {$endif EXTERN_MSG}
  594. FillChar(Status,sizeof(TCompilerStatus),0);
  595. status.verbosity:=V_Default;
  596. Status.MaxErrorCount:=50;
  597. Loadprefixes;
  598. lastfileidx:=-1;
  599. lastmoduleidx:=-1;
  600. status.currentmodule:='';
  601. status.currentsource:='';
  602. status.currentsourcepath:='';
  603. status.compiling_current:=false;
  604. end;
  605. procedure DoneVerbose;
  606. begin
  607. if assigned(msg) then
  608. begin
  609. dispose(msg,Done);
  610. msg:=nil;
  611. end;
  612. DoneRedirectFile;
  613. end;
  614. initialization
  615. finalization
  616. { Be sure to close the redirect files to flush all data }
  617. DoneRedirectFile;
  618. end.
  619. {
  620. $Log$
  621. Revision 1.26 2003-04-25 20:59:35 peter
  622. * removed funcretn,funcretsym, function result is now in varsym
  623. and aliases for result and function name are added using absolutesym
  624. * vs_hidden parameter for funcret passed in parameter
  625. * vs_hidden fixes
  626. * writenode changed to printnode and released from extdebug
  627. * -vp option added to generate a tree.log with the nodetree
  628. * nicer printnode for statements, callnode
  629. Revision 1.25 2003/04/22 14:33:38 peter
  630. * removed some notes/hints
  631. Revision 1.24 2003/01/09 21:52:38 peter
  632. * merged some verbosity options.
  633. * V_LineInfo is a verbosity flag to include line info
  634. Revision 1.23 2002/12/29 14:57:50 peter
  635. * unit loading changed to first register units and load them
  636. afterwards. This is needed to support uses xxx in yyy correctly
  637. * unit dependency check fixed
  638. Revision 1.22 2002/11/15 01:58:54 peter
  639. * merged changes from 1.0.7 up to 04-11
  640. - -V option for generating bug report tracing
  641. - more tracing for option parsing
  642. - errors for cdecl and high()
  643. - win32 import stabs
  644. - win32 records<=8 are returned in eax:edx (turned off by default)
  645. - heaptrc update
  646. - more info for temp management in .s file with EXTDEBUG
  647. Revision 1.21 2002/10/05 12:43:29 carl
  648. * fixes for Delphi 6 compilation
  649. (warning : Some features do not work under Delphi)
  650. Revision 1.20 2002/08/18 19:59:03 peter
  651. * renamed local current_module to compiling_module because it
  652. confused a lot in gdb
  653. Revision 1.19 2002/05/18 13:34:21 peter
  654. * readded missing revisions
  655. Revision 1.18 2002/05/16 19:46:47 carl
  656. + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
  657. + try to fix temp allocation (still in ifdef)
  658. + generic constructor calls
  659. + start of tassembler / tmodulebase class cleanup
  660. }