Commit Graph

87 Commits

Author SHA1 Message Date
Jonas Maebe
1e6d667c3b * changes for internal Val code (do a "make cycle OPT=-dvalintern" to test)
* in cgi386inl: also range checking for subrange types (compile with "-dreadrangecheck")
  * in cgai386: also small fixes to emitrangecheck
1999-03-16 17:52:52 +00:00
pierre
58bfc3ac78 * some m68k fixes (still not compilable !)
* new(tobj) does not give warning if tobj has no VMT !
1999-03-04 13:55:39 +00:00
florian
a7179a75db * behaviaor of PROTECTED and PRIVATE fixed, works now like TP/Delphi 1999-02-22 15:09:39 +00:00
peter
bf9b5e3a54 * updates for ag386bin 1999-02-22 02:14:59 +00:00
pierre
f59803f7d2 * fix for normal method calls inside static methods :
WARNING there were both parser and codegen errors !!
    added static_call boolean to calln tree
1999-02-11 09:46:21 +00:00
florian
3134c9352e * small fix for method pointers
* found the annoying strpas bug, mainly nested call to type cast which
    use ansistrings crash
1999-01-28 14:06:45 +00:00
florian
ccd94e19cc * "procedure of object"-stuff fixed 1999-01-27 00:13:52 +00:00
pierre
0cfc4c8f6b * fix for constructor inside with statements 1999-01-21 16:40:51 +00:00
peter
6ee9d913cd + farpointer type
* absolutesym now also stores if its far
1998-12-30 22:15:45 +00:00
peter
1b369bb4bb + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
florian
df1edc9bc0 * some stuff for procedures of object added
* bug with overridden virtual constructors fixed (reported by Italo Gomes)
1998-12-04 10:18:06 +00:00
peter
a41f61713d + open strings, $P switch support 1998-11-27 14:50:30 +00:00
pierre
4201ea4903 * var:=new(pointer_type) support added 1998-11-25 19:12:51 +00:00
peter
fdb8d828a6 + nil constants 1998-11-13 10:18:09 +00:00
peter
3037445491 * released useansistring
* removed -Sv, its now available in fpc modes
1998-11-05 12:02:30 +00:00
peter
de4cf49059 * ansistring fixes 1998-11-04 10:11:36 +00:00
peter
e659040083 * fixed filedef for typenodetype 1998-10-22 23:57:29 +00:00
pierre
6c1766feed * bug fix for IOCHECK inside a procedure with iocheck modifier
* removed the GPF for unexistant overloading
    (firstcall was called with procedinition=nil !)
  * changed typen to what Florian proposed
    gentypenode(p : pdef) sets the typenodetype field
    and resulttype is only set if inside bt_type block !
1998-10-21 15:12:49 +00:00
pierre
4494bfafb6 * type ptree only allowed inside expression
if following sizeof typeof low high or as first arg of new !!
1998-10-20 15:10:15 +00:00
pierre
136cf23427 * calling of private method allowed inside child object method 1998-10-20 11:15:44 +00:00
pierre
a5f0168fbb * wrong stabs info corrected once again !!
+ variable vmt offset with vmt field only if required
    implemented now !!!
1998-10-19 08:54:53 +00:00
pierre
d91210671d + added oo_hasconstructor and oo_hasdestructor
for objects options
1998-10-15 15:13:25 +00:00
peter
1468993242 * new style for m68k/i386 infos and enums 1998-10-13 13:10:08 +00:00
pierre
9ec2dfaf4a + added tai_const_symbol_offset
for r : pointer = @var.field;
  * better message for different arg names on implementation
    of function
1998-10-12 12:20:37 +00:00
florian
8cc7f2636e + auto dereferencing of pointers to structured types in delphi mode 1998-10-12 10:28:30 +00:00
peter
e3dedeb4b2 * fixed mem leak with arrayconstrutor 1998-10-12 10:05:41 +00:00
peter
166faa64f6 * crash preventions 1998-10-05 13:57:13 +00:00
peter
369e79adf9 + assert() support 1998-10-05 12:32:44 +00:00
peter
630d8ea8d2 * crash preventions 1998-10-01 14:56:24 +00:00
florian
2cd812215b * better error recovering 1998-09-30 07:40:33 +00:00
florian
70920974de * two fixes to get ansi strings work 1998-09-28 16:18:16 +00:00
peter
d4ac5e456b + idtoken and only one token table 1998-09-26 17:45:30 +00:00
peter
8e85a889de + aktmodeswitches 1998-09-24 23:49:05 +00:00
florian
7ff17144f4 * problem with with and classes fixed 1998-09-23 15:46:36 +00:00
peter
a3fbac27af * first working array of const things 1998-09-23 09:58:48 +00:00
florian
31ec3c428f * hasharray for defs fixed
* ansistring code generation corrected (init/final, assignement)
1998-09-20 09:38:45 +00:00
florian
af83d90357 * some changes to compile with Delphi 1998-09-18 16:03:37 +00:00
pierre
8aa4df4046 sizeof(TPOINT) problem 1998-09-17 13:41:16 +00:00
pierre
06104cdb46 * forward def are not put in record or objects
+ added check for forwards also in record and objects
  * dummy parasymtable for unit initialization removed from
  symtable stack
1998-09-09 11:50:52 +00:00
peter
cba20a515a * fixed str(boolean,string) which was allowed
* fixed write(' ':<int expression>) only constants where allowed :(
1998-09-07 22:25:48 +00:00
peter
12a80cf3dc * update smartlinking, uses getdatalabel
* renamed ptree.value vars to value_str,value_real,value_set
1998-09-07 18:45:52 +00:00
peter
58c2d999f0 * updated some error messages 1998-09-04 08:41:36 +00:00
peter
d66124cb2f + internal constant functions 1998-09-01 17:39:46 +00:00
peter
5c013220a3 * fixed smallset generation from elements, it has never worked before! 1998-08-28 10:54:18 +00:00
florian
c1c5ec3235 * internalerror with mod/div fixed 1998-08-23 16:07:20 +00:00
pierre
b61cd6cd0e + TEST_FUNCRET now default (old code removed)
works also for m68k (at least compiles)
1998-08-21 14:08:39 +00:00
peter
7c8e445400 * fixed 'with object do' bug 1998-08-20 21:36:38 +00:00
pierre
2d9cbf7fde + funcret setting in underproc testing
compile with _dTEST_FUNCRET
1998-08-20 09:26:37 +00:00
pierre
d72ca253fe * bug for -So proc assignment to p^rocvar fixed 1998-08-18 16:48:48 +00:00
pierre
6a556346ed * bug about assigning the return value of a function to
a procvar fixed : warning
    assigning a proc to a procvar need @ in FPC mode !!
  * missing file/line info restored
1998-08-18 14:17:08 +00:00