<p dir="ltr">I want to add two overloadable operators “>>” and “<<” to use them as “shr” and “shl” ,or writing into and reading from streams and the other functions like those mentioned above.</p>
<div class="gmail_quote">در تاریخ ۱۳ اکتبر ۲۰۱۵ ۲۲:۲۱، "Sven Barth" <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>> نوشت:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Am 13.10.2015 19:59 schrieb "Mohsen" <<a href="mailto:mohsen.timar@gmail.com" target="_blank">mohsen.timar@gmail.com</a>>:<br>
><br>
> Hi<br>
> I need add two token to compiler to implement my ideas.<br>
> adding first token done but second token cause range check exception in lines like this<br>
><br>
> if (idtoken in [_EXPORT,_EXTERNAL,_WEAKEXTERNAL,_PUBLIC,_CVAR]) then<br>
><br>
> ptconst.pas(95,45) Error: range check error in set constructor or duplicate set element<br>
><br>
> how to solve it ?</p>
<p>First it would be best if you'd show us what exactly you have changed. Otherwise we won't be able to help you...</p>
<p>Regards,<br>
Sven</p>
<br>_______________________________________________<br>
fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" rel="noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
<br></blockquote></div>