Commit Graph

432 Commits

Author SHA1 Message Date
peter
611da2d24e * merged nasm compiler
* old asm moved to oldasm/
1999-05-01 13:23:57 +00:00
peter
884c517b18 * release storenumber,double_checksum 1999-04-26 13:31:24 +00:00
peter
cb70b62a82 * storenumber works
* fixed some typos in double_checksum
  + incompatible types type1 and type2 message (with storenumber)
1999-04-21 09:43:28 +00:00
pierre
7482ba0913 * void pointer accepted with warning in tp and delphi mode 1999-04-16 12:14:44 +00:00
pierre
9bca84a43d * fix for bug0234 1999-04-15 12:58:07 +00:00
peter
bedd3653f2 * fixed set loading
* object inheritance support for browser
1999-04-15 09:01:32 +00:00
daniel
1335d7de8a * Better use of routines in pbase and symtable. 4k code removed. 1999-04-14 18:41:24 +00:00
peter
cc9df8d478 * first things to store the symbol/def number in the ppu 1999-04-14 09:14:44 +00:00
pierre
dae5c188e4 * bug found by Peter for DirectWith code fixed 1999-04-09 12:22:06 +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
pierre
ebd2da41dc * typecheck for exit(value) : resulttype was not set 1999-03-10 11:23:29 +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
peter
c5e45b576b + stabs support for binary writers
* more fixes and missing updates from the previous commit :(
1999-03-02 02:56:08 +00:00
peter
a17c03cca3 * assembler writers fixed for ag386bin 1999-02-26 00:48:13 +00:00
pierre
0669413251 + -b and -bl options work !
+ cs_local_browser ($L+) is disabled if cs_browser ($Y+)
    is not enabled when quitting global section
  * local vars and procedures are not yet stored into PPU
1999-02-22 13:06:52 +00:00
peter
bf9b5e3a54 * updates for ag386bin 1999-02-22 02:14:59 +00:00
pierre
c881aae7e9 * fix for bug0216 1999-02-15 13:13:15 +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
b73b83a01b + complex results for assembler functions, fixes bug0155 1999-02-09 15:45:46 +00:00
pierre
714da479ee * memory leak in case optimization fixed 1999-01-27 13:06:57 +00:00
peter
eadf1f63b4 * more fixes for the on bug with unknown id 1999-01-25 22:49:09 +00:00
florian
90d0bea35a * first running version of the new code generator
* when compiling exceptions under Linux fixed
1999-01-23 23:29:31 +00:00
pierre
0cfc4c8f6b * fix for constructor inside with statements 1999-01-21 16:40:51 +00:00
florian
d15d426756 * mainly problem with invalid case ranges fixed (reported by Jonas) 1999-01-05 08:19:59 +00:00
Jonas Maebe
8cf4da6d5e + optimize pascal code surrounding assembler blocks 1998-12-29 18:48:15 +00:00
peter
2f303a746d * fixed new(x) crash if x contains an error 1998-12-23 22:52:56 +00:00
Jonas Maebe
75331d6648 * released CaseRange 1998-12-16 12:30:59 +00:00
Jonas Maebe
401078117f + convert consecutive case labels to a single range (-dCaseRange) 1998-12-15 22:32:24 +00:00
peter
ff335d3911 * fixed dup release of statement label in case 1998-12-15 11:52:18 +00:00
peter
1b369bb4bb + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
florian
4244dda54b + basic operations with int64/qord (compiler with -dint64)
+ rtti of enumerations extended: names are now written
1998-12-10 09:47:13 +00:00
pierre
274bce92b8 + added -Se in Makefile cvstest target
+ lexlevel cleanup
    normal_function_level main_program_level and unit_init_level defined
  * tins_cache grown to A_EMMS (gave range check error in asm readers)
    (test added in code !)
  * -Un option was wrong
  * _FAIL and _SELF only keyword inside
    constructors and methods respectively
1998-11-13 15:40:12 +00:00
pierre
364132b0bb * fix for bug0176 and bug0177 1998-11-12 12:55:16 +00:00
peter
dedaf4db95 * fixed assembler directive and then not an ASM statement 1998-11-05 23:43:24 +00:00
peter
3fcd0a1086 * fixed dispose(destructor) crash when destructor didn't exists 1998-10-30 16:20:22 +00:00
pierre
1a77339355 * several memory corruptions due to double freemem solved
=> never use p^.loc.location:=p^.left^.loc.location;
  + finally I added now by default
    that ra386dir translates global and unit symbols
  + added a first field in tsymtable and
    a nextsym field in tsym
    (this allows to obtain ordered type info for
    records and objects in gdb !)
1998-10-20 08:06:37 +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
peter
1468993242 * new style for m68k/i386 infos and enums 1998-10-13 13:10:08 +00:00
peter
075d0d16fc * added eof message
* fixed unit init section parsing with finalize
1998-10-08 13:46:22 +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
7f57cdf52c * the following doesn't work: on texception do, was a parser error, fixed 1998-09-23 21:53:04 +00:00
peter
4ae6e577c5 * merged fix 1998-09-21 10:26:07 +00:00
peter
58c2d999f0 * updated some error messages 1998-09-04 08:41:36 +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
peter
6cc16ea7f1 - removed OLDPPU 1998-08-17 10:10:04 +00:00
peter
6fe91685a0 * fixed some crashes 1998-08-12 19:39:28 +00:00
peter
85c8a88cbe + localswitches, moduleswitches, globalswitches splitting 1998-08-10 14:49:33 +00:00
florian
8eb9f6121d * on o : tobject do should also work now, the exceptsymtable shouldn't be
disposed by dellexlevel
1998-08-02 16:41:59 +00:00
florian
23fe1ae0de * try ... expect <statement> end; works now 1998-07-30 16:07:08 +00:00
florian
a1f903d4b1 * final implemenation of exception support, maybe it needs
some fixes :)
1998-07-30 13:30:31 +00:00
florian
38ec73449d + first implementation of try ... except on .. do end;
* limitiation of 65535 bytes parameters for cdecl removed
1998-07-30 11:18:13 +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
889203c8ba * fixed realnumber scanning
* [] after asmblock was not uppercased anymore
1998-07-10 10:48:40 +00:00
florian
028721c4de * first version of rtti support 1998-06-25 08:48:04 +00:00
peter
804397de24 * ifdef newppu -> ifndef oldppu 1998-06-24 14:48:34 +00:00
peter
fe323891cf * fixed the name changes 1998-06-24 14:06:33 +00:00
peter
3968111048 * renamed RA* units 1998-06-23 14:00:15 +00:00
peter
f98459e1fb * smartlinking works for win32
* some defines to exclude some compiler parts
1998-06-08 22:59:41 +00:00
pierre
1a44be1502 * fixes for inline for operators
* inline procedure more correctly restricted
1998-06-05 14:37:27 +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
4fc1780fe4 + $ASMMODE 1998-05-30 14:31:02 +00:00
pierre
2e4f12cfd9 * OPR_REGISTER for 1 arg was missing in ratti386.pas
(probably a merging problem)
  * errors at start of line were lost
1998-05-29 09:58:14 +00:00
peter
d4c6283e32 * fixed -R switch, it didn't work after my previous akt/init patch
* fixed bugs 110,130,136
1998-05-28 17:26:47 +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
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
a10c3e36bc * GDB works again better :
correct type info in one pass
  + UseTokenInfo for better source position
  * fixed one remaining bug in scanner for line counts
  * several little fixes
1998-04-30 15:59:39 +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
pierre
9b14f1f183 * several bugfixes
ADD ADC and AND are also sign extended
    nasm output OK (program still crashes at end
    and creates wrong assembler files !!)
    procsym types sym in tdef removed !!
1998-04-08 16:58:01 +00:00
florian
2d790e0158 * secondin bugfix (m68k and i386)
* overflow checking bugfix (m68k and i386) -- pretty useless in
    secondadd, since everything is done using 32-bit
  * loading pointer to routines hopefully fixed (m68k)
  * flags problem with calls to RTL internal routines fixed (still strcmp
    to fix) (m68k)
  * #ELSE was still incorrect (didn't take care of the previous level)
  * problem with filenames in the command line solved
  * problem with mangledname solved
  * linking name problem solved (was case insensitive)
  * double id problem and potential crash solved
  * stop after first error
  * and=>test problem removed
  * correct read for all float types
  * 2 sigsegv fixes and a cosmetic fix for Internal Error
  * push/pop is now correct optimized (=> mov (%esp),reg)
1998-03-28 23:09:53 +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