svenbarth
|
a944be69a6
* nflw.pas: search for enumerators in helpers for records as well
|
14 vuotta sitten |
florian
|
736071e716
* updated copyright to 2011
|
14 vuotta sitten |
florian
|
f328b6d635
+ user section type
|
14 vuotta sitten |
svenbarth
|
f7f357f18e
* symconst.pas:
|
14 vuotta sitten |
svenbarth
|
963a4d7b23
Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef).
|
14 vuotta sitten |
svenbarth
|
7cc7826343
- msg*: found a message to reuse
|
14 vuotta sitten |
svenbarth
|
07eebff55c
Rebase to revision 16827
|
14 vuotta sitten |
svenbarth
|
d4be11cb42
Implement advanced class helper syntax which allows "inheritance" of class helpers. This is not the same as normal class inheritance as its only used to extend the scope to other class helpers (that pseudo heritage line) when searching for a symbol. The real parent is always the extended class.
|
14 vuotta sitten |
marco
|
88fe11958b
* one letter type fixed, reported by Vincent
|
14 vuotta sitten |
marco
|
ee3004a350
* moved an \end{description} so that the user manual compiles again.
|
14 vuotta sitten |
paul
|
0c9b40acb7
compiler: record operators
|
14 vuotta sitten |
paul
|
368c215070
compiler: always derive DispInterface from IDispatch, this solve a problem with assigning dispinterface to IUnknown or IDispatch variables
|
14 vuotta sitten |
paul
|
bd64575add
compiler: require generic name with type parameters for the method class prefix (like TGenericClass<T>.MethodName instead of TGenericClass.MethodName) in delphi mode
|
14 vuotta sitten |
Jonas Maebe
|
3ca3276400
* changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
|
14 vuotta sitten |
paul
|
79813da090
compiler: don't allow record case with parameterized members
|
14 vuotta sitten |
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.
|
15 vuotta sitten |
paul
|
51a9d3280c
compiler: require at least one argument of class operator to be of type of structure where this operator is declared
|
15 vuotta sitten |
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
|
15 vuotta sitten |
Jonas Maebe
|
ce93333bda
* fixed end of LaTeX environment after r16574 (mantis #18286)
|
15 vuotta sitten |
paul
|
d1026bb052
compiler: reintegrate branch http://svn.freepascal.org/svn/fpc/branches/paul/extended_records
|
15 vuotta sitten |
paul
|
742b0bb686
compiler: partly revert r16560 and disable (at least temporary) constructors in records
|
15 vuotta sitten |
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
|
15 vuotta sitten |
paul
|
7852295f26
compiler: start parsing of record constructors and destructors:
|
15 vuotta sitten |
Jonas Maebe
|
3a089cea10
* give an error when trying to let an objcclass conform to a
|
15 vuotta sitten |
paul
|
8e36256bc9
compiler: add support for visibility blocks in records and type, const declarations:
|
15 vuotta sitten |
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
|
15 vuotta sitten |
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 vuotta sitten |
florian
|
1c5a3b6bf0
o patch by Graeme Geldenhuys
|
15 vuotta sitten |
florian
|
0a625c856d
+ don't allow non local gotos across procedures containing exception frames
|
15 vuotta sitten |
mazen
|
b127fc154a
* Fixed spell error revealed by lintian.
|
15 vuotta sitten |