Commit Graph

204 Commits

Author SHA1 Message Date
Jonas Maebe
ac445c97c1 * fixed webtbf/tw4244
git-svn-id: trunk@779 -
2005-08-02 18:30:33 +00:00
peter
f3cefd7a07 * check precision of floats for determining overload to call,
patch by Gerhard Scholz

git-svn-id: trunk@536 -
2005-06-30 07:32:40 +00:00
peter
1abbfcc698 * don't allow assignments to properties that need a call
and generate a temp structure

git-svn-id: trunk@485 -
2005-06-24 07:34:12 +00:00
peter
393101a64d * allow passing read-only typedconsts to const parameters
git-svn-id: trunk@242 -
2005-06-07 20:42:41 +00:00
peter
4766e62dd2 * allow temp strings to be passed to consts in delphi mode
git-svn-id: trunk@233 -
2005-06-07 12:48:00 +00:00
florian
21038de78d + started with refactoring det_resulttype
+ dosimplify
* inlinenig makes use of dosimplify

git-svn-id: trunk@140 -
2005-05-29 15:15:38 +00:00
florian
ac880214fc * fixed passing function results to const formal defs, see tbs/tb0490.pp
git-svn-id: trunk@56 -
2005-05-21 20:44:04 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
f11458e457 allow gettting the address of read-only typedconsts 2005-04-25 08:59:07 +00:00
peter
88681a14c7 support string[index] for const/var assignment 2005-04-08 15:18:32 +00:00
marco
8d69beb6ef * from peter for bug #3862 2005-04-01 07:12:29 +00:00
peter
6e3d03da7e valid_property is only used for calln. Fields are always allowed 2005-03-28 15:04:40 +00:00
peter
3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 2005-03-25 22:20:18 +00:00
peter
5ed8259ff6 don't allow overloading orddef,enumdef.floatdef for unary operators 2005-03-10 00:15:20 +00:00
peter
339fed5022 * allow assignment to elements of constant dyn array in delphi mode 2005-02-20 13:12:22 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
peter
3af83637d8 * allow more operations on integers with a typecast to pointer 2005-02-14 16:45:00 +00:00
peter
cae7c0baee * allow nil^ passed to var parameter 2005-02-13 20:33:57 +00:00
florian
b060f8f10a * delphi assumes dyn. array access make expressions l-values because it's internally a pointer 2005-02-02 22:16:39 +00:00
florian
5007b3e395 * inherited; works now in delphi mode for private methods; looks like a delphi bug 2005-02-01 22:50:50 +00:00
peter
b009240860 * fix overload choosing with an qword overload
* allow to get the address of string temps in delphi mode
2005-01-25 18:49:45 +00:00
florian
2729f303a4 * taking the address of a resourcestring is allowed now 2005-01-19 23:23:12 +00:00
peter
8d251e8506 * unit mapping rewrite
* new derefmap added
2005-01-19 22:19:41 +00:00
florian
b41c21e6d2 * tmypointer(12435)^ is an l-value 2005-01-19 20:53:27 +00:00
peter
8f8e6f6809 * widestring patches from Alexey Barkovoy 2005-01-10 22:10:26 +00:00
peter
ed7084e0b6 * handle string-open array of (wide)char without variants 2005-01-07 16:22:47 +00:00
peter
2b6456fe16 * procvar handling for tp procvar mode fixed
* proc to procvar moved from addrnode to typeconvnode
  * inlininginfo is now allocated only for inline routines that
    can be inlined, introduced a new flag po_has_inlining_info
2004-12-05 12:28:10 +00:00
peter
7c144223ad * fixed wrong calculation for checking default parameters 2004-11-29 21:40:54 +00:00
peter
e740a66636 * tparaitem removed, use tparavarsym instead
* parameter order is now calculated from paranr value in tparavarsym
2004-11-15 23:35:30 +00:00
peter
6458bd0ce1 * tvarsym splitted 2004-11-08 22:09:58 +00:00
peter
6a0aa09b20 * give IE instead of crash when no procsym is passed for calln 2004-11-01 16:58:57 +00:00
peter
adb6f59eef * small regvar fixes
* loadref parameter removed from concatcopy,incrrefcount,etc
2004-10-24 11:44:28 +00:00
peter
6ffca1688e * fixed visibility for procsyms
* fixed override check when there was no entry yet
2004-10-12 14:34:49 +00:00
peter
63cf4464d3 * tvarsym.varregable added, split vo_regable from varoptions 2004-10-08 17:09:43 +00:00
peter
6180168a5a * register loopvarsym for fields instead of record variable
* don't allow class fields as loop var
2004-09-27 15:15:52 +00:00
peter
67548d9f91 * for loop variable assignment is not allowed anymore 2004-09-13 20:28:26 +00:00
peter
0d81be8dee * fix error when passing constant to var parameter 2004-08-22 11:24:09 +00:00
peter
cf3c1198ea * include unit name in error messages when types are the same 2004-06-23 16:22:45 +00:00
florian
8a9758c5e2 * logs truncated 2004-06-20 08:55:28 +00:00
florian
588e2c38bf * dwarf branch merged 2004-06-16 20:07:06 +00:00
florian
ab2b7b3889 * fixed another formal const problem caused by yesterday's changes 2004-05-25 21:27:35 +00:00
florian
ab316ac66f * properties are allowed as formal const parameters as well 2004-05-24 21:24:40 +00:00
florian
76782a514a * fixed more formal const problems 2004-05-24 21:04:31 +00:00
florian
c809441611 * stricter handling of formal const parameters and IE fixed 2004-05-24 20:39:41 +00:00
peter
b86f2c6a25 * methodpointer is loaded into a temp when it was a calln 2004-05-23 18:28:40 +00:00
peter
a9df763770 * some typeconvs don't allow assignment or passing to var para 2004-05-23 15:03:40 +00:00
peter
8022ce9fd2 * forbid more overloaded operators with orddef/enumdef 2004-05-16 13:29:46 +00:00
florian
e4f4b8acd6 * fixed web bug #3048: comparision of dyn. arrays 2004-04-18 07:52:43 +00:00
peter
f4e7f793f5 * missing result initialization in node2opstr 2004-03-18 16:29:07 +00:00