pdecl.pas 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. {
  2. $Id$
  3. Copyright (c) 1998-2000 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 defines.inc}
  20. interface
  21. uses
  22. { global }
  23. globals,
  24. { symtable }
  25. symsym,
  26. { pass_1 }
  27. node;
  28. function readconstant(const name: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 resourcestring_dec;
  35. implementation
  36. uses
  37. { common }
  38. cutils,cclasses,
  39. { global }
  40. globtype,tokens,verbose,
  41. systems,
  42. { aasm }
  43. aasm,fmodule,
  44. { symtable }
  45. symconst,symbase,symtype,symdef,symtable,
  46. { pass 1 }
  47. nmat,nadd,ncal,nset,ncnv,ninl,ncon,nld,nflw,nobj,
  48. { parser }
  49. scanner,
  50. pbase,pexpr,ptype,ptconst,pdecsub,pdecvar,pdecobj;
  51. function readconstant(const name:string;const filepos:tfileposinfo):tconstsym;
  52. var
  53. hp : tconstsym;
  54. p : tnode;
  55. ps : pconstset;
  56. pd : pbestreal;
  57. sp : pchar;
  58. storetokenpos : tfileposinfo;
  59. begin
  60. readconstant:=nil;
  61. if name='' then
  62. internalerror(9584582);
  63. hp:=nil;
  64. p:=comp_expr(true);
  65. storetokenpos:=akttokenpos;
  66. akttokenpos:=filepos;
  67. case p.nodetype of
  68. ordconstn:
  69. begin
  70. if is_constintnode(p) then
  71. hp:=tconstsym.create_typed(name,constint,tordconstnode(p).value,tordconstnode(p).resulttype)
  72. else if is_constcharnode(p) then
  73. hp:=tconstsym.create(name,constchar,tordconstnode(p).value)
  74. else if is_constboolnode(p) then
  75. hp:=tconstsym.create(name,constbool,tordconstnode(p).value)
  76. else if is_constwidecharnode(p) then
  77. hp:=tconstsym.create(name,constwchar,tordconstnode(p).value)
  78. else if p.resulttype.def.deftype=enumdef then
  79. hp:=tconstsym.create_typed(name,constord,tordconstnode(p).value,p.resulttype)
  80. else if p.resulttype.def.deftype=pointerdef then
  81. hp:=tconstsym.create_typed(name,constord,tordconstnode(p).value,p.resulttype)
  82. else internalerror(111);
  83. end;
  84. stringconstn:
  85. begin
  86. getmem(sp,tstringconstnode(p).len+1);
  87. move(tstringconstnode(p).value_str^,sp^,tstringconstnode(p).len+1);
  88. hp:=tconstsym.create_string(name,conststring,sp,tstringconstnode(p).len);
  89. end;
  90. realconstn :
  91. begin
  92. new(pd);
  93. pd^:=trealconstnode(p).value_real;
  94. hp:=tconstsym.create(name,constreal,longint(pd));
  95. end;
  96. setconstn :
  97. begin
  98. new(ps);
  99. ps^:=tsetconstnode(p).value_set^;
  100. hp:=tconstsym.create_typed(name,constset,longint(ps),p.resulttype);
  101. end;
  102. pointerconstn :
  103. begin
  104. hp:=tconstsym.create_typed(name,constpointer,tordconstnode(p).value,p.resulttype);
  105. end;
  106. niln :
  107. begin
  108. hp:=tconstsym.create_typed(name,constnil,0,p.resulttype);
  109. end;
  110. else
  111. Message(cg_e_illegal_expression);
  112. end;
  113. akttokenpos:=storetokenpos;
  114. p.free;
  115. readconstant:=hp;
  116. end;
  117. procedure const_dec;
  118. var
  119. name : stringid;
  120. tt : ttype;
  121. sym : tsym;
  122. storetokenpos,filepos : tfileposinfo;
  123. old_block_type : tblock_type;
  124. skipequal : boolean;
  125. begin
  126. consume(_CONST);
  127. old_block_type:=block_type;
  128. block_type:=bt_const;
  129. repeat
  130. name:=pattern;
  131. filepos:=akttokenpos;
  132. consume(_ID);
  133. case token of
  134. _EQUAL:
  135. begin
  136. consume(_EQUAL);
  137. sym:=readconstant(name,filepos);
  138. if assigned(sym) then
  139. symtablestack.insert(sym);
  140. try_consume_hintdirective(sym.symoptions);
  141. consume(_SEMICOLON);
  142. end;
  143. _COLON:
  144. begin
  145. { set the blocktype first so a consume also supports a
  146. caret, to support const s : ^string = nil }
  147. block_type:=bt_type;
  148. consume(_COLON);
  149. ignore_equal:=true;
  150. read_type(tt,'');
  151. ignore_equal:=false;
  152. block_type:=bt_const;
  153. skipequal:=false;
  154. { create symbol }
  155. storetokenpos:=akttokenpos;
  156. akttokenpos:=filepos;
  157. {$ifdef DELPHI_CONST_IN_RODATA}
  158. if m_delphi in aktmodeswitches then
  159. begin
  160. if assigned(readtypesym) then
  161. sym:=ttypedconstsym.createsym(name,readtypesym,true)
  162. else
  163. sym:=ttypedconstsym.create(name,def,true)
  164. end
  165. else
  166. {$endif DELPHI_CONST_IN_RODATA}
  167. begin
  168. sym:=ttypedconstsym.createtype(name,tt,false)
  169. end;
  170. akttokenpos:=storetokenpos;
  171. symtablestack.insert(sym);
  172. { procvar can have proc directives }
  173. if (tt.def.deftype=procvardef) then
  174. begin
  175. { support p : procedure;stdcall=nil; }
  176. if (token=_SEMICOLON) then
  177. begin
  178. consume(_SEMICOLON);
  179. if is_proc_directive(token) then
  180. parse_var_proc_directives(sym)
  181. else
  182. begin
  183. Message(parser_e_proc_directive_expected);
  184. skipequal:=true;
  185. end;
  186. end
  187. else
  188. { support p : procedure stdcall=nil; }
  189. begin
  190. if is_proc_directive(token) then
  191. parse_var_proc_directives(sym);
  192. end;
  193. end;
  194. if not skipequal then
  195. begin
  196. { get init value }
  197. consume(_EQUAL);
  198. {$ifdef DELPHI_CONST_IN_RODATA}
  199. if m_delphi in aktmodeswitches then
  200. readtypedconst(tt,ttypedconstsym(sym),true)
  201. else
  202. {$endif DELPHI_CONST_IN_RODATA}
  203. readtypedconst(tt,ttypedconstsym(sym),false);
  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. if (cs_create_smart in aktmoduleswitches) then
  228. begin
  229. getdatalabel(hl);
  230. { we still want a warning if unused }
  231. hl.refs:=0;
  232. end
  233. else
  234. getlabel(hl);
  235. symtablestack.insert(tlabelsym.create(pattern,hl));
  236. consume(token);
  237. end;
  238. if token<>_SEMICOLON then consume(_COMMA);
  239. until not(token in [_ID,_INTCONST]);
  240. consume(_SEMICOLON);
  241. end;
  242. { search in symtablestack used, but not defined type }
  243. procedure resolve_type_forward(p : tnamedindexitem);
  244. var
  245. hpd,pd : tdef;
  246. stpos : tfileposinfo;
  247. again : boolean;
  248. srsym : tsym;
  249. srsymtable : tsymtable;
  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. varsym :
  256. if (tsym(p).owner.symtabletype in [objectsymtable,recordsymtable]) then
  257. pd:=tvarsym(p).vartype.def
  258. else
  259. exit;
  260. else
  261. exit;
  262. end;
  263. repeat
  264. again:=false;
  265. case pd.deftype of
  266. arraydef :
  267. begin
  268. { elementtype could also be defined using a forwarddef }
  269. pd:=tarraydef(pd).elementtype.def;
  270. again:=true;
  271. end;
  272. pointerdef,
  273. classrefdef :
  274. begin
  275. { classrefdef inherits from pointerdef }
  276. hpd:=tpointerdef(pd).pointertype.def;
  277. { still a forward def ? }
  278. if hpd.deftype=forwarddef then
  279. begin
  280. { try to resolve the forward }
  281. { get the correct position for it }
  282. stpos:=akttokenpos;
  283. akttokenpos:=tforwarddef(hpd).forwardpos;
  284. resolving_forward:=true;
  285. make_ref:=false;
  286. searchsym(tforwarddef(hpd).tosymname,srsym,srsymtable);
  287. make_ref:=true;
  288. resolving_forward:=false;
  289. akttokenpos:=stpos;
  290. { we don't need the forwarddef anymore, dispose it }
  291. hpd.free;
  292. tpointerdef(pd).pointertype.def:=nil; { if error occurs }
  293. { was a type sym found ? }
  294. if assigned(srsym) and
  295. (srsym.typ=typesym) then
  296. begin
  297. tpointerdef(pd).pointertype.setsym(srsym);
  298. { avoid wrong unused warnings web bug 801 PM }
  299. inc(tstoredsym(srsym).refs);
  300. {$ifdef GDB}
  301. if (cs_debuginfo in aktmoduleswitches) and assigned(debuglist) and
  302. (tsym(p).owner.symtabletype in [globalsymtable,staticsymtable]) then
  303. begin
  304. ttypesym(p).isusedinstab := true;
  305. ttypesym(p).concatstabto(debuglist);
  306. end;
  307. {$endif GDB}
  308. { we need a class type for classrefdef }
  309. if (pd.deftype=classrefdef) and
  310. not(is_class(ttypesym(srsym).restype.def)) then
  311. Message1(type_e_class_type_expected,ttypesym(srsym).restype.def.typename);
  312. end
  313. else
  314. begin
  315. MessagePos1(tsym(p).fileinfo,sym_e_forward_type_not_resolved,tsym(p).realname);
  316. { try to recover }
  317. tpointerdef(pd).pointertype:=generrortype;
  318. end;
  319. end;
  320. end;
  321. recorddef :
  322. trecorddef(pd).symtable.foreach_static({$ifdef FPCPROCVAR}@{$endif}resolve_type_forward);
  323. objectdef :
  324. begin
  325. if not(m_fpc in aktmodeswitches) and
  326. (oo_is_forward in tobjectdef(pd).objectoptions) then
  327. begin
  328. { only give an error as the implementation may follow in an
  329. other type block which is allowed by FPC modes }
  330. MessagePos1(tsym(p).fileinfo,sym_e_forward_type_not_resolved,tsym(p).realname);
  331. end
  332. else
  333. begin
  334. { Check all fields of the object declaration, but don't
  335. check objectdefs in objects/records, because these
  336. can't exist (anonymous objects aren't allowed) }
  337. if not(tsym(p).owner.symtabletype in [objectsymtable,recordsymtable]) then
  338. tobjectdef(pd).symtable.foreach_static({$ifdef FPCPROCVAR}@{$endif}resolve_type_forward);
  339. end;
  340. end;
  341. end;
  342. until not again;
  343. end;
  344. { reads a type declaration to the symbol table }
  345. procedure type_dec;
  346. var
  347. typename,orgtypename : stringid;
  348. newtype : ttypesym;
  349. sym : tsym;
  350. srsymtable : tsymtable;
  351. tt : ttype;
  352. oldfilepos,
  353. defpos,storetokenpos : tfileposinfo;
  354. old_block_type : tblock_type;
  355. ch : tclassheader;
  356. begin
  357. old_block_type:=block_type;
  358. block_type:=bt_type;
  359. consume(_TYPE);
  360. typecanbeforward:=true;
  361. repeat
  362. typename:=pattern;
  363. orgtypename:=orgpattern;
  364. defpos:=akttokenpos;
  365. consume(_ID);
  366. consume(_EQUAL);
  367. { support 'ttype=type word' syntax }
  368. if token=_TYPE then
  369. Consume(_TYPE);
  370. { is the type already defined? }
  371. searchsym(typename,sym,srsymtable);
  372. newtype:=nil;
  373. { found a symbol with this name? }
  374. if assigned(sym) then
  375. begin
  376. if (sym.typ=typesym) then
  377. begin
  378. if ((token=_CLASS) or
  379. (token=_INTERFACE)) and
  380. (assigned(ttypesym(sym).restype.def)) and
  381. is_class_or_interface(ttypesym(sym).restype.def) and
  382. (oo_is_forward in tobjectdef(ttypesym(sym).restype.def).objectoptions) then
  383. begin
  384. { we can ignore the result }
  385. { the definition is modified }
  386. object_dec(orgtypename,tobjectdef(ttypesym(sym).restype.def));
  387. newtype:=ttypesym(sym);
  388. tt:=newtype.restype;
  389. end;
  390. end;
  391. end;
  392. { no old type reused ? Then insert this new type }
  393. if not assigned(newtype) then
  394. begin
  395. { insert the new type first with an errordef, so that
  396. referencing the type before it's really set it
  397. will give an error (PFV) }
  398. tt:=generrortype;
  399. storetokenpos:=akttokenpos;
  400. newtype:=ttypesym.create(orgtypename,tt);
  401. symtablestack.insert(newtype);
  402. akttokenpos:=defpos;
  403. akttokenpos:=storetokenpos;
  404. { read the type definition }
  405. read_type(tt,orgtypename);
  406. { update the definition of the type }
  407. newtype.restype:=tt;
  408. if not assigned(tt.sym) then
  409. tt.sym:=newtype;
  410. if assigned(tt.def) and not assigned(tt.def.typesym) then
  411. tt.def.typesym:=newtype;
  412. { KAZ: handle TGUID declaration in system unit }
  413. if (cs_compilesystem in aktmoduleswitches) and not assigned(rec_tguid) and
  414. (typename='TGUID') and { name: TGUID and size=16 bytes that is 128 bits }
  415. assigned(tt.def) and (tt.def.deftype=recorddef) and (tt.def.size=16) then
  416. rec_tguid:=trecorddef(tt.def);
  417. end;
  418. if assigned(tt.def) then
  419. begin
  420. case tt.def.deftype of
  421. pointerdef :
  422. begin
  423. consume(_SEMICOLON);
  424. if try_to_consume(_FAR) then
  425. begin
  426. tpointerdef(tt.def).is_far:=true;
  427. consume(_SEMICOLON);
  428. end;
  429. end;
  430. procvardef :
  431. begin
  432. if not is_proc_directive(token) then
  433. consume(_SEMICOLON);
  434. parse_var_proc_directives(tsym(newtype));
  435. end;
  436. objectdef,
  437. recorddef :
  438. begin
  439. try_consume_hintdirective(newtype.symoptions);
  440. consume(_SEMICOLON);
  441. end;
  442. else
  443. consume(_SEMICOLON);
  444. end;
  445. end;
  446. { Write tables if we are the typesym that defines
  447. this type. This will not be done for simple type renamings }
  448. if (tt.def.typesym=newtype) then
  449. begin
  450. { file position }
  451. oldfilepos:=aktfilepos;
  452. aktfilepos:=newtype.fileinfo;
  453. { generate rtti info for classes, but not for forward classes }
  454. if (tt.def.deftype=objectdef) and
  455. (oo_can_have_published in tobjectdef(tt.def).objectoptions) and
  456. not(oo_is_forward in tobjectdef(tt.def).objectoptions) then
  457. generate_rtti(newtype);
  458. { generate persistent init/final tables when it's declared in the interface so it can
  459. be reused in other used }
  460. if (not current_module.in_implementation) and
  461. (tt.def.needs_inittable or
  462. is_class(tt.def)) then
  463. generate_inittable(newtype);
  464. { for objects we should write the vmt and interfaces.
  465. This need to be done after the rtti has been written, because
  466. it can contain a reference to that data (PFV)
  467. This is not for forward classes }
  468. if (tt.def.deftype=objectdef) and
  469. not(oo_is_forward in tobjectdef(tt.def).objectoptions) then
  470. begin
  471. if (cs_create_smart in aktmoduleswitches) then
  472. dataSegment.concat(Tai_cut.Create);
  473. ch:=cclassheader.create(tobjectdef(tt.def));
  474. if is_interface(tobjectdef(tt.def)) then
  475. ch.writeinterfaceids;
  476. if (oo_has_vmt in tobjectdef(tt.def).objectoptions) then
  477. ch.writevmt;
  478. ch.free;
  479. end;
  480. aktfilepos:=oldfilepos;
  481. end;
  482. until token<>_ID;
  483. typecanbeforward:=false;
  484. symtablestack.foreach_static({$ifdef FPCPROCVAR}@{$endif}resolve_type_forward);
  485. block_type:=old_block_type;
  486. end;
  487. procedure var_dec;
  488. { parses variable declarations and inserts them in }
  489. { the top symbol table of symtablestack }
  490. begin
  491. consume(_VAR);
  492. read_var_decs(false,false,false);
  493. end;
  494. procedure threadvar_dec;
  495. { parses thread variable declarations and inserts them in }
  496. { the top symbol table of symtablestack }
  497. begin
  498. consume(_THREADVAR);
  499. if not(symtablestack.symtabletype in [staticsymtable,globalsymtable]) then
  500. message(parser_e_threadvars_only_sg);
  501. read_var_decs(false,false,true);
  502. end;
  503. procedure resourcestring_dec;
  504. var
  505. name : stringid;
  506. p : tnode;
  507. storetokenpos,filepos : tfileposinfo;
  508. old_block_type : tblock_type;
  509. sp : pchar;
  510. begin
  511. consume(_RESOURCESTRING);
  512. if not(symtablestack.symtabletype in [staticsymtable,globalsymtable]) then
  513. message(parser_e_resourcestring_only_sg);
  514. old_block_type:=block_type;
  515. block_type:=bt_const;
  516. repeat
  517. name:=pattern;
  518. filepos:=akttokenpos;
  519. consume(_ID);
  520. case token of
  521. _EQUAL:
  522. begin
  523. consume(_EQUAL);
  524. p:=comp_expr(true);
  525. storetokenpos:=akttokenpos;
  526. akttokenpos:=filepos;
  527. case p.nodetype of
  528. ordconstn:
  529. begin
  530. if is_constcharnode(p) then
  531. begin
  532. getmem(sp,2);
  533. sp[0]:=chr(tordconstnode(p).value);
  534. sp[1]:=#0;
  535. symtablestack.insert(tconstsym.create_string(name,constresourcestring,sp,1));
  536. end
  537. else
  538. Message(cg_e_illegal_expression);
  539. end;
  540. stringconstn:
  541. begin
  542. getmem(sp,tstringconstnode(p).len+1);
  543. move(tstringconstnode(p).value_str^,sp^,tstringconstnode(p).len+1);
  544. symtablestack.insert(tconstsym.create_string(name,constresourcestring,sp,tstringconstnode(p).len));
  545. end;
  546. else
  547. Message(cg_e_illegal_expression);
  548. end;
  549. akttokenpos:=storetokenpos;
  550. consume(_SEMICOLON);
  551. p.free;
  552. end;
  553. else consume(_EQUAL);
  554. end;
  555. until token<>_ID;
  556. block_type:=old_block_type;
  557. end;
  558. end.
  559. {
  560. $Log$
  561. Revision 1.32 2001-08-30 20:13:53 peter
  562. * rtti/init table updates
  563. * rttisym for reusable global rtti/init info
  564. * support published for interfaces
  565. Revision 1.31 2001/06/03 21:57:35 peter
  566. + hint directive parsing support
  567. Revision 1.30 2001/05/08 21:06:31 florian
  568. * some more support for widechars commited especially
  569. regarding type casting and constants
  570. Revision 1.29 2001/04/13 01:22:11 peter
  571. * symtable change to classes
  572. * range check generation and errors fixed, make cycle DEBUG=1 works
  573. * memory leaks fixed
  574. Revision 1.28 2001/04/04 22:43:50 peter
  575. * remove unnecessary calls to firstpass
  576. Revision 1.27 2001/04/04 21:30:43 florian
  577. * applied several fixes to get the DD8 Delphi Unit compiled
  578. e.g. "forward"-interfaces are working now
  579. Revision 1.26 2001/04/02 21:20:31 peter
  580. * resulttype rewrite
  581. Revision 1.25 2001/03/11 22:58:49 peter
  582. * getsym redesign, removed the globals srsym,srsymtable
  583. Revision 1.24 2000/12/25 00:07:27 peter
  584. + new tlinkedlist class (merge of old tstringqueue,tcontainer and
  585. tlinkedlist objects)
  586. Revision 1.23 2000/12/07 17:19:42 jonas
  587. * new constant handling: from now on, hex constants >$7fffffff are
  588. parsed as unsigned constants (otherwise, $80000000 got sign extended
  589. and became $ffffffff80000000), all constants in the longint range
  590. become longints, all constants >$7fffffff and <=cardinal($ffffffff)
  591. are cardinals and the rest are int64's.
  592. * added lots of longint typecast to prevent range check errors in the
  593. compiler and rtl
  594. * type casts of symbolic ordinal constants are now preserved
  595. * fixed bug where the original resulttype.def wasn't restored correctly
  596. after doing a 64bit rangecheck
  597. Revision 1.22 2000/11/29 00:30:35 florian
  598. * unused units removed from uses clause
  599. * some changes for widestrings
  600. Revision 1.21 2000/11/12 22:17:46 peter
  601. * some realname updates for messages
  602. Revision 1.20 2000/11/11 16:19:11 peter
  603. * allow far directive for pointer type declarations
  604. Revision 1.19 2000/11/04 14:25:20 florian
  605. + merged Attila's changes for interfaces, not tested yet
  606. Revision 1.18 2000/10/31 22:02:49 peter
  607. * symtable splitted, no real code changes
  608. Revision 1.17 2000/10/14 10:14:51 peter
  609. * moehrendorf oct 2000 rewrite
  610. Revision 1.16 2000/09/24 21:19:50 peter
  611. * delphi compile fixes
  612. Revision 1.15 2000/09/24 15:06:21 peter
  613. * use defines.inc
  614. Revision 1.14 2000/09/11 17:00:23 florian
  615. + first implementation of Netware Module support, thanks to
  616. Armin Diehl ([email protected]) for providing the patches
  617. Revision 1.13 2000/08/27 20:19:39 peter
  618. * store strings with case in ppu, when an internal symbol is created
  619. a '$' is prefixed so it's not automatic uppercased
  620. Revision 1.12 2000/08/27 16:11:51 peter
  621. * moved some util functions from globals,cobjects to cutils
  622. * splitted files into finput,fmodule
  623. Revision 1.11 2000/08/20 15:01:17 peter
  624. * don't allow forward class in separate type blocks for delphi (merged)
  625. Revision 1.10 2000/08/17 09:17:19 pierre
  626. * fix go32v2 cycle problem
  627. Revision 1.9 2000/08/16 18:33:53 peter
  628. * splitted namedobjectitem.next into indexnext and listnext so it
  629. can be used in both lists
  630. * don't allow "word = word" type definitions (merged)
  631. Revision 1.8 2000/08/13 13:11:28 peter
  632. * put defaultpara values in parast and changed the name to
  633. 'def<Parameter name>'
  634. Revision 1.7 2000/08/13 08:42:59 peter
  635. * support absolute refering to funcret (merged)
  636. Revision 1.6 2000/08/02 19:49:59 peter
  637. * first things for default parameters
  638. Revision 1.5 2000/07/30 17:04:43 peter
  639. * merged fixes
  640. Revision 1.4 2000/07/14 05:11:49 michael
  641. + Patch to 1.1
  642. Revision 1.3 2000/07/13 12:08:26 michael
  643. + patched to 1.1.0 with former 1.09patch from peter
  644. Revision 1.2 2000/07/13 11:32:44 michael
  645. + removed logs
  646. }