parser.pas 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. {
  2. $Id$
  3. Copyright (c) 1993-98 by Florian Klaempfl
  4. This unit does the parsing process
  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. {$ifdef tp}
  19. {$E+,N+,D+,F+}
  20. {$endif}
  21. unit parser;
  22. interface
  23. procedure compile(const filename:string;compile_system:boolean);
  24. procedure initparser;
  25. procedure doneparser;
  26. implementation
  27. uses
  28. cobjects,comphook,systems,globals,
  29. hcodegen,verbose, { leave this order, else hcodegen.message will be used !! }
  30. symtable,files,aasm,
  31. assemble,link,script,gendef,
  32. {$ifdef UseBrowser}
  33. browser,
  34. {$endif UseBrowser}
  35. tree,scanner,pbase,pdecl,psystem,pmodules;
  36. procedure initparser;
  37. begin
  38. forwardsallowed:=false;
  39. { ^M means a string or a char, because we don't parse a }
  40. { type declaration }
  41. ignore_equal:=false;
  42. { we didn't parse a object or class declaration }
  43. { and no function header }
  44. testcurobject:=0;
  45. { a long time, this was forgotten }
  46. aktprocsym:=nil;
  47. current_module:=nil;
  48. loaded_units.init;
  49. usedunits.init;
  50. { global switches }
  51. aktglobalswitches:=initglobalswitches;
  52. { memory sizes }
  53. if heapsize=0 then
  54. heapsize:=target_info.heapsize;
  55. if maxheapsize=0 then
  56. maxheapsize:=target_info.maxheapsize;
  57. if stacksize=0 then
  58. stacksize:=target_info.stacksize;
  59. end;
  60. procedure doneparser;
  61. begin
  62. loaded_units.done;
  63. usedunits.done;
  64. end;
  65. procedure default_macros;
  66. var
  67. hp : pstring_item;
  68. begin
  69. { commandline }
  70. hp:=pstring_item(initdefines.first);
  71. while assigned(hp) do
  72. begin
  73. def_macro(hp^.str^);
  74. hp:=pstring_item(hp^.next);
  75. end;
  76. { set macros for version checking }
  77. set_macro('FPC_VERSION',version_nr);
  78. set_macro('FPC_RELEASE',release_nr);
  79. set_macro('FPC_PATCH',patch_nr);
  80. end;
  81. procedure compile(const filename:string;compile_system:boolean);
  82. var
  83. { scanner }
  84. oldidtoken,
  85. oldtoken : ttoken;
  86. oldtokenpos : tfileposinfo;
  87. oldc : char;
  88. oldpattern,
  89. oldorgpattern : string;
  90. old_block_type : tblock_type;
  91. oldcurrent_scanner,prev_scanner,
  92. scanner : pscannerfile;
  93. { symtable }
  94. oldmacros,
  95. oldrefsymtable,
  96. oldsymtablestack : psymtable;
  97. oldprocprefix : string;
  98. oldaktprocsym : pprocsym;
  99. { cg }
  100. oldnextlabelnr : longint;
  101. oldparse_only : boolean;
  102. { asmlists }
  103. oldimports,
  104. oldexports,
  105. oldresource,
  106. oldrttilist,
  107. oldbsssegment,
  108. olddatasegment,
  109. oldcodesegment,
  110. oldexprasmlist,
  111. olddebuglist,
  112. oldinternals,
  113. oldexternals,
  114. oldconsts : paasmoutput;
  115. { akt.. things }
  116. oldaktlocalswitches : tlocalswitches;
  117. oldaktmoduleswitches : tmoduleswitches;
  118. oldaktfilepos : tfileposinfo;
  119. oldaktpackrecords : word;
  120. oldaktoutputformat : tasm;
  121. oldaktoptprocessor : tprocessors;
  122. oldaktasmmode : tasmmode;
  123. {$ifdef usebrowser}
  124. {$ifdef dummydebug}
  125. hp : pmodule;
  126. {$endif debug}
  127. {$endif usebrowser}
  128. begin
  129. inc(compile_level);
  130. { save symtable state }
  131. oldsymtablestack:=symtablestack;
  132. oldrefsymtable:=refsymtable;
  133. oldmacros:=macros;
  134. oldprocprefix:=procprefix;
  135. oldaktprocsym:=aktprocsym;
  136. { save scanner state }
  137. oldc:=c;
  138. oldpattern:=pattern;
  139. oldorgpattern:=orgpattern;
  140. oldtoken:=token;
  141. oldidtoken:=idtoken;
  142. old_block_type:=block_type;
  143. oldtokenpos:=tokenpos;
  144. oldcurrent_scanner:=current_scanner;
  145. { save cg }
  146. oldnextlabelnr:=nextlabelnr;
  147. oldparse_only:=parse_only;
  148. { save assembler lists }
  149. olddatasegment:=datasegment;
  150. oldbsssegment:=bsssegment;
  151. oldcodesegment:=codesegment;
  152. olddebuglist:=debuglist;
  153. oldexternals:=externals;
  154. oldinternals:=internals;
  155. oldconsts:=consts;
  156. oldrttilist:=rttilist;
  157. oldexprasmlist:=exprasmlist;
  158. oldimports:=importssection;
  159. oldexports:=exportssection;
  160. oldresource:=resourcesection;
  161. { save akt... state }
  162. oldaktlocalswitches:=aktlocalswitches;
  163. oldaktmoduleswitches:=aktmoduleswitches;
  164. oldaktpackrecords:=aktpackrecords;
  165. oldaktoutputformat:=aktoutputformat;
  166. oldaktoptprocessor:=aktoptprocessor;
  167. oldaktasmmode:=aktasmmode;
  168. oldaktfilepos:=aktfilepos;
  169. { show info }
  170. Message1(parser_i_compiling,filename);
  171. { reset symtable }
  172. symtablestack:=nil;
  173. defaultsymtablestack:=nil;
  174. systemunit:=nil;
  175. objpasunit:=nil;
  176. refsymtable:=nil;
  177. aktprocsym:=nil;
  178. procprefix:='';
  179. registerdef:=true;
  180. { macros }
  181. macros:=new(psymtable,init(macrosymtable));
  182. macros^.name:=stringdup('Conditionals for '+filename);
  183. default_macros;
  184. { reset the unit or create a new program }
  185. if assigned(current_module) then
  186. begin
  187. {current_module^.reset this is wrong !! }
  188. scanner:=current_module^.scanner;
  189. current_module^.reset;
  190. current_module^.scanner:=scanner;
  191. end
  192. else
  193. begin
  194. current_module:=new(pmodule,init(filename,false));
  195. main_module:=current_module;
  196. end;
  197. { Load current state from the init values }
  198. aktlocalswitches:=initlocalswitches;
  199. aktmoduleswitches:=initmoduleswitches;
  200. aktmodeswitches:=initmodeswitches;
  201. aktpackrecords:=initpackrecords;
  202. aktpackenum:=initpackenum;
  203. aktoutputformat:=initoutputformat;
  204. aktoptprocessor:=initoptprocessor;
  205. aktasmmode:=initasmmode;
  206. { we need this to make the system unit }
  207. if compile_system then
  208. aktmoduleswitches:=aktmoduleswitches+[cs_compilesystem];
  209. { startup scanner, and save in current_module }
  210. current_scanner:=new(pscannerfile,Init(filename));
  211. current_scanner^.readtoken;
  212. prev_scanner:=current_module^.scanner;
  213. current_module^.scanner:=current_scanner;
  214. { init code generator for a new module }
  215. codegen_newmodule;
  216. {$ifdef GDB}
  217. if cs_debuginfo in aktmoduleswitches then
  218. reset_gdb_info;
  219. {$endif GDB}
  220. { Handle things which need to be once }
  221. if (compile_level=1) then
  222. begin
  223. { open assembler response }
  224. AsmRes.Init('ppas');
  225. end;
  226. { If the compile level > 1 we get a nice "unit expected" error
  227. message if we are trying to use a program as unit.}
  228. if (token=_UNIT) or (compile_level>1) then
  229. begin
  230. current_module^.is_unit:=true;
  231. proc_unit;
  232. end
  233. else
  234. proc_program(token=_LIBRARY);
  235. { clear memory }
  236. {$ifdef Splitheap}
  237. if testsplit then
  238. begin
  239. { temp heap should be empty after that !!!}
  240. codegen_donemodule;
  241. Releasetempheap;
  242. end;
  243. {$endif Splitheap}
  244. { restore old state, close trees, > 0.99.5 has heapblocks, so
  245. it's the default to release the trees }
  246. codegen_donemodule;
  247. {$ifdef GDB}
  248. if cs_debuginfo in aktmoduleswitches then
  249. reset_gdb_info;
  250. {$endif GDB}
  251. { free ppu }
  252. if assigned(current_module^.ppufile) then
  253. begin
  254. dispose(current_module^.ppufile,done);
  255. current_module^.ppufile:=nil;
  256. end;
  257. { free scanner }
  258. dispose(current_scanner,done);
  259. { restore previous scanner !! }
  260. current_module^.scanner:=prev_scanner;
  261. if assigned(prev_scanner) then
  262. prev_scanner^.invalid:=true;
  263. (* Peter I do not agree here because
  264. most time current_scanner is from another unit !! PM
  265. end;
  266. { free scanner, but it can already be freed due a 2nd compile }
  267. if assigned(current_scanner) then
  268. begin
  269. dispose(current_scanner,done);
  270. current_scanner:=nil;
  271. end;
  272. current_module^.scanner:=nil;
  273. *)
  274. { free macros }
  275. {!!! No check for unused macros yet !!! }
  276. dispose(macros,done);
  277. if (compile_level>1) then
  278. begin
  279. { restore scanner }
  280. c:=oldc;
  281. pattern:=oldpattern;
  282. orgpattern:=oldorgpattern;
  283. token:=oldtoken;
  284. idtoken:=oldidtoken;
  285. tokenpos:=oldtokenpos;
  286. block_type:=old_block_type;
  287. current_scanner:=oldcurrent_scanner;
  288. { restore cg }
  289. nextlabelnr:=oldnextlabelnr;
  290. parse_only:=oldparse_only;
  291. { restore asmlists }
  292. exprasmlist:=oldexprasmlist;
  293. datasegment:=olddatasegment;
  294. bsssegment:=oldbsssegment;
  295. codesegment:=oldcodesegment;
  296. consts:=oldconsts;
  297. debuglist:=olddebuglist;
  298. externals:=oldexternals;
  299. internals:=oldinternals;
  300. importssection:=oldimports;
  301. exportssection:=oldexports;
  302. resourcesection:=oldresource;
  303. rttilist:=oldrttilist;
  304. { restore symtable state }
  305. refsymtable:=oldrefsymtable;
  306. symtablestack:=oldsymtablestack;
  307. macros:=oldmacros;
  308. aktprocsym:=oldaktprocsym;
  309. procprefix:=oldprocprefix;
  310. aktlocalswitches:=oldaktlocalswitches;
  311. aktmoduleswitches:=oldaktmoduleswitches;
  312. aktpackrecords:=oldaktpackrecords;
  313. aktoutputformat:=oldaktoutputformat;
  314. aktoptprocessor:=oldaktoptprocessor;
  315. aktasmmode:=oldaktasmmode;
  316. aktfilepos:=oldaktfilepos;
  317. end;
  318. { Shut down things when the last file is compiled }
  319. if (compile_level=1) then
  320. begin
  321. { Close script }
  322. if (not AsmRes.Empty) then
  323. begin
  324. Message1(exec_i_closing_script,AsmRes.Fn);
  325. AsmRes.WriteToDisk;
  326. end;
  327. {$ifdef UseBrowser}
  328. { Write Browser }
  329. {$ifdef dummydebug}
  330. hp:=pmodule(loaded_units.first);
  331. while assigned(hp) do
  332. begin
  333. writeln('Unit ',hp^.modulename^,' has index ',hp^.unit_index);
  334. hp:=pmodule(hp^.next);
  335. end;
  336. {$endif dummydebug}
  337. if cs_browser in aktmoduleswitches then
  338. if Browse.elements_to_list^.empty then
  339. begin
  340. Message1(parser_i_writing_browser_log,Browse.Fname);
  341. write_browser_log;
  342. end
  343. else
  344. Browse.list_elements;
  345. {$endif UseBrowser}
  346. if assigned(aktprocsym) then
  347. begin
  348. if (aktprocsym^.owner=nil) then
  349. begin
  350. { init parts are not needed in units !! }
  351. if current_module^.is_unit then
  352. aktprocsym^.definition^.forwarddef:=false;
  353. dispose(aktprocsym,done);
  354. end;
  355. end;
  356. end;
  357. dec(compile_level);
  358. end;
  359. end.
  360. {
  361. $Log$
  362. Revision 1.57 1998-10-08 17:17:23 pierre
  363. * current_module old scanner tagged as invalid if unit is recompiled
  364. + added ppheap for better info on tracegetmem of heaptrc
  365. (adds line column and file index)
  366. * several memory leaks removed ith help of heaptrc !!
  367. Revision 1.56 1998/10/08 13:48:45 peter
  368. * fixed memory leaks for do nothing source
  369. * fixed unit interdependency
  370. Revision 1.55 1998/10/06 17:16:53 pierre
  371. * some memory leaks fixed (thanks to Peter for heaptrc !)
  372. Revision 1.54 1998/10/05 21:33:23 peter
  373. * fixed 161,165,166,167,168
  374. Revision 1.53 1998/09/30 16:43:36 peter
  375. * fixed unit interdependency with circular uses
  376. Revision 1.52 1998/09/28 16:57:22 pierre
  377. * changed all length(p^.value_str^) into str_length(p)
  378. to get it work with and without ansistrings
  379. * changed sourcefiles field of tmodule to a pointer
  380. Revision 1.51 1998/09/26 17:45:30 peter
  381. + idtoken and only one token table
  382. Revision 1.50 1998/09/24 23:49:08 peter
  383. + aktmodeswitches
  384. Revision 1.49 1998/09/23 15:39:07 pierre
  385. * browser bugfixes
  386. was adding a reference when looking for the symbol
  387. if -bSYM_NAME was used
  388. Revision 1.48 1998/09/22 17:13:48 pierre
  389. + browsing updated and developed
  390. records and objects fields are also stored
  391. Revision 1.47 1998/09/21 09:00:18 peter
  392. * reset_gdb_info only when debuginfo is set
  393. Revision 1.46 1998/09/21 08:45:12 pierre
  394. + added vmt_offset in tobjectdef.write for fututre use
  395. (first steps to have objects without vmt if no virtual !!)
  396. + added fpu_used field for tabstractprocdef :
  397. sets this level to 2 if the functions return with value in FPU
  398. (is then set to correct value at parsing of implementation)
  399. THIS MIGHT refuse some code with FPU expression too complex
  400. that were accepted before and even in some cases
  401. that don't overflow in fact
  402. ( like if f : float; is a forward that finally in implementation
  403. only uses one fpu register !!)
  404. Nevertheless I think that it will improve security on
  405. FPU operations !!
  406. * most other changes only for UseBrowser code
  407. (added symtable references for record and objects)
  408. local switch for refs to args and local of each function
  409. (static symtable still missing)
  410. UseBrowser still not stable and probably broken by
  411. the definition hash array !!
  412. Revision 1.45 1998/09/18 08:01:35 pierre
  413. + improvement on the usebrowser part
  414. (does not work correctly for now)
  415. Revision 1.44 1998/09/10 15:25:34 daniel
  416. + Added maxheapsize.
  417. * Corrected semi-bug in calling the assembler and the linker
  418. Revision 1.43 1998/09/09 15:33:06 peter
  419. * fixed in_global to allow directives also after interface token
  420. Revision 1.42 1998/09/04 08:41:59 peter
  421. * updated some error messages
  422. Revision 1.41 1998/09/01 12:53:24 peter
  423. + aktpackenum
  424. Revision 1.40 1998/09/01 07:54:19 pierre
  425. * UseBrowser a little updated (might still be buggy !!)
  426. * bug in psub.pas in function specifier removed
  427. * stdcall allowed in interface and in implementation
  428. (FPC will not yet complain if it is missing in either part
  429. because stdcall is only a dummy !!)
  430. Revision 1.39 1998/08/26 10:07:09 peter
  431. * dispose trees is now default for all > 0.99.5 compiles
  432. Revision 1.38 1998/08/18 20:52:20 peter
  433. * renamed in_main to in_global which is more logical
  434. Revision 1.37 1998/08/17 09:17:49 peter
  435. * static/shared linking updates
  436. Revision 1.36 1998/08/14 21:56:36 peter
  437. * setting the outputfile using -o works now to create static libs
  438. Revision 1.35 1998/08/12 19:22:09 peter
  439. * reset also the link* lists when recompiling an existing unit
  440. Revision 1.34 1998/08/10 23:58:56 peter
  441. * fixed asmlist dispose for 0.99.5
  442. Revision 1.33 1998/08/10 14:50:07 peter
  443. + localswitches, moduleswitches, globalswitches splitting
  444. Revision 1.32 1998/08/10 10:18:28 peter
  445. + Compiler,Comphook unit which are the new interface units to the
  446. compiler
  447. Revision 1.31 1998/07/14 21:46:46 peter
  448. * updated messages file
  449. Revision 1.30 1998/07/14 14:46:49 peter
  450. * released NEWINPUT
  451. Revision 1.29 1998/07/07 11:19:59 peter
  452. + NEWINPUT for a better inputfile and scanner object
  453. Revision 1.28 1998/06/25 11:15:33 pierre
  454. * ppu files where not closed in newppu !!
  455. second compilation was impossible due to too many opened files
  456. (not visible in 'make cycle' as we remove all the ppu files)
  457. Revision 1.27 1998/06/17 14:10:15 peter
  458. * small os2 fixes
  459. * fixed interdependent units with newppu (remake3 under linux works now)
  460. Revision 1.26 1998/06/16 08:56:23 peter
  461. + targetcpu
  462. * cleaner pmodules for newppu
  463. Revision 1.25 1998/06/15 15:38:07 pierre
  464. * small bug in systems.pas corrected
  465. + operators in different units better hanlded
  466. Revision 1.24 1998/06/13 00:10:08 peter
  467. * working browser and newppu
  468. * some small fixes against crashes which occured in bp7 (but not in
  469. fpc?!)
  470. Revision 1.23 1998/06/08 22:59:48 peter
  471. * smartlinking works for win32
  472. * some defines to exclude some compiler parts
  473. Revision 1.22 1998/06/05 17:47:28 peter
  474. * some better uses clauses
  475. Revision 1.21 1998/06/04 23:51:49 peter
  476. * m68k compiles
  477. + .def file creation moved to gendef.pas so it could also be used
  478. for win32
  479. Revision 1.20 1998/06/03 22:48:55 peter
  480. + wordbool,longbool
  481. * rename bis,von -> high,low
  482. * moved some systemunit loading/creating to psystem.pas
  483. Revision 1.19 1998/05/27 19:45:04 peter
  484. * symtable.pas splitted into includefiles
  485. * symtable adapted for $ifdef NEWPPU
  486. Revision 1.18 1998/05/23 01:21:15 peter
  487. + aktasmmode, aktoptprocessor, aktoutputformat
  488. + smartlink per module $SMARTLINK-/+ (like MMX) and moved to aktswitches
  489. + $LIBNAME to set the library name where the unit will be put in
  490. * splitted cgi386 a bit (codeseg to large for bp7)
  491. * nasm, tasm works again. nasm moved to ag386nsm.pas
  492. Revision 1.17 1998/05/20 09:42:34 pierre
  493. + UseTokenInfo now default
  494. * unit in interface uses and implementation uses gives error now
  495. * only one error for unknown symbol (uses lastsymknown boolean)
  496. the problem came from the label code !
  497. + first inlined procedures and function work
  498. (warning there might be allowed cases were the result is still wrong !!)
  499. * UseBrower updated gives a global list of all position of all used symbols
  500. with switch -gb
  501. Revision 1.16 1998/05/12 10:47:00 peter
  502. * moved printstatus to verb_def
  503. + V_Normal which is between V_Error and V_Warning and doesn't have a
  504. prefix like error: warning: and is included in V_Default
  505. * fixed some messages
  506. * first time parameter scan is only for -v and -T
  507. - removed old style messages
  508. Revision 1.15 1998/05/11 13:07:54 peter
  509. + $ifdef NEWPPU for the new ppuformat
  510. + $define GDB not longer required
  511. * removed all warnings and stripped some log comments
  512. * no findfirst/findnext anymore to remove smartlink *.o files
  513. Revision 1.14 1998/05/06 18:36:53 peter
  514. * tai_section extended with code,data,bss sections and enumerated type
  515. * ident 'compiled by FPC' moved to pmodules
  516. * small fix for smartlink
  517. Revision 1.13 1998/05/06 08:38:42 pierre
  518. * better position info with UseTokenInfo
  519. UseTokenInfo greatly simplified
  520. + added check for changed tree after first time firstpass
  521. (if we could remove all the cases were it happen
  522. we could skip all firstpass if firstpasscount > 1)
  523. Only with ExtDebug
  524. Revision 1.12 1998/05/04 17:54:28 peter
  525. + smartlinking works (only case jumptable left todo)
  526. * redesign of systems.pas to support assemblers and linkers
  527. + Unitname is now also in the PPU-file, increased version to 14
  528. Revision 1.11 1998/05/01 16:38:45 florian
  529. * handling of private and protected fixed
  530. + change_keywords_to_tp implemented to remove
  531. keywords which aren't supported by tp
  532. * break and continue are now symbols of the system unit
  533. + widestring, longstring and ansistring type released
  534. Revision 1.10 1998/05/01 07:43:56 florian
  535. + basics for rtti implemented
  536. + switch $m (generate rtti for published sections)
  537. Revision 1.9 1998/04/30 15:59:40 pierre
  538. * GDB works again better :
  539. correct type info in one pass
  540. + UseTokenInfo for better source position
  541. * fixed one remaining bug in scanner for line counts
  542. * several little fixes
  543. Revision 1.8 1998/04/29 10:33:55 pierre
  544. + added some code for ansistring (not complete nor working yet)
  545. * corrected operator overloading
  546. * corrected nasm output
  547. + started inline procedures
  548. + added starstarn : use ** for exponentiation (^ gave problems)
  549. + started UseTokenInfo cond to get accurate positions
  550. Revision 1.7 1998/04/27 23:10:28 peter
  551. + new scanner
  552. * $makelib -> if smartlink
  553. * small filename fixes pmodule.setfilename
  554. * moved import from files.pas -> import.pas
  555. Revision 1.6 1998/04/21 10:16:48 peter
  556. * patches from strasbourg
  557. * objects is not used anymore in the fpc compiled version
  558. Revision 1.5 1998/04/10 14:41:43 peter
  559. * removed some Hints
  560. * small speed optimization for AsmLn
  561. Revision 1.4 1998/04/08 16:58:03 pierre
  562. * several bugfixes
  563. ADD ADC and AND are also sign extended
  564. nasm output OK (program still crashes at end
  565. and creates wrong assembler files !!)
  566. procsym types sym in tdef removed !!
  567. Revision 1.3 1998/04/07 22:45:04 florian
  568. * bug0092, bug0115 and bug0121 fixed
  569. + packed object/class/array
  570. }