paul
|
101f545ad0
compiler: don't allow generic object types (interfaces,dispinterfaces,objclasses,...) to have type,var,const sections if regular object types don't have them. currently only objects, classes and records are allowed to have nested type,var,const sections.
|
14 년 전 |
paul
|
51a9d3280c
compiler: require at least one argument of class operator to be of type of structure where this operator is declared
|
14 년 전 |
paul
|
3c6fde4acc
compiler: rename parser_e_constructors_always_objects message to parser_e_only_methods_allowed and extended the meaning it has, don't allow class constructors to be declared outside the class/record + test
|
14 년 전 |
paul
|
d1026bb052
compiler: reintegrate branch http://svn.freepascal.org/svn/fpc/branches/paul/extended_records
|
14 년 전 |
paul
|
742b0bb686
compiler: partly revert r16560 and disable (at least temporary) constructors in records
|
14 년 전 |
paul
|
582ab2dd32
compiler: disallow regular class methods in records and allow only static class methods. delphi do so and it is logical because records have no inheritance. + tests
|
14 년 전 |
paul
|
7852295f26
compiler: start parsing of record constructors and destructors:
|
14 년 전 |
Jonas Maebe
|
3a089cea10
* give an error when trying to let an objcclass conform to a
|
14 년 전 |
paul
|
8e36256bc9
compiler: add support for visibility blocks in records and type, const declarations:
|
14 년 전 |
florian
|
675c3391d1
* makes compiler report nice error when one tries to use specialize for function result type, based on a patch by Aleksa Todorovic, part of #15875
|
14 년 전 |
florian
|
d30952b408
* patch by Aleksa Todorovic which adds the ability to reference current generic class. Each reference to current generic class is "translated" to appropriate specialization of that generic class. There are two tests as part of the patch to test that it works. The patch, also, rejects declaring generic inside another generic. 0010479 is easy to implement with this patch applied, resolves #11777
|
15 년 전 |
florian
|
1c5a3b6bf0
o patch by Graeme Geldenhuys
|
15 년 전 |
florian
|
0a625c856d
+ don't allow non local gotos across procedures containing exception frames
|
15 년 전 |
Jonas Maebe
|
ae1fb2bf74
+ documented darwin, iphonesim, solaris and win64 options for -T
|
15 년 전 |
Jonas Maebe
|
1633341906
* treat methods added via an objccategory to an objcclass in exactly the
|
15 년 전 |
pierre
|
c03fa8e79d
+ Add warning if @GOTPCREL will not be honored
|
15 년 전 |
florian
|
deef8dfa33
* better error message in case of self-referencing generics specialization, resolves #17181
|
15 년 전 |
Jonas Maebe
|
cc2f4138a3
* make it clear that the unit_u_source_modified is about source files that
|
15 년 전 |
florian
|
0085c22c59
- NaN floating point constants do not anymore cause an error when $Q or $R is active (resolves #16315 and #14757)
|
15 년 전 |
florian
|
24fea58b92
+ initial implementation of iso style gotos in iso mode
|
15 년 전 |
Jonas Maebe
|
57bd6d2685
+ merged nestedprocvars branch
|
15 년 전 |
Jonas Maebe
|
62d677eb92
+ support for formally declared objcclasses ("type x=objcclass;external;")
|
15 년 전 |
Jonas Maebe
|
835899524b
+ support for Objective-Pascal for-in loops ("fast enumerations")
|
15 년 전 |
Jonas Maebe
|
cddb2ffcae
* give a compile-time error when trying to define a short/ansistring typed constant
|
15 년 전 |
Jonas Maebe
|
0dcedf3799
* do not crash but give a fatal error when using Objective-Pascal code
|
15 년 전 |
paul
|
24d8a7d833
compiler: start implementation of class constructors/destructors: parsing is ready but at the moment neither class constructors nor destructors are called - this is to be implemented
|
15 년 전 |
Jonas Maebe
|
0cfc6e1cac
+ support for "univ" in macpas mode: a parameter modifier that allows
|
15 년 전 |
Jonas Maebe
|
bb28dd7d08
* also show Darwin-specific external resource options for ARM and x86_64
|
15 년 전 |
paul
|
a8381c8b32
fpc: compiler:
|
15 년 전 |
florian
|
c6ffbe9eda
* support string constants > 255 chars
|
15 년 전 |