[fpc-devel] adding a new token to compiler cause exception

Mohsen mohsen.timar at gmail.com
Tue Oct 13 19:59:44 CEST 2015


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 ?





More information about the fpc-devel mailing list