Commit Graph

73 Commits

Author SHA1 Message Date
florian
ff5b72e3bd * fixed another problem with readln(<floating point register variable>);
* the register allocator takes now care of necessary pushes/pops for
    readln/writeln
2000-04-02 18:30:11 +00:00
pierre
9c44048ad2 + add error if trying to use readln or writeln for files
or read or write on untyped files.
    Reset and rewrite are still incompatible with BP
    (reset(dat,1); is allowed for typed file !)
2000-03-27 09:42:48 +00:00
Jonas Maebe
82da57a765 * fix for webbug 886 2000-03-22 17:34:53 +00:00
florian
872031518d * fixed bug #879: high and low take now any kind of expression 2000-03-21 09:12:40 +00:00
Jonas Maebe
374a30f3e6 * fixed crash when using undeclared variable in ord construct 2000-02-18 13:52:38 +00:00
Jonas Maebe
1571d1666b * fixed crashing bug when trying to write an undefined fp var with
formatting parameters
2000-02-17 15:39:29 +00:00
florian
dfe879d12e * some updates for the newcg 2000-02-17 14:53:42 +00:00
Jonas Maebe
0ab87d5ed8 * modifications to make the compiler functional when compiled with
-Or
2000-02-13 14:21:50 +00:00
peter
4a4a24b6e8 * log truncated 2000-02-09 13:22:42 +00:00
peter
e525797c51 * updated copyright to 2000 2000-01-07 01:14:18 +00:00
peter
c11fb78c5c * fixed crash with undefined variable 1999-12-30 15:02:10 +00:00
florian
17950502e1 + added support for succ/pred(<qword/int64>) 1999-12-02 12:38:45 +00:00
peter
0512ba80fb + ttype, tsymlist 1999-11-30 10:40:42 +00:00
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
0887060ff2 * truncated log to 20 revs 1999-11-06 14:34:16 +00:00
peter
00ef632f73 * fixed assert, the tree is now disposed in firstpass if assertions
are off.
1999-10-29 15:28:51 +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
florian
0dd2b51943 * problems with readln fixed: esi wasn't restored correctly when
reading ordinal fields of objects futher the register allocation
    didn't take care of the extra register when reading ordinal values
  * enumerations can now be used in constant indexes of properties
1999-10-21 16:41:37 +00:00
florian
ed7dd22b82 * fixed bug #610
+ added $D- for TP in symtable.pas else it can't be compiled anymore
    (too much symbols :()
1999-09-28 20:48:23 +00:00
peter
6b1ab5eb31 * procinfo is now a pointer
* support for result setting in sub procedure
1999-09-27 23:44:46 +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
pierre
f5d21809d7 * halt removed in do_lowhigh 1999-09-07 14:05:11 +00:00
florian
656d4330cd * bug #519 fixed 1999-08-28 15:34:16 +00:00
pierre
71bcdce000 * in_inc_x register allocation corrected 1999-08-23 23:41:04 +00:00
Jonas Maebe
05fd76aeb6 * fix for regvars with the val code 1999-08-06 12:43:13 +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
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
peter
538e677425 * fixed crash with unknown id and colon parameter in write 1999-07-30 12:28:40 +00:00
florian
774df6096e * bug #487 fixed, (inc(<property>) isn't allowed)
* more fixes to compile with Delphi
1999-07-18 14:47:19 +00:00
peter
b4a852e74b * merged 1999-07-05 20:22:08 +00:00
peter
248826aa81 * removed temp defines 1999-07-05 20:13:06 +00:00
florian
3eae7ee6fb + start of val(int64/qword)
* longbool, wordbool constants weren't written, fixed
1999-07-03 14:14:27 +00:00
florian
c615fcdbbb * int64/qword type release
+ lo/hi for int64/qword
1999-07-01 15:49:09 +00:00
florian
26f0321f2f * bug #459 fixed 1999-06-25 10:02:56 +00:00
peter
c36ae78617 * merged 1999-06-15 18:58:33 +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
florian
6b33f4d87d * better error recovering in typed constants
* some problems with arrays of const fixed, some problems
    due my previous
     - the location type of array constructor is now LOC_MEM
     - the pushing of high fixed
     - parameter copying fixed
     - zero temp. allocation removed
  * small problem in the assembler writers fixed:
    ref to nil wasn't written correctly
1999-05-23 18:41:55 +00:00
peter
1c96916943 * generic write_float and str_float
* fixed constant float conversions
1999-05-06 09:05:05 +00:00
florian
f3f9619662 * fixed register allocation for val 1999-05-05 22:25:21 +00:00
florian
8836c26503 * several bugs regarding -Or fixed 1999-05-02 21:33:52 +00:00
peter
611da2d24e * merged nasm compiler
* old asm moved to oldasm/
1999-05-01 13:23:57 +00:00
florian
d27b21891b * changes of Bruessel:
+ message handler can now take an explicit self
     * typinfo fixed: sometimes the type names weren't written
     * the type checking for pointer comparisations and subtraction
       and are now more strict (was also buggy)
     * small bug fix to link.pas to support compiling on another
       drive
     * probable bug in popt386 fixed: call/jmp => push/jmp
       transformation didn't count correctly the jmp references
     + threadvar support
     * warning if ln/sqrt gets an invalid constant argument
1999-04-28 06:01:54 +00:00
peter
c36956fffe * better read/write array 1999-04-26 18:28:12 +00:00
peter
f0b7d9c4c2 * try to convert to string for val() 1999-04-26 09:32:22 +00:00
pierre
abef5e7814 * fix for bug0238.pp 1999-04-15 14:10:51 +00:00
peter
dd1d782e27 * writeln(procvar) support for tp7 mode 1999-04-15 10:00:35 +00:00
peter
cc9df8d478 * first things to store the symbol/def number in the ppu 1999-04-14 09:14:44 +00:00