Commit Graph

278 Commits

Author SHA1 Message Date
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
pierre
2222aab027 * small warning position bug fixed
* support_mmx switches splitting was missing
  * rhide error and warning output corrected
1998-08-18 09:24:35 +00:00
peter
49e9cc95b0 * fixed proc()=expr which was not allowed anymore by my previous fix 1998-08-15 16:50:29 +00:00
peter
fb1bcf7724 + dynamic set contruction
* smallsets are now working (always longint size)
1998-08-14 18:18:37 +00:00
peter
1a6ee8d4f3 * fixed procedure<>procedure construct 1998-08-13 11:00:09 +00:00
peter
befed16714 * write extended to ppu file
* new version 0.99.7
1998-08-11 15:31:35 +00:00
peter
d5e1886c8c * fixed sizeof(array of char) 1998-08-11 14:05:32 +00:00
peter
85c8a88cbe + localswitches, moduleswitches, globalswitches splitting 1998-08-10 14:49:33 +00:00
florian
25b34c1c6c + implementation of raise and try..finally
+ some misc. exception stuff
1998-07-28 21:52:49 +00:00
florian
4caf39e3ac * fix to allow tv like stream registration:
@tmenu.load doesn't work if load had parameters or if load was only
      declared in an anchestor class of tmenu
1998-07-27 21:57:13 +00:00
peter
c9715847f6 * updated messages file 1998-07-14 21:46:38 +00:00
peter
4ac8e5d18f + internal inc/dec 1998-06-25 14:04:17 +00:00
pierre
5ad339b3d8 + added procedure directive parsing for procvars
(accepted are popstack cdecl and pascal)
  + added C vars with the following syntax
    var C calias 'true_c_name';(can be followed by external)
    reason is that you must add the Cprefix

    which is target dependent
1998-06-09 16:01:33 +00:00
pierre
1a44be1502 * fixes for inline for operators
* inline procedure more correctly restricted
1998-06-05 14:37:27 +00:00
peter
f66f837fc8 * m68k compiles
+ .def file creation moved to gendef.pas so it could also be used
    for win32
1998-06-04 23:51:26 +00:00
pierre
afe0d5a50d * demangled name of procsym reworked to become independant of the mangling scheme
Come test_funcret improvements (not yet working)S: ----------------------------------------------------------------------
1998-06-04 09:55:35 +00:00
pierre
f08a7114ae * with node corrected for objects
* small bugs for SUPPORT_MMX fixed
1998-06-02 17:02:59 +00:00
peter
7b28ebd6ef * symtable.pas splitted into includefiles
* symtable adapted for $ifdef NEWPPU
1998-05-27 19:45:02 +00:00
pierre
804a6a36dc * bug fix for empty sets (nil pd was dereferenced ) 1998-05-26 07:53:59 +00:00
pierre
af65f86213 * firstpasscount bug fixed
now all is already set correctly the first time
    under EXTDEBUG try -gp to skip all other firstpasses
    it works !!
  * small bug fixes
    - for smallsets with -dTESTSMALLSET
    - some warnings removed (by correcting code !)
1998-05-25 17:11:36 +00:00
peter
b3865ae063 + aktasmmode, aktoptprocessor, aktoutputformat
+ smartlink per module $SMARTLINK-/+ (like MMX) and moved to aktswitches
  + $LIBNAME to set the library name where the unit will be put in
  * splitted cgi386 a bit (codeseg to large for bp7)
  * nasm, tasm works again. nasm moved to ag386nsm.pas
1998-05-23 01:20:53 +00:00
carl
ed8a63512c * crash bugfix (patched msanually to main branch) 1998-05-22 12:37:03 +00:00
peter
994d0eb578 + better procedure directive handling and only one table 1998-05-21 19:33:31 +00:00
pierre
c80de3be27 + UseTokenInfo now default
* unit in interface uses and implementation uses gives error now
  * only one error for unknown symbol (uses lastsymknown boolean)
    the problem came from the label code !
  + first inlined procedures and function work
    (warning there might be allowed cases were the result is still wrong !!)
  * UseBrower updated gives a global list of all position of all used symbols
    with switch -gb
1998-05-20 09:42:32 +00:00
peter
5e4c788be5 + $ifdef NEWPPU for the new ppuformat
+ $define GDB not longer required
  * removed all warnings and stripped some log comments
  * no findfirst/findnext anymore to remove smartlink *.o files
1998-05-11 13:07:53 +00:00
pierre
6fc80b783f * better position info with UseTokenInfo
UseTokenInfo greatly simplified
  + added check for changed tree after first time firstpass
    (if we could remove all the cases were it happen
    we could skip all firstpass if firstpasscount > 1)
    Only with ExtDebug
1998-05-06 08:38:32 +00:00
florian
a965360572 * problems with properties fixed
* crash fixed:  i:=l when i and l are undefined, was a problem with
    implementation of private/protected
1998-05-05 12:05:42 +00:00
florian
f0daa16b41 * problem with DOM solved: it crashes when accessing a property in a method 1998-05-04 11:22:26 +00:00
florian
3233d4aeb7 * handling of private and protected fixed
+ change_keywords_to_tp implemented to remove
    keywords which aren't supported by tp
  * break and continue are now symbols of the system unit
  + widestring, longstring and ansistring type released
1998-05-01 16:38:44 +00:00
pierre
5cdd60cac8 + added some code for ansistring (not complete nor working yet)
* corrected operator overloading
  * corrected nasm output
  + started inline procedures
  + added starstarn : use ** for exponentiation (^ gave problems)
  + started UseTokenInfo cond to get accurate positions
1998-04-29 10:33:40 +00:00
florian
c5932b0677 + exclude/include with constant second parameter added 1998-04-14 23:27:02 +00:00
florian
9c5d07fbba * small problems solved to get remake3 work 1998-04-09 23:02:14 +00:00
florian
50cbe1751e * problem with previous REGALLOC solved
* improved property support
1998-04-09 22:16:33 +00:00
florian
1d8165e4bc * correct error handling of virtual constructors
* problem with new type declaration handling fixed
1998-04-08 10:26:07 +00:00
florian
bc2d9f0a3f * bug0092, bug0115 and bug0121 fixed
+ packed object/class/array
1998-04-07 22:45:03 +00:00
pierre
c937f63b10 * bugfixes for reset_gdb_info
in MEM parsing for go32v2
    better external symbol creation
    support for rhgdb.exe (lowercase file names)
1998-04-07 13:19:42 +00:00
florian
01575ac687 - switch -Sa removed
- support of a:=b:=0 removed
1998-03-26 11:18:30 +00:00
root
d1a1f501c8 Initial revision 1998-03-25 11:18:12 +00:00