pdecl.pas 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Florian Klaempfl
  4. Does declaration (but not type) parsing for Free Pascal
  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 pdecl;
  19. {$i fpcdefs.inc}
  20. interface
  21. uses
  22. { global }
  23. globals,
  24. { symtable }
  25. symsym,
  26. { pass_1 }
  27. node;
  28. function readconstant(const orgname:string;const filepos:tfileposinfo):tconstsym;
  29. procedure const_dec;
  30. procedure label_dec;
  31. procedure type_dec;
  32. procedure var_dec;
  33. procedure threadvar_dec;
  34. procedure property_dec;
  35. procedure resourcestring_dec;
  36. implementation
  37. uses
  38. { common }
  39. cutils,cclasses,
  40. { global }
  41. globtype,tokens,verbose,
  42. systems,
  43. { aasm }
  44. aasmbase,aasmtai,fmodule,
  45. { symtable }
  46. symconst,symbase,symtype,symdef,symtable,paramgr,
  47. { pass 1 }
  48. nmat,nadd,ncal,nset,ncnv,ninl,ncon,nld,nflw,nobj,
  49. { codegen }
  50. ncgutil,
  51. { parser }
  52. scanner,
  53. pbase,pexpr,ptype,ptconst,pdecsub,pdecvar,pdecobj,
  54. { cpu-information }
  55. cpuinfo
  56. ;
  57. function readconstant(const orgname:string;const filepos:tfileposinfo):tconstsym;
  58. var
  59. hp : tconstsym;
  60. p : tnode;
  61. ps : pconstset;
  62. pd : pbestreal;
  63. pg : pguid;
  64. sp : pchar;
  65. storetokenpos : tfileposinfo;
  66. begin
  67. readconstant:=nil;
  68. if orgname='' then
  69. internalerror(9584582);
  70. hp:=nil;
  71. p:=comp_expr(true);
  72. storetokenpos:=akttokenpos;
  73. akttokenpos:=filepos;
  74. case p.nodetype of
  75. ordconstn:
  76. begin
  77. if p.resulttype.def.deftype=pointerdef then
  78. hp:=tconstsym.create_ordptr(orgname,constpointer,tordconstnode(p).value,p.resulttype)
  79. else
  80. hp:=tconstsym.create_ord(orgname,constord,tordconstnode(p).value,p.resulttype);
  81. end;
  82. stringconstn:
  83. begin
  84. getmem(sp,tstringconstnode(p).len+1);
  85. move(tstringconstnode(p).value_str^,sp^,tstringconstnode(p).len+1);
  86. hp:=tconstsym.create_string(orgname,conststring,sp,tstringconstnode(p).len);
  87. end;
  88. realconstn :
  89. begin
  90. new(pd);
  91. pd^:=trealconstnode(p).value_real;
  92. hp:=tconstsym.create_ptr(orgname,constreal,pd,p.resulttype);
  93. end;
  94. setconstn :
  95. begin
  96. new(ps);
  97. ps^:=tsetconstnode(p).value_set^;
  98. hp:=tconstsym.create_ptr(orgname,constset,ps,p.resulttype);
  99. end;
  100. pointerconstn :
  101. begin
  102. hp:=tconstsym.create_ordptr(orgname,constpointer,tpointerconstnode(p).value,p.resulttype);
  103. end;
  104. niln :
  105. begin
  106. hp:=tconstsym.create_ord(orgname,constnil,0,p.resulttype);
  107. end;
  108. typen :
  109. begin
  110. if is_interface(p.resulttype.def) then
  111. begin
  112. if assigned(tobjectdef(p.resulttype.def).iidguid) then
  113. begin
  114. new(pg);
  115. pg^:=tobjectdef(p.resulttype.def).iidguid^;
  116. hp:=tconstsym.create_ptr(orgname,constguid,pg,p.resulttype);
  117. end
  118. else
  119. Message1(parser_e_interface_has_no_guid,tobjectdef(p.resulttype.def).objrealname^);
  120. end
  121. else
  122. Message(parser_e_illegal_expression);
  123. end;
  124. else
  125. Message(parser_e_illegal_expression);
  126. end;
  127. akttokenpos:=storetokenpos;
  128. p.free;
  129. readconstant:=hp;
  130. end;
  131. procedure const_dec;
  132. var
  133. orgname : stringid;
  134. tt : ttype;
  135. sym : tsym;
  136. storetokenpos,filepos : tfileposinfo;
  137. old_block_type : tblock_type;
  138. skipequal : boolean;
  139. begin
  140. consume(_CONST);
  141. old_block_type:=block_type;
  142. block_type:=bt_const;
  143. repeat
  144. orgname:=orgpattern;
  145. filepos:=akttokenpos;
  146. consume(_ID);
  147. case token of
  148. _EQUAL:
  149. begin
  150. consume(_EQUAL);
  151. sym:=readconstant(orgname,filepos);
  152. if assigned(sym) then
  153. symtablestack.insert(sym);
  154. try_consume_hintdirective(sym.symoptions);
  155. consume(_SEMICOLON);
  156. end;
  157. _COLON:
  158. begin
  159. { set the blocktype first so a consume also supports a
  160. caret, to support const s : ^string = nil }
  161. block_type:=bt_type;
  162. consume(_COLON);
  163. ignore_equal:=true;
  164. read_type(tt,'',false);
  165. ignore_equal:=false;
  166. block_type:=bt_const;
  167. skipequal:=false;
  168. { create symbol }
  169. storetokenpos:=akttokenpos;
  170. akttokenpos:=filepos;
  171. sym:=ttypedconstsym.createtype(orgname,tt,(cs_typed_const_writable in aktlocalswitches));
  172. akttokenpos:=storetokenpos;
  173. symtablestack.insert(sym);
  174. insertconstdata(ttypedconstsym(sym));
  175. { procvar can have proc directives, but not type references }
  176. if (tt.def.deftype=procvardef) and
  177. (tt.sym=nil) then
  178. begin
  179. { support p : procedure;stdcall=nil; }
  180. if try_to_consume(_SEMICOLON) then
  181. begin
  182. if check_proc_directive(true) then
  183. parse_var_proc_directives(sym)
  184. else
  185. begin
  186. Message(parser_e_proc_directive_expected);
  187. skipequal:=true;
  188. end;
  189. end
  190. else
  191. { support p : procedure stdcall=nil; }
  192. begin
  193. if check_proc_directive(true) then
  194. parse_var_proc_directives(sym);
  195. end;
  196. { add default calling convention }
  197. handle_calling_convention(tabstractprocdef(tt.def));
  198. end;
  199. if not skipequal then
  200. begin
  201. { get init value }
  202. consume(_EQUAL);
  203. readtypedconst(tt,ttypedconstsym(sym),(cs_typed_const_writable in aktlocalswitches));
  204. try_consume_hintdirective(sym.symoptions);
  205. consume(_SEMICOLON);
  206. end;
  207. end;
  208. else
  209. { generate an error }
  210. consume(_EQUAL);
  211. end;
  212. until token<>_ID;
  213. block_type:=old_block_type;
  214. end;
  215. procedure label_dec;
  216. var
  217. hl : tasmlabel;
  218. begin
  219. consume(_LABEL);
  220. if not(cs_support_goto in aktmoduleswitches) then
  221. Message(sym_e_goto_and_label_not_supported);
  222. repeat
  223. if not(token in [_ID,_INTCONST]) then
  224. consume(_ID)
  225. else
  226. begin
  227. objectlibrary.getlabel(hl);
  228. if token=_ID then
  229. symtablestack.insert(tlabelsym.create(orgpattern,hl))
  230. else
  231. symtablestack.insert(tlabelsym.create(pattern,hl));
  232. consume(token);
  233. end;
  234. if token<>_SEMICOLON then consume(_COMMA);
  235. until not(token in [_ID,_INTCONST]);
  236. consume(_SEMICOLON);
  237. end;
  238. { search in symtablestack used, but not defined type }
  239. procedure resolve_type_forward(p : tnamedindexitem;arg:pointer);
  240. var
  241. hpd,pd : tdef;
  242. stpos : tfileposinfo;
  243. again : boolean;
  244. srsym : tsym;
  245. srsymtable : tsymtable;
  246. {$ifdef gdb_notused}
  247. stab_str:Pchar;
  248. {$endif gdb_notused}
  249. begin
  250. { Check only typesyms or record/object fields }
  251. case tsym(p).typ of
  252. typesym :
  253. pd:=ttypesym(p).restype.def;
  254. fieldvarsym :
  255. pd:=tfieldvarsym(p).vartype.def
  256. else
  257. exit;
  258. end;
  259. repeat
  260. again:=false;
  261. case pd.deftype of
  262. arraydef :
  263. begin
  264. { elementtype could also be defined using a forwarddef }
  265. pd:=tarraydef(pd).elementtype.def;
  266. again:=true;
  267. end;
  268. pointerdef,
  269. classrefdef :
  270. begin
  271. { classrefdef inherits from pointerdef }
  272. hpd:=tpointerdef(pd).pointertype.def;
  273. { still a forward def ? }
  274. if hpd.deftype=forwarddef then
  275. begin
  276. { try to resolve the forward }
  277. { get the correct position for it }
  278. stpos:=akttokenpos;
  279. akttokenpos:=tforwarddef(hpd).forwardpos;
  280. resolving_forward:=true;
  281. make_ref:=false;
  282. if not assigned(tforwarddef(hpd).tosymname) then
  283. internalerror(20021120);
  284. searchsym(tforwarddef(hpd).tosymname^,srsym,srsymtable);
  285. make_ref:=true;
  286. resolving_forward:=false;
  287. akttokenpos:=stpos;
  288. { we don't need the forwarddef anymore, dispose it }
  289. hpd.free;
  290. tpointerdef(pd).pointertype.def:=nil; { if error occurs }
  291. { was a type sym found ? }
  292. if assigned(srsym) and
  293. (srsym.typ=typesym) then
  294. begin
  295. tpointerdef(pd).pointertype.setsym(srsym);
  296. { avoid wrong unused warnings web bug 801 PM }
  297. inc(ttypesym(srsym).refs);
  298. {$ifdef GDB_UNUSED}
  299. if (cs_debuginfo in aktmoduleswitches) and assigned(debuglist) and
  300. (tsym(p).owner.symtabletype in [globalsymtable,staticsymtable]) then
  301. begin
  302. ttypesym(p).isusedinstab:=true;
  303. { ttypesym(p).concatstabto(debuglist);}
  304. {not stabs for forward defs }
  305. if not Ttypesym(p).isstabwritten then
  306. begin
  307. if Ttypesym(p).restype.def.typesym=p then
  308. Tstoreddef(Ttypesym(p).restype.def).concatstabto(debuglist)
  309. else
  310. begin
  311. stab_str:=Ttypesym(p).stabstring;
  312. if assigned(stab_str) then
  313. debuglist.concat(Tai_stabs.create(stab_str));
  314. Ttypesym(p).isstabwritten:=true;
  315. end;
  316. end;
  317. end;
  318. {$endif GDB_UNUSED}
  319. { we need a class type for classrefdef }
  320. if (pd.deftype=classrefdef) and
  321. not(is_class(ttypesym(srsym).restype.def)) then
  322. Message1(type_e_class_type_expected,ttypesym(srsym).restype.def.typename);
  323. end
  324. else
  325. begin
  326. MessagePos1(tsym(p).fileinfo,sym_e_forward_type_not_resolved,tsym(p).realname);
  327. { try to recover }
  328. tpointerdef(pd).pointertype:=generrortype;
  329. end;
  330. end;
  331. end;
  332. recorddef :
  333. trecorddef(pd).symtable.foreach_static(@resolve_type_forward,nil);
  334. objectdef :
  335. begin
  336. if not(m_fpc in aktmodeswitches) and
  337. (oo_is_forward in tobjectdef(pd).objectoptions) then
  338. begin
  339. { only give an error as the implementation may follow in an
  340. other type block which is allowed by FPC modes }
  341. MessagePos1(tsym(p).fileinfo,sym_e_forward_type_not_resolved,tsym(p).realname);
  342. end
  343. else
  344. begin
  345. { Check all fields of the object declaration, but don't
  346. check objectdefs in objects/records, because these
  347. can't exist (anonymous objects aren't allowed) }
  348. if not(tsym(p).owner.symtabletype in [objectsymtable,recordsymtable]) then
  349. tobjectdef(pd).symtable.foreach_static(@resolve_type_forward,nil);
  350. end;
  351. end;
  352. end;
  353. until not again;
  354. end;
  355. { reads a type declaration to the symbol table }
  356. procedure type_dec;
  357. var
  358. typename,orgtypename : stringid;
  359. newtype : ttypesym;
  360. sym : tsym;
  361. srsymtable : tsymtable;
  362. tt : ttype;
  363. oldfilepos,
  364. defpos,storetokenpos : tfileposinfo;
  365. old_block_type : tblock_type;
  366. ch : tclassheader;
  367. unique,istyperenaming : boolean;
  368. begin
  369. old_block_type:=block_type;
  370. block_type:=bt_type;
  371. consume(_TYPE);
  372. typecanbeforward:=true;
  373. repeat
  374. typename:=pattern;
  375. orgtypename:=orgpattern;
  376. defpos:=akttokenpos;
  377. istyperenaming:=false;
  378. consume(_ID);
  379. consume(_EQUAL);
  380. { support 'ttype=type word' syntax }
  381. unique:=try_to_consume(_TYPE);
  382. { is the type already defined? }
  383. searchsym(typename,sym,srsymtable);
  384. newtype:=nil;
  385. { found a symbol with this name? }
  386. if assigned(sym) then
  387. begin
  388. if (sym.typ=typesym) then
  389. begin
  390. if ((token=_CLASS) or
  391. (token=_INTERFACE)) and
  392. (assigned(ttypesym(sym).restype.def)) and
  393. is_class_or_interface(ttypesym(sym).restype.def) and
  394. (oo_is_forward in tobjectdef(ttypesym(sym).restype.def).objectoptions) then
  395. begin
  396. { we can ignore the result }
  397. { the definition is modified }
  398. object_dec(orgtypename,tobjectdef(ttypesym(sym).restype.def));
  399. newtype:=ttypesym(sym);
  400. tt:=newtype.restype;
  401. end
  402. else
  403. message1(parser_h_type_redef,orgtypename);
  404. end;
  405. end;
  406. { no old type reused ? Then insert this new type }
  407. if not assigned(newtype) then
  408. begin
  409. { insert the new type first with an errordef, so that
  410. referencing the type before it's really set it
  411. will give an error (PFV) }
  412. tt:=generrortype;
  413. storetokenpos:=akttokenpos;
  414. newtype:=ttypesym.create(orgtypename,tt);
  415. symtablestack.insert(newtype);
  416. akttokenpos:=defpos;
  417. akttokenpos:=storetokenpos;
  418. { read the type definition }
  419. read_type(tt,orgtypename,false);
  420. { update the definition of the type }
  421. newtype.restype:=tt;
  422. if assigned(tt.sym) then
  423. istyperenaming:=true
  424. else
  425. tt.sym:=newtype;
  426. if unique and assigned(tt.def) then
  427. begin
  428. tt.setdef(tstoreddef(tt.def).getcopy);
  429. include(tt.def.defoptions,df_unique);
  430. newtype.restype:=tt;
  431. end;
  432. if assigned(tt.def) and not assigned(tt.def.typesym) then
  433. tt.def.typesym:=newtype;
  434. { KAZ: handle TGUID declaration in system unit }
  435. if (cs_compilesystem in aktmoduleswitches) and not assigned(rec_tguid) and
  436. (typename='TGUID') and { name: TGUID and size=16 bytes that is 128 bits }
  437. assigned(tt.def) and (tt.def.deftype=recorddef) and (tt.def.size=16) then
  438. rec_tguid:=trecorddef(tt.def);
  439. end;
  440. if assigned(tt.def) then
  441. begin
  442. case tt.def.deftype of
  443. pointerdef :
  444. begin
  445. consume(_SEMICOLON);
  446. if try_to_consume(_FAR) then
  447. begin
  448. tpointerdef(tt.def).is_far:=true;
  449. consume(_SEMICOLON);
  450. end;
  451. end;
  452. procvardef :
  453. begin
  454. { in case of type renaming, don't parse proc directives }
  455. if istyperenaming then
  456. consume(_SEMICOLON)
  457. else
  458. begin
  459. if not check_proc_directive(true) then
  460. consume(_SEMICOLON);
  461. parse_var_proc_directives(tsym(newtype));
  462. handle_calling_convention(tprocvardef(tt.def));
  463. end;
  464. end;
  465. objectdef,
  466. recorddef :
  467. begin
  468. try_consume_hintdirective(newtype.symoptions);
  469. consume(_SEMICOLON);
  470. end;
  471. else
  472. consume(_SEMICOLON);
  473. end;
  474. end;
  475. { Write tables if we are the typesym that defines
  476. this type. This will not be done for simple type renamings }
  477. if (tt.def.typesym=newtype) then
  478. begin
  479. { file position }
  480. oldfilepos:=aktfilepos;
  481. aktfilepos:=newtype.fileinfo;
  482. { generate persistent init/final tables when it's declared in the interface so it can
  483. be reused in other used }
  484. if current_module.in_interface and
  485. ((is_class(tt.def) and
  486. tobjectdef(tt.def).members_need_inittable) or
  487. tt.def.needs_inittable) then
  488. generate_inittable(newtype);
  489. { for objects we should write the vmt and interfaces.
  490. This need to be done after the rtti has been written, because
  491. it can contain a reference to that data (PFV)
  492. This is not for forward classes }
  493. if (tt.def.deftype=objectdef) then
  494. with Tobjectdef(tt.def) do
  495. begin
  496. if not(oo_is_forward in objectoptions) then
  497. begin
  498. ch:=cclassheader.create(tobjectdef(tt.def));
  499. { generate and check virtual methods, must be done
  500. before RTTI is written }
  501. ch.genvmt;
  502. { Generate RTTI for class }
  503. generate_rtti(newtype);
  504. if is_interface(tobjectdef(tt.def)) then
  505. ch.writeinterfaceids;
  506. if (oo_has_vmt in objectoptions) then
  507. ch.writevmt;
  508. ch.free;
  509. end;
  510. end
  511. else
  512. begin
  513. { Always generate RTTI info for all types. This is to have typeinfo() return
  514. the same pointer }
  515. generate_rtti(newtype);
  516. end;
  517. aktfilepos:=oldfilepos;
  518. end;
  519. until token<>_ID;
  520. typecanbeforward:=false;
  521. symtablestack.foreach_static(@resolve_type_forward,nil);
  522. block_type:=old_block_type;
  523. end;
  524. procedure var_dec;
  525. { parses variable declarations and inserts them in }
  526. { the top symbol table of symtablestack }
  527. begin
  528. consume(_VAR);
  529. read_var_decs(false,false,false);
  530. end;
  531. procedure property_dec;
  532. var
  533. old_block_type : tblock_type;
  534. begin
  535. consume(_PROPERTY);
  536. if not(symtablestack.symtabletype in [staticsymtable,globalsymtable]) then
  537. message(parser_e_resourcestring_only_sg);
  538. old_block_type:=block_type;
  539. block_type:=bt_const;
  540. repeat
  541. read_property_dec(nil);
  542. consume(_SEMICOLON);
  543. until token<>_ID;
  544. block_type:=old_block_type;
  545. end;
  546. procedure threadvar_dec;
  547. { parses thread variable declarations and inserts them in }
  548. { the top symbol table of symtablestack }
  549. begin
  550. consume(_THREADVAR);
  551. if not(symtablestack.symtabletype in [staticsymtable,globalsymtable]) then
  552. message(parser_e_threadvars_only_sg);
  553. read_var_decs(false,false,true);
  554. end;
  555. procedure resourcestring_dec;
  556. var
  557. orgname : stringid;
  558. p : tnode;
  559. storetokenpos,filepos : tfileposinfo;
  560. old_block_type : tblock_type;
  561. sp : pchar;
  562. begin
  563. consume(_RESOURCESTRING);
  564. if not(symtablestack.symtabletype in [staticsymtable,globalsymtable]) then
  565. message(parser_e_resourcestring_only_sg);
  566. old_block_type:=block_type;
  567. block_type:=bt_const;
  568. repeat
  569. orgname:=orgpattern;
  570. filepos:=akttokenpos;
  571. consume(_ID);
  572. case token of
  573. _EQUAL:
  574. begin
  575. consume(_EQUAL);
  576. p:=comp_expr(true);
  577. storetokenpos:=akttokenpos;
  578. akttokenpos:=filepos;
  579. case p.nodetype of
  580. ordconstn:
  581. begin
  582. if is_constcharnode(p) then
  583. begin
  584. getmem(sp,2);
  585. sp[0]:=chr(tordconstnode(p).value);
  586. sp[1]:=#0;
  587. symtablestack.insert(tconstsym.create_string(orgname,constresourcestring,sp,1));
  588. end
  589. else
  590. Message(parser_e_illegal_expression);
  591. end;
  592. stringconstn:
  593. with Tstringconstnode(p) do
  594. begin
  595. getmem(sp,len+1);
  596. move(value_str^,sp^,len+1);
  597. symtablestack.insert(tconstsym.create_string(orgname,constresourcestring,sp,len));
  598. end;
  599. else
  600. Message(parser_e_illegal_expression);
  601. end;
  602. akttokenpos:=storetokenpos;
  603. consume(_SEMICOLON);
  604. p.free;
  605. end;
  606. else consume(_EQUAL);
  607. end;
  608. until token<>_ID;
  609. block_type:=old_block_type;
  610. end;
  611. end.
  612. {
  613. $Log$
  614. Revision 1.92 2004-11-16 20:32:40 peter
  615. * fixes for win32 mangledname
  616. Revision 1.91 2004/11/15 23:35:31 peter
  617. * tparaitem removed, use tparavarsym instead
  618. * parameter order is now calculated from paranr value in tparavarsym
  619. Revision 1.90 2004/11/08 22:09:59 peter
  620. * tvarsym splitted
  621. Revision 1.89 2004/10/15 09:14:17 mazen
  622. - remove $IFDEF DELPHI and related code
  623. - remove $IFDEF FPCPROCVAR and related code
  624. Revision 1.88 2004/09/13 20:33:17 peter
  625. * use realname in error msg
  626. Revision 1.87 2004/06/20 08:55:30 florian
  627. * logs truncated
  628. Revision 1.86 2004/06/16 20:07:09 florian
  629. * dwarf branch merged
  630. Revision 1.85.2.1 2004/04/28 19:55:52 peter
  631. * new warning for ordinal-pointer when size is different
  632. * fixed some cg_e_ messages to the correct section type_e_ or parser_e_
  633. Revision 1.85 2004/03/23 22:34:49 peter
  634. * constants ordinals now always have a type assigned
  635. * integer constants have the smallest type, unsigned prefered over
  636. signed
  637. Revision 1.84 2004/03/20 20:55:36 florian
  638. + implemented cdecl'd varargs on arm
  639. + -dCMEM supported by the compiler
  640. * label/goto asmsymbol type with -dextdebug fixed
  641. Revision 1.83 2004/03/08 22:07:47 peter
  642. * stabs updates to write stabs for def for all implictly used
  643. units
  644. }