pdecl.pas 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694
  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. calc_parast(tprocvardef(tt.def));
  199. end;
  200. if not skipequal then
  201. begin
  202. { get init value }
  203. consume(_EQUAL);
  204. readtypedconst(tt,ttypedconstsym(sym),(cs_typed_const_writable in aktlocalswitches));
  205. try_consume_hintdirective(sym.symoptions);
  206. consume(_SEMICOLON);
  207. end;
  208. end;
  209. else
  210. { generate an error }
  211. consume(_EQUAL);
  212. end;
  213. until token<>_ID;
  214. block_type:=old_block_type;
  215. end;
  216. procedure label_dec;
  217. var
  218. hl : tasmlabel;
  219. begin
  220. consume(_LABEL);
  221. if not(cs_support_goto in aktmoduleswitches) then
  222. Message(sym_e_goto_and_label_not_supported);
  223. repeat
  224. if not(token in [_ID,_INTCONST]) then
  225. consume(_ID)
  226. else
  227. begin
  228. objectlibrary.getlabel(hl);
  229. if token=_ID then
  230. symtablestack.insert(tlabelsym.create(orgpattern,hl))
  231. else
  232. symtablestack.insert(tlabelsym.create(pattern,hl));
  233. consume(token);
  234. end;
  235. if token<>_SEMICOLON then consume(_COMMA);
  236. until not(token in [_ID,_INTCONST]);
  237. consume(_SEMICOLON);
  238. end;
  239. { search in symtablestack used, but not defined type }
  240. procedure resolve_type_forward(p : tnamedindexitem;arg:pointer);
  241. var
  242. hpd,pd : tdef;
  243. stpos : tfileposinfo;
  244. again : boolean;
  245. srsym : tsym;
  246. srsymtable : tsymtable;
  247. {$ifdef gdb_notused}
  248. stab_str:Pchar;
  249. {$endif gdb_notused}
  250. begin
  251. { Check only typesyms or record/object fields }
  252. case tsym(p).typ of
  253. typesym :
  254. pd:=ttypesym(p).restype.def;
  255. fieldvarsym :
  256. pd:=tfieldvarsym(p).vartype.def
  257. else
  258. exit;
  259. end;
  260. repeat
  261. again:=false;
  262. case pd.deftype of
  263. arraydef :
  264. begin
  265. { elementtype could also be defined using a forwarddef }
  266. pd:=tarraydef(pd).elementtype.def;
  267. again:=true;
  268. end;
  269. pointerdef,
  270. classrefdef :
  271. begin
  272. { classrefdef inherits from pointerdef }
  273. hpd:=tpointerdef(pd).pointertype.def;
  274. { still a forward def ? }
  275. if hpd.deftype=forwarddef then
  276. begin
  277. { try to resolve the forward }
  278. { get the correct position for it }
  279. stpos:=akttokenpos;
  280. akttokenpos:=tforwarddef(hpd).forwardpos;
  281. resolving_forward:=true;
  282. make_ref:=false;
  283. if not assigned(tforwarddef(hpd).tosymname) then
  284. internalerror(20021120);
  285. searchsym(tforwarddef(hpd).tosymname^,srsym,srsymtable);
  286. make_ref:=true;
  287. resolving_forward:=false;
  288. akttokenpos:=stpos;
  289. { we don't need the forwarddef anymore, dispose it }
  290. hpd.free;
  291. tpointerdef(pd).pointertype.def:=nil; { if error occurs }
  292. { was a type sym found ? }
  293. if assigned(srsym) and
  294. (srsym.typ=typesym) then
  295. begin
  296. tpointerdef(pd).pointertype.setsym(srsym);
  297. { avoid wrong unused warnings web bug 801 PM }
  298. inc(ttypesym(srsym).refs);
  299. {$ifdef GDB_UNUSED}
  300. if (cs_debuginfo in aktmoduleswitches) and assigned(debuglist) and
  301. (tsym(p).owner.symtabletype in [globalsymtable,staticsymtable]) then
  302. begin
  303. ttypesym(p).isusedinstab:=true;
  304. { ttypesym(p).concatstabto(debuglist);}
  305. {not stabs for forward defs }
  306. if not Ttypesym(p).isstabwritten then
  307. begin
  308. if Ttypesym(p).restype.def.typesym=p then
  309. Tstoreddef(Ttypesym(p).restype.def).concatstabto(debuglist)
  310. else
  311. begin
  312. stab_str:=Ttypesym(p).stabstring;
  313. if assigned(stab_str) then
  314. debuglist.concat(Tai_stabs.create(stab_str));
  315. Ttypesym(p).isstabwritten:=true;
  316. end;
  317. end;
  318. end;
  319. {$endif GDB_UNUSED}
  320. { we need a class type for classrefdef }
  321. if (pd.deftype=classrefdef) and
  322. not(is_class(ttypesym(srsym).restype.def)) then
  323. Message1(type_e_class_type_expected,ttypesym(srsym).restype.def.typename);
  324. end
  325. else
  326. begin
  327. MessagePos1(tsym(p).fileinfo,sym_e_forward_type_not_resolved,tsym(p).realname);
  328. { try to recover }
  329. tpointerdef(pd).pointertype:=generrortype;
  330. end;
  331. end;
  332. end;
  333. recorddef :
  334. trecorddef(pd).symtable.foreach_static(@resolve_type_forward,nil);
  335. objectdef :
  336. begin
  337. if not(m_fpc in aktmodeswitches) and
  338. (oo_is_forward in tobjectdef(pd).objectoptions) then
  339. begin
  340. { only give an error as the implementation may follow in an
  341. other type block which is allowed by FPC modes }
  342. MessagePos1(tsym(p).fileinfo,sym_e_forward_type_not_resolved,tsym(p).realname);
  343. end
  344. else
  345. begin
  346. { Check all fields of the object declaration, but don't
  347. check objectdefs in objects/records, because these
  348. can't exist (anonymous objects aren't allowed) }
  349. if not(tsym(p).owner.symtabletype in [objectsymtable,recordsymtable]) then
  350. tobjectdef(pd).symtable.foreach_static(@resolve_type_forward,nil);
  351. end;
  352. end;
  353. end;
  354. until not again;
  355. end;
  356. { reads a type declaration to the symbol table }
  357. procedure type_dec;
  358. var
  359. typename,orgtypename : stringid;
  360. newtype : ttypesym;
  361. sym : tsym;
  362. srsymtable : tsymtable;
  363. tt : ttype;
  364. oldfilepos,
  365. defpos,storetokenpos : tfileposinfo;
  366. old_block_type : tblock_type;
  367. ch : tclassheader;
  368. unique,istyperenaming : boolean;
  369. begin
  370. old_block_type:=block_type;
  371. block_type:=bt_type;
  372. consume(_TYPE);
  373. typecanbeforward:=true;
  374. repeat
  375. typename:=pattern;
  376. orgtypename:=orgpattern;
  377. defpos:=akttokenpos;
  378. istyperenaming:=false;
  379. consume(_ID);
  380. consume(_EQUAL);
  381. { support 'ttype=type word' syntax }
  382. unique:=try_to_consume(_TYPE);
  383. { is the type already defined? }
  384. searchsym(typename,sym,srsymtable);
  385. newtype:=nil;
  386. { found a symbol with this name? }
  387. if assigned(sym) then
  388. begin
  389. if (sym.typ=typesym) then
  390. begin
  391. if ((token=_CLASS) or
  392. (token=_INTERFACE)) and
  393. (assigned(ttypesym(sym).restype.def)) and
  394. is_class_or_interface(ttypesym(sym).restype.def) and
  395. (oo_is_forward in tobjectdef(ttypesym(sym).restype.def).objectoptions) then
  396. begin
  397. { we can ignore the result }
  398. { the definition is modified }
  399. object_dec(orgtypename,tobjectdef(ttypesym(sym).restype.def));
  400. newtype:=ttypesym(sym);
  401. tt:=newtype.restype;
  402. end
  403. else
  404. message1(parser_h_type_redef,orgtypename);
  405. end;
  406. end;
  407. { no old type reused ? Then insert this new type }
  408. if not assigned(newtype) then
  409. begin
  410. { insert the new type first with an errordef, so that
  411. referencing the type before it's really set it
  412. will give an error (PFV) }
  413. tt:=generrortype;
  414. storetokenpos:=akttokenpos;
  415. newtype:=ttypesym.create(orgtypename,tt);
  416. symtablestack.insert(newtype);
  417. akttokenpos:=defpos;
  418. akttokenpos:=storetokenpos;
  419. { read the type definition }
  420. read_type(tt,orgtypename,false);
  421. { update the definition of the type }
  422. newtype.restype:=tt;
  423. if assigned(tt.sym) then
  424. istyperenaming:=true
  425. else
  426. tt.sym:=newtype;
  427. if unique and assigned(tt.def) then
  428. begin
  429. tt.setdef(tstoreddef(tt.def).getcopy);
  430. include(tt.def.defoptions,df_unique);
  431. newtype.restype:=tt;
  432. end;
  433. if assigned(tt.def) and not assigned(tt.def.typesym) then
  434. tt.def.typesym:=newtype;
  435. { KAZ: handle TGUID declaration in system unit }
  436. if (cs_compilesystem in aktmoduleswitches) and not assigned(rec_tguid) and
  437. (typename='TGUID') and { name: TGUID and size=16 bytes that is 128 bits }
  438. assigned(tt.def) and (tt.def.deftype=recorddef) and (tt.def.size=16) then
  439. rec_tguid:=trecorddef(tt.def);
  440. end;
  441. if assigned(tt.def) then
  442. begin
  443. case tt.def.deftype of
  444. pointerdef :
  445. begin
  446. consume(_SEMICOLON);
  447. if try_to_consume(_FAR) then
  448. begin
  449. tpointerdef(tt.def).is_far:=true;
  450. consume(_SEMICOLON);
  451. end;
  452. end;
  453. procvardef :
  454. begin
  455. { in case of type renaming, don't parse proc directives }
  456. if istyperenaming then
  457. consume(_SEMICOLON)
  458. else
  459. begin
  460. if not check_proc_directive(true) then
  461. consume(_SEMICOLON);
  462. parse_var_proc_directives(tsym(newtype));
  463. handle_calling_convention(tprocvardef(tt.def));
  464. calc_parast(tprocvardef(tt.def));
  465. end;
  466. end;
  467. objectdef,
  468. recorddef :
  469. begin
  470. try_consume_hintdirective(newtype.symoptions);
  471. consume(_SEMICOLON);
  472. end;
  473. else
  474. consume(_SEMICOLON);
  475. end;
  476. end;
  477. { Write tables if we are the typesym that defines
  478. this type. This will not be done for simple type renamings }
  479. if (tt.def.typesym=newtype) then
  480. begin
  481. { file position }
  482. oldfilepos:=aktfilepos;
  483. aktfilepos:=newtype.fileinfo;
  484. { generate persistent init/final tables when it's declared in the interface so it can
  485. be reused in other used }
  486. if current_module.in_interface and
  487. ((is_class(tt.def) and
  488. tobjectdef(tt.def).members_need_inittable) or
  489. tt.def.needs_inittable) then
  490. generate_inittable(newtype);
  491. { for objects we should write the vmt and interfaces.
  492. This need to be done after the rtti has been written, because
  493. it can contain a reference to that data (PFV)
  494. This is not for forward classes }
  495. if (tt.def.deftype=objectdef) then
  496. with Tobjectdef(tt.def) do
  497. begin
  498. if not(oo_is_forward in objectoptions) then
  499. begin
  500. ch:=cclassheader.create(tobjectdef(tt.def));
  501. { generate and check virtual methods, must be done
  502. before RTTI is written }
  503. ch.genvmt;
  504. { Generate RTTI for class }
  505. generate_rtti(newtype);
  506. if is_interface(tobjectdef(tt.def)) then
  507. ch.writeinterfaceids;
  508. if (oo_has_vmt in objectoptions) then
  509. ch.writevmt;
  510. ch.free;
  511. end;
  512. end
  513. else
  514. begin
  515. { Always generate RTTI info for all types. This is to have typeinfo() return
  516. the same pointer }
  517. generate_rtti(newtype);
  518. end;
  519. aktfilepos:=oldfilepos;
  520. end;
  521. until token<>_ID;
  522. typecanbeforward:=false;
  523. symtablestack.foreach_static(@resolve_type_forward,nil);
  524. block_type:=old_block_type;
  525. end;
  526. procedure var_dec;
  527. { parses variable declarations and inserts them in }
  528. { the top symbol table of symtablestack }
  529. begin
  530. consume(_VAR);
  531. read_var_decs(false,false,false);
  532. end;
  533. procedure property_dec;
  534. var
  535. old_block_type : tblock_type;
  536. begin
  537. consume(_PROPERTY);
  538. if not(symtablestack.symtabletype in [staticsymtable,globalsymtable]) then
  539. message(parser_e_resourcestring_only_sg);
  540. old_block_type:=block_type;
  541. block_type:=bt_const;
  542. repeat
  543. read_property_dec(nil);
  544. consume(_SEMICOLON);
  545. until token<>_ID;
  546. block_type:=old_block_type;
  547. end;
  548. procedure threadvar_dec;
  549. { parses thread variable declarations and inserts them in }
  550. { the top symbol table of symtablestack }
  551. begin
  552. consume(_THREADVAR);
  553. if not(symtablestack.symtabletype in [staticsymtable,globalsymtable]) then
  554. message(parser_e_threadvars_only_sg);
  555. read_var_decs(false,false,true);
  556. end;
  557. procedure resourcestring_dec;
  558. var
  559. orgname : stringid;
  560. p : tnode;
  561. storetokenpos,filepos : tfileposinfo;
  562. old_block_type : tblock_type;
  563. sp : pchar;
  564. begin
  565. consume(_RESOURCESTRING);
  566. if not(symtablestack.symtabletype in [staticsymtable,globalsymtable]) then
  567. message(parser_e_resourcestring_only_sg);
  568. old_block_type:=block_type;
  569. block_type:=bt_const;
  570. repeat
  571. orgname:=orgpattern;
  572. filepos:=akttokenpos;
  573. consume(_ID);
  574. case token of
  575. _EQUAL:
  576. begin
  577. consume(_EQUAL);
  578. p:=comp_expr(true);
  579. storetokenpos:=akttokenpos;
  580. akttokenpos:=filepos;
  581. case p.nodetype of
  582. ordconstn:
  583. begin
  584. if is_constcharnode(p) then
  585. begin
  586. getmem(sp,2);
  587. sp[0]:=chr(tordconstnode(p).value);
  588. sp[1]:=#0;
  589. symtablestack.insert(tconstsym.create_string(orgname,constresourcestring,sp,1));
  590. end
  591. else
  592. Message(parser_e_illegal_expression);
  593. end;
  594. stringconstn:
  595. with Tstringconstnode(p) do
  596. begin
  597. getmem(sp,len+1);
  598. move(value_str^,sp^,len+1);
  599. symtablestack.insert(tconstsym.create_string(orgname,constresourcestring,sp,len));
  600. end;
  601. else
  602. Message(parser_e_illegal_expression);
  603. end;
  604. akttokenpos:=storetokenpos;
  605. consume(_SEMICOLON);
  606. p.free;
  607. end;
  608. else consume(_EQUAL);
  609. end;
  610. until token<>_ID;
  611. block_type:=old_block_type;
  612. end;
  613. end.
  614. {
  615. $Log$
  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. }