pierre
b528749138
* Notes/Hints for local syms changed to
...
Set_varstate function
1999-11-18 15:34:44 +00:00
pierre
62da9bd4c0
* Notes/hints changes
1999-11-17 17:04:58 +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
6b1ab5eb31
* procinfo is now a pointer
...
* support for result setting in sub procedure
1999-09-27 23:44:46 +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
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
ca53eee67e
* renamed i386asm and i386base to cpuasm and cpubase
1999-08-04 00:22:34 +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
611da2d24e
* merged nasm compiler
...
* old asm moved to oldasm/
1999-05-01 13:23:57 +00:00
peter
5befcfad1e
* ag386bin doesn't use i386.pas anymore
1999-02-22 02:44:07 +00:00
peter
1b369bb4bb
+ globtype,tokens,version unit splitted from globals
1998-12-11 00:02:37 +00:00
pierre
c93531b63f
* ansistring support in extdebug code
1998-11-23 17:49:03 +00:00
peter
37732325f3
* fixed variant warning with was sometimes said with sets
1998-11-05 14:26:47 +00:00
peter
3d984e5bf1
* m68k compiler compiles again
1998-10-06 20:48:56 +00:00
peter
01ec56bec4
* fixed type node which was always set to void :(
1998-09-24 15:13:44 +00:00
peter
ee6e14cd40
* splitted pass_1
1998-09-23 20:42:22 +00:00
peter
3be1a61de4
* high(arrayconstructor) is now correct
...
* procvardef support for variant record
1998-09-23 17:49:59 +00:00
florian
7ff17144f4
* problem with with and classes fixed
1998-09-23 15:46:36 +00:00
peter
0f3b84ca23
* overloading fix for array of const
1998-09-23 12:03:51 +00:00
peter
a3fbac27af
* first working array of const things
1998-09-23 09:58:48 +00:00
peter
bfc89b2587
+ pchar -> string conversion
1998-09-22 15:34:07 +00:00
pierre
d11f7636be
+ added vmt_offset in tobjectdef.write for fututre use
...
(first steps to have objects without vmt if no virtual !!)
+ added fpu_used field for tabstractprocdef :
sets this level to 2 if the functions return with value in FPU
(is then set to correct value at parsing of implementation)
THIS MIGHT refuse some code with FPU expression too complex
that were accepted before and even in some cases
that don't overflow in fact
( like if f : float; is a forward that finally in implementation
only uses one fpu register !!)
Nevertheless I think that it will improve security on
FPU operations !!
* most other changes only for UseBrowser code
(added symtable references for record and objects)
local switch for refs to args and local of each function
(static symtable still missing)
UseBrowser still not stable and probably broken by
the definition hash array !!
1998-09-21 08:45:05 +00:00
florian
16367b50f0
* small compiling problems fixed
1998-09-20 18:00:19 +00:00
florian
84e20b561c
* some things regarding ansistrings fixed
1998-09-20 17:46:47 +00:00
peter
c72691c843
+ pass_2 for cg386
...
* Message() -> CGMessage() for pass_1/pass_2
1998-09-17 09:42:09 +00:00
carl
d909985566
* bugfix of crash with firstaddr on valid code!
1998-09-16 01:06:17 +00:00
pierre
c4a71b4fd9
* wrong checks for colon paras in write commented out
1998-09-11 15:40:21 +00:00
florian
e42095fd18
* my last fix was buggy, corrected
1998-09-09 15:54:42 +00:00
florian
dc329ecee3
* mod/div for cardinal type fixed
1998-09-09 14:37:37 +00:00
pierre
e6a735b448
* typen check in read write
...
there are probably other inline function that have the same bug !!
1998-09-08 14:10:11 +00:00
peter
bab88c3ec6
* removed last fix becasue it was not 100%
1998-09-08 13:50:17 +00:00
peter
5991745ab3
+ can't write type syms anymore
1998-09-08 13:36:24 +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
florian
58027e2792
* possible bug with too few registers in first/secondin fixed
1998-09-05 23:51:05 +00:00
florian
b74af9c243
* some fixes to get -Or work:
...
- inc/dec didn't take care of CREGISTER
- register calculcation of inc/dec was wrong
- var/const parameters get now assigned 32 bit register, but
const parameters only if they are passed by reference !
1998-09-05 23:03:57 +00:00
florian
0d3b28fdbe
+ the boolean comparision a=true generates now the same code as only a,
...
(a=1 was compiled to cmp 1,a now it is compiled to cmp 0,a)
1998-09-05 22:29:57 +00:00
florian
16c2b4a41f
+ switch -vb
...
* while/repeat loops accept now also word/longbool conditions
* makebooltojump did an invalid ungetregister32, fixed
1998-09-05 22:10:54 +00:00
florian
28fd9c1421
* problem with -Or fixed
1998-09-04 11:55:17 +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
ca8c6dde40
* moved message() to hcodegen, so pass_2 also uses them
1998-09-01 09:02:51 +00:00
pierre
3b015ab652
* UseBrowser a little updated (might still be buggy !!)
...
* bug in psub.pas in function specifier removed
* stdcall allowed in interface and in implementation
(FPC will not yet complain if it is missing in either part
because stdcall is only a dummy !!)
1998-09-01 07:54:16 +00:00
peter
886c7ec88f
* fixed error 10 with succ() and pref()
1998-08-31 08:52:03 +00:00
florian
8cf2b05bf3
+ ansistring to pchar type cast fixed
1998-08-28 12:51:39 +00:00
peter
5c013220a3
* fixed smallset generation from elements, it has never worked before!
1998-08-28 10:54:18 +00:00
florian
d4007a291f
+ class types and class reference types are now compatible with void
...
pointers
+ class can be stored now registers, even if a type conversation is applied
1998-08-24 10:05:39 +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
7917210022
- removed obsolete in_*
1998-08-20 12:59:56 +00:00