Commit Graph

59 Commits

Author SHA1 Message Date
peter
d3b404c1a4 * fixed bug #698
* removed some notes about unused vars
1999-12-01 12:42:31 +00:00
peter
0512ba80fb + ttype, tsymlist 1999-11-30 10:40:42 +00:00
pierre
df71a1433b * fix for overloading of shr shl mod and div 1999-11-26 13:51:29 +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
pierre
1cac8fdbd8 * global var token was changed by overload code (form bug #707) 1999-11-16 23:45:28 +00:00
peter
76e4b69919 * fixed constant eval for bool xor/or/and bool 1999-11-15 21:53:42 +00:00
pierre
94f418dc11 + one field added for ttoken record for operator
linking the id to the corresponding operator token that
    can now now all be overloaded
  * overloaded operators are resetted to nil in InitSymtable
    (bug when trying to compile a uint that overloads operators twice)
1999-11-15 17:52:59 +00:00
peter
0887060ff2 * truncated log to 20 revs 1999-11-06 14:34:16 +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
956eb97743 * arrayconstructor 2 set conversion is now called always in the
beginning of firstadd
1999-09-16 13:39:14 +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
8a941c2568 * typo in previous commit open_array -> chararray :( 1999-09-13 16:28:05 +00:00
peter
40291ee626 * fixed array check for operators, becuase array can also be a set 1999-09-10 15:40:46 +00:00
peter
be49731850 * pointer add/sub is now as expected and the same results as inc/dec 1999-09-08 16:05:29 +00:00
peter
f89f09413b * > < >= <= support for boolean
* boolean constants are now calculated like integer constants
1999-09-07 07:52:19 +00:00
pierre
e7d56c97a8 * setelementn registers32 corrected 1999-08-23 23:44:05 +00:00
peter
57cf1e75a7 * better fix for muln register allocation 1999-08-07 11:29:26 +00:00
peter
30309fc962 * fixed register count ord*ord 1999-08-05 21:58:57 +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
peter
45bf051885 * merged 1999-07-16 10:04:32 +00:00
pierre
7a913109ff * merged from 0-99-12 branch 1999-06-17 15:32:48 +00:00
pierre
e8da115c3f * merged from 0_99_12 branch 1999-06-17 13:19:50 +00:00
florian
2ad3da43e6 * make cycle fixed i.e. compilation with 0.99.10
* some fixes for qword
  * start of register calling conventions
1999-06-02 10:11:39 +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
florian
a3f17a9e74 * fixed a couple of array related bugs:
- var a : array[0..1] of char;   p : pchar;  p:=a+123; works now
    - open arrays with an odd size doesn't work: movsb wasn't generated
    - introduced some new array type helper routines (is_special_array) etc.
    - made the array type checking in isconvertable more strict, often
      open array can be used where is wasn't allowed etc...
1999-05-19 20:40:12 +00:00
peter
d38e5e0d34 + constant operations on enums, only in fpc mode 1999-05-11 00:47:02 +00:00
peter
1c96916943 * generic write_float and str_float
* fixed constant float conversions
1999-05-06 09:05:05 +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
florian
0596b2b719 * the boolean operators =;<>;xor with LOC_JUMP and LOC_FLAGS
operands fixed, small things for new ansistring management
1999-04-16 20:44:34 +00:00
peter
bedd3653f2 * fixed set loading
* object inheritance support for browser
1999-04-15 09:01:32 +00:00
peter
0ccfd1cb90 * int/int warning removed, only the hint is left 1999-04-08 11:33:56 +00:00
peter
034eab82f3 * fixed char array, which can start with all possible values 1999-03-02 22:52:19 +00:00
peter
bf9b5e3a54 * updates for ag386bin 1999-02-22 02:14:59 +00:00
peter
55640c751c * fixed set operations which still had array constructor as type 1999-01-20 21:05:09 +00:00
Jonas Maebe
b9a674b9fe + fixed bug0163 (set1 <= set2 support) 1999-01-20 17:39:22 +00:00
peter
e7b4349a7f * fix for boolean=true compares 1998-12-30 13:35:35 +00:00
peter
6b4aa2289a * pointer+ord not allowed in tp mode 1998-12-15 17:12:35 +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
peter
d008da6845 * handle array of char the same as strings 1998-11-24 22:59:05 +00:00
peter
85726fcb35 * more ansistring fixes 1998-11-17 00:36:38 +00:00
peter
ac94abe823 * fixed return for ansistrings 1998-11-16 15:33:05 +00:00
peter
85b80b7aef * fixed unknown set operation msg 1998-11-05 14:28:12 +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