<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 03.11.2015 15:42, Sven Barth wrote:<br>
</div>
<blockquote
cite="mid:CAFMUeB-6qeegnz8ksCYo3DKysc+pKXJPXCNY8ramZCGy+nMP5g@mail.gmail.com"
type="cite">
<p>Am 03.11.2015 13:49 schrieb "Ondrej Pokorny" <<a
moz-do-not-send="true" href="mailto:lazarus@kluug.net"><a class="moz-txt-link-abbreviated" href="mailto:lazarus@kluug.net">lazarus@kluug.net</a></a>>:<br>
><br>
> What does the "function search_enumerator_operator" in
compiler/symtable.pas do?<br>
><br>
> Does FPC support enumerator operator overloading? If yes,
how?<br>
><br>
> There doesn't seem to be any information on this topic in
the docs: <a moz-do-not-send="true"
href="http://www.freepascal.org/docs-html/3.0.0/ref/refch15.html#x207-22800015">http://www.freepascal.org/docs-html/3.0.0/ref/refch15.html#x207-22800015</a><br>
></p>
<p>It's mentioned here: <a moz-do-not-send="true"
href="http://www.freepascal.org/docs-html/3.0.0/ref/refsu60.html#x165-18600013.2.5">http://www.freepascal.org/docs-html/3.0.0/ref/refsu60.html#x165-18600013.2.5</a><br>
Maybe a cross reference should be added...<br>
</p>
</blockquote>
<br>
Thanks! I didn't get the idea to look in the for-in documentation.<br>
<br>
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.<br>
<br>
Compare it e.g. with the arithmetic operators:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.freepascal.org/docs-html/3.0.0/ref/refsu46.html#x148-16900012.8.1">http://www.freepascal.org/docs-html/3.0.0/ref/refsu46.html#x148-16900012.8.1</a>
: <b>no information about operator overloading.</b><br>
because the information is here:<br>
<a class="moz-txt-link-freetext" href="http://www.freepascal.org/docs-html/3.0.0/ref/refse101.html#x211-23200015.4">http://www.freepascal.org/docs-html/3.0.0/ref/refse101.html#x211-23200015.4</a><br>
<br>
Ondrej<br>
</body>
</html>