Commit Graph

131 Commits

Author SHA1 Message Date
peter
32b9cdb7cf + new tlinkedlist class (merge of old tstringqueue,tcontainer and
tlinkedlist objects)
2000-12-25 00:07:25 +00:00
peter
08a2626652 * fixed bug #1286 2000-12-22 22:38:12 +00:00
Jonas Maebe
f2c918935a - removed obsolete special case for range checking of cardinal constants
at compile time
2000-12-20 15:59:40 +00:00
Jonas Maebe
4b7aa484f1 * fixed range checking of cardinal constants
* fixed range checking of "qword constants" (they don't really exist,
    but values > high(int64) were set to zero if assigned to qword)
2000-12-11 19:13:54 +00:00
Jonas Maebe
44b0e19ffe * fix for web bug #1245: arrays of char with size >255 are now passed to
overloaded procedures which expect ansistrings instead of shortstrings
    if possible
  * pointer to array of chars (when using $t+) are now also considered
    pchars
2000-12-08 14:06:11 +00:00
Jonas Maebe
5d4f432257 * testrange now always cuts a constant to the size of the destination
if a rangeerror occurred
  * changed an "and $ffffffff" to "and (int64($fffffff) shl 4 + $f" to
    work around the constant evaluation problem we currently have
2000-11-20 15:52:47 +00:00
Jonas Maebe
a5f9476ddf * fix in testrange so that 64bit constants are properly truncated when
assigned to 32bit vars
2000-11-13 14:42:41 +00:00
florian
5694e05857 * some bugs with interfaces and NIL fixed 2000-11-13 11:30:54 +00:00
florian
1462deb207 * interfaces are basically running 2000-11-12 23:24:10 +00:00
peter
efcc15cfee * farpointer and normal pointer aren't compatible 2000-11-11 16:13:31 +00:00
peter
de70cf38b3 * more fixes 2000-11-06 22:30:30 +00:00
florian
51527ba1c9 + merged Attila's changes for interfaces, not tested yet 2000-11-04 14:25:19 +00:00
peter
4bcd969993 * merged asm result patch part 2 2000-10-31 22:30:13 +00:00
peter
451723647e * symtable splitted, no real code changes 2000-10-31 22:02:46 +00:00
florian
f80c24177a * a lot of changes:
- basic dyn. array support
     - basic C++ support
     - some work for interfaces done
     ....
2000-10-21 18:16:11 +00:00
peter
e171f341a0 * moehrendorf oct 2000 rewrite 2000-10-14 10:14:45 +00:00
peter
38951f5ce1 * lot of compile updates for cg11 2000-10-01 19:48:23 +00:00
peter
27749c067e * more cg11 updates 2000-09-30 16:08:45 +00:00
peter
a71e44ac49 * use defines.inc 2000-09-24 15:06:10 +00:00
Jonas Maebe
857149a109 * fixed bug in push_addr_param for arrays (merged from fixes branch) 2000-09-18 12:31:15 +00:00
peter
13afe3efbe * array of const isn't equal with array of <type> (merged) 2000-09-10 20:16:21 +00:00
peter
e2a243ff1c * fixed bug with comparing constsym strings 2000-08-19 19:51:03 +00:00
florian
244fc53520 + support of 64 bit integer constants 2000-08-16 13:06:06 +00:00
peter
68283a4c62 * equal_paras now also checks default parameter value 2000-08-13 13:07:18 +00:00
florian
cd6180fe99 + case statement for int64/qword implemented 2000-08-12 06:46:06 +00:00
peter
b2a4233525 * equal_constsym() needed for default para 2000-08-08 19:26:41 +00:00
michael
665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 2000-07-13 12:08:24 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +00:00
peter
5db0ddd7e9 * fix for bug #988 2000-06-30 22:12:26 +00:00
pierre
38f27344f4 * equal_paras and convertable_paras changed by transforming third parameter
into an enum with three possible values:
    cp_none, cp_value_equal_const and cp_all.
2000-06-20 12:47:52 +00:00
florian
1dac75340e * fixed a problem with subrange enumerations in case statements 2000-05-28 15:22:54 +00:00
florian
9573dc7006 * some new stuff for the new cg 2000-03-01 15:36:11 +00:00
daniel
fb1a842118 * Current work of symtable integration committed. The symtable can be
activated by defining 'newst', but doesn't compile yet. Changes in type
  checking and oop are completed. What is left is to write a new
  symtablestack and adapt the parser to use it.
2000-02-28 17:23:56 +00:00
peter
4a4a24b6e8 * log truncated 2000-02-09 13:22:42 +00:00
peter
49365d74ba * is_voidpointer 2000-02-01 09:44:03 +00:00
peter
e525797c51 * updated copyright to 2000 2000-01-07 01:14:18 +00:00
Jonas Maebe
5e6f3268b4 * when range checking is off, constants that are out of bound are no longer
truncated to their max/min legal value but left alone (jsut an "and" is done to
    make sure they fit in the allocated space if necessary)
2000-01-04 16:35:58 +00:00
peter
3cc443d181 * fixed crash with empty array constructors 1999-12-31 14:26:27 +00:00
peter
0512ba80fb + ttype, tsymlist 1999-11-30 10:40:42 +00:00
peter
0887060ff2 * truncated log to 20 revs 1999-11-06 14:34:16 +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
78246cf227 * fixed is_equal for proc -> procvar which didn't check the
callconvention and type anymore since the splitting of procoptions
1999-10-01 10:04:07 +00:00
peter
49fcd8aceb * forward type declaration rewritten 1999-10-01 08:02:45 +00:00
florian
863df30860 + rtti is now automatically generated for published classes, i.e.
they are handled like an implicit property
1999-09-15 22:09: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
peter
d03f29df08 * more fixes for push_addr 1999-08-13 21:27:08 +00:00
peter
ceecb1c885 * fixed push_addr_param for records < 4, the array high<low range check
broke this code.
1999-08-13 15:38:23 +00:00
florian
e6c1b96cff * some small problems fixed 1999-08-07 14:20:55 +00:00
daniel
df07c1a0f5 * Recommitted the arraydef overflow bugfix. 1999-08-07 13:36:54 +00:00