On 03.11.2015 15:42, Sven Barth wrote:
Am 03.11.2015 13:49 schrieb "Ondrej Pokorny" <[email protected]
<mailto:[email protected]>>:
>
> What does the "function search_enumerator_operator" in
compiler/symtable.pas do?
>
> Does FPC support enumerator operator overloading? If yes, how?
>
> There doesn't seem to be any information on this topic in the docs:
http://www.freepascal.org/docs-html/3.0.0/ref/refch15.html#x207-22800015
>
It's mentioned here:
http://www.freepascal.org/docs-html/3.0.0/ref/refsu60.html#x165-18600013.2.5
Maybe a cross reference should be added...
Thanks! I didn't get the idea to look in the for-in documentation.
If you want to do it systematically then the whole enumerator-operator
information should be moved from for-in page into the operator
overloading chapter. All operator overloading information is there.
Compare it e.g. with the arithmetic operators:
http://www.freepascal.org/docs-html/3.0.0/ref/refsu46.html#x148-16900012.8.1
: *no information about operator overloading.*
because the information is here:
http://www.freepascal.org/docs-html/3.0.0/ref/refse101.html#x211-23200015.4
Ondrej
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel