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. در تاریخ ۱۳ اکتبر ۲۰۱۵ ۲۲:۲۱، "Sven Barth" <[email protected]> نوشت:
> Am 13.10.2015 19:59 schrieb "Mohsen" <[email protected]>: > > > > Hi > > I need add two token to compiler to implement my ideas. > > adding first token done but second token cause range check exception in > lines like this > > > > if (idtoken in [_EXPORT,_EXTERNAL,_WEAKEXTERNAL,_PUBLIC,_CVAR]) then > > > > ptconst.pas(95,45) Error: range check error in set constructor or > duplicate set element > > > > how to solve it ? > > First it would be best if you'd show us what exactly you have changed. > Otherwise we won't be able to help you... > > Regards, > Sven > > _______________________________________________ > fpc-devel maillist - [email protected] > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel > >
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
