peter
338a386280
* fixed inherited with properties
1999-11-05 00:10:30 +00:00
peter
e0fe0916fd
* check for object in extended new
1999-10-27 16:06:19 +00:00
peter
503d5a1cfa
* const parameter is now checked
...
* better and generic check if a node can be used for assigning
* export fixes
* procvar equal works now (it never had worked at least from 0.99.8)
* defcoll changed to linkedlist with pparaitem so it can easily be
walked both directions
1999-10-26 12:30:40 +00:00
peter
8e7dd52200
* error when properties are passed to var parameters
1999-10-22 14:37:25 +00:00
peter
89b677a0ee
* split type reading from pdecl to ptype unit
...
* parameter_dec routine is now used for procedure and procvars
1999-10-22 10:39:34 +00:00
florian
fa19f0aa09
- removed the hcodegen use in the new cg, use cgbase instead
1999-10-14 14:57:51 +00:00
peter
6b2a0a3a5c
* fixed result access in 'if result = XXX then'
...
* fixed const cr=chr(13)
1999-09-28 11:03:54 +00:00
peter
6b1ab5eb31
* procinfo is now a pointer
...
* support for result setting in sub procedure
1999-09-27 23:44:46 +00:00
peter
0f8f8e8ff4
* fix for pointer reading in const with @type.method
1999-09-27 11:59:42 +00:00
peter
2687d75c38
+ constant pointer support which can happend with typecasting like
...
const p=pointer(1)
* better procvar parsing in typed consts
1999-09-26 21:30:15 +00:00
florian
1c638f2952
* small fix to operator overloading when in MMX mode
...
+ the compiler uses now fldz and fld1 if possible
+ some fixes to floating point registers
+ some math. functions (arctan, ln, sin, cos, sqrt, sqr, pi) are now inlined
* .... ???
1999-09-15 20:35:37 +00:00
peter
8a6774104d
* fix crash with empty object as childs
1999-09-13 16:26:32 +00:00
florian
35eef74308
* bug fix for @tobject.method, fixes bug #557 , 605 and 606
1999-09-11 19:47:26 +00:00
florian
1609dde2ca
* fixed bug #596
...
* fixed some problems with procedure variables and procedures of object,
especially in TP mode. Procedure of object doesn't apply only to classes,
it is also allowed for objects !!
1999-09-11 09:08:31 +00:00
florian
a9d8bfa1f7
* some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid)
...
* most things for stored properties fixed
1999-09-10 18:48:00 +00:00
peter
7fd914d24c
* @(<x>) support
1999-09-07 08:01:20 +00:00
peter
678aa200f1
* fixed crash with assigned()
1999-09-01 22:08:58 +00:00
peter
7b5e8ad618
* fixed property writeaccess which was buggy after my previous
...
subscribed property access
1999-08-15 22:47:45 +00:00
peter
8d9aa81d3a
* hack to support property with record fields
1999-08-14 00:38:53 +00:00
peter
67e1069659
* fixed crash after wrong para's with class contrustor
1999-08-09 22:16:29 +00:00
peter
cb8aeb3fd6
* V_Fatal=1, all other V_ are also increased
...
* Check for local procedure when assigning procvar
* fixed comment parsing because directives
* oldtp mode directives better supported
* added some messages to errore.msg
1999-08-05 16:52:53 +00:00
florian
ab66749e27
* new(...)^. is now allowed
1999-08-04 13:49:45 +00:00
Jonas Maebe
ace7ff6983
* all tokens now start with an underscore
...
* PowerPC compiles!!
1999-08-04 13:02:40 +00:00
florian
ca53eee67e
* renamed i386asm and i386base to cpuasm and cpubase
1999-08-04 00:22:34 +00:00
peter
ed8eb13d59
* moved bitmask constants to sets
...
* some other type/const renamings
1999-08-03 22:02:29 +00:00
michael
eba7f7c4ed
+ Changes for alpha
1999-08-03 13:50:16 +00:00
florian
7e74642b02
* modifications for the new code generator
1999-08-01 18:28:09 +00:00
peter
538e677425
* fixed crash with unknown id and colon parameter in write
1999-07-30 12:28:40 +00:00
peter
30be2bf063
* indirect type referencing is now allowed
1999-07-27 23:42:10 +00:00
peter
62273909ca
* fixed crash with resourcestring
1999-07-23 21:31:42 +00:00
peter
f380e3bd68
* error for illegal type reference, instead of 10998
1999-07-23 11:37:46 +00:00
florian
35f636dea1
+ resourcestring implemented
...
+ start of longstring support
1999-07-22 09:37:28 +00:00
peter
45bf051885
* merged
1999-07-16 10:04:32 +00:00
florian
42f09e54ae
* another fix for TP/Delphi styled procedure variables
1999-07-06 22:38:11 +00:00
peter
248826aa81
* removed temp defines
1999-07-05 20:13:06 +00:00
peter
e303022851
* merged
1999-07-01 21:33:57 +00:00
florian
cc8c629550
* two bugs regarding method variables fixed
...
- if you take in a method the address of another method
don't need self anymore
- if the class pointer was in a register, wrong code for a method
variable load was generated
1999-06-30 15:43:18 +00:00
pierre
2083621f3e
* mereg from fixes-0_99_12 branch
1999-06-26 00:24:53 +00:00
pierre
e8da115c3f
* merged from 0_99_12 branch
1999-06-17 13:19:50 +00:00
peter
c36ae78617
* merged
1999-06-15 18:58:33 +00:00
peter
99395db696
* merged from fixes
1999-06-13 22:41:05 +00:00
pierre
5f05d07dcb
* previous wrong log corrected
1999-06-02 22:43:57 +00:00
pierre
35777a48a1
types.pas
1999-06-02 22:25:22 +00:00
peter
94c276ce8d
* better checks for procvar and methodpointer
1999-06-01 19:27:47 +00:00
peter
0b272f13c7
* removed oldasm
...
* plabel -> pasmlabel
* -a switches to source writing automaticly
* assembler readers OOPed
* asmsymbol automaticly external
* jumptables and other label fixes for asm readers
1999-05-27 19:43:55 +00:00
peter
e8bf496ae8
* containsself fixes
...
* checktypes()
1999-05-18 14:15:18 +00:00
peter
d4659125d9
* procedure of object and addrn fixes
1999-05-18 09:52:17 +00:00
peter
b9d655b118
* remove firstcallparan which looks obsolete
1999-05-16 17:06:31 +00:00
florian
d8307b9cd3
* override isn't allowed in objects!
1999-05-12 22:36:04 +00:00
florian
a62eb5e144
* first fix for a problem with method pointer properties, still doesn't work
...
with WITH
1999-05-07 10:35:20 +00:00
peter
9abbb34b34
* fixed crash
1999-05-06 21:40:16 +00:00
peter
8ba31512e1
* check for calln in handle_procvar
1999-05-06 10:13:20 +00:00
peter
1c96916943
* generic write_float and str_float
...
* fixed constant float conversions
1999-05-06 09:05:05 +00:00
florian
78d13ec796
* changes to compile it with Delphi 4.0
1999-05-04 21:44:30 +00:00
peter
611da2d24e
* merged nasm compiler
...
* old asm moved to oldasm/
1999-05-01 13:23:57 +00:00
peter
49786e5fe5
* farpointerdef moved into pointerdef.is_far
1999-04-26 18:29:54 +00:00
peter
d2f717c9e0
* removed my property fix
1999-04-19 09:27:48 +00:00
peter
0869bc80e9
* class property without write support
1999-04-19 09:13:47 +00:00
florian
b6a9251cf3
* property problem fixed: a propertysym is only a write
...
access if it is followed by a assignment token
1999-04-19 06:10:08 +00:00
peter
dc1f9b5bbb
* addr() internal
1999-04-17 13:10:23 +00:00
peter
10c57d43f3
* fixed property write
1999-04-15 09:00:08 +00:00
florian
982e083f76
* fixed problem with default properties which are a class
...
* case bug (from the mailing list with -O2) fixed, the
distance of the case labels can be greater than the positive
range of a longint => it is now a dword for fpc
1999-04-08 20:59:37 +00:00
peter
ee82810a16
* more use of ttoken
1999-04-06 11:21:56 +00:00
peter
2bfdf91c5c
* assembler inlining working for ag386bin
1999-03-31 13:55:03 +00:00
peter
6a802e85d7
* released valintern
...
+ deffile is now removed when compiling is finished
* ^( compiles now correct
+ static directive
* shrd fixed
1999-03-26 00:05:26 +00:00
peter
d0cb5a147a
* fixed bugs 212,222,225,227,229,231,233
1999-03-24 23:16:42 +00:00
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