www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - named entities containing numbers fail to parse

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

# int main(){
# 	assert('\²'==178);
# 	assert('\³'==179);
# 	assert('\¹'==185);
# 	assert('\¼'==188);
# 	assert('\½'==189);
# 	assert('\¾'==190);
#	assert('\∴'==8756);
# 	return 0;
# }

test cases:
http://dstress.kuehne.cn/run/named_entity_01.d
http://dstress.kuehne.cn/run/named_entity_02.d

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCMv7h3w+/yD4P9tIRAlLaAKDS/WZgOwBZz+pz6P+TMzoweZ3g7QCfV/0c
nqzSzuMvQLs7mnnPV7XKA78=
=HaFr
-----END PGP SIGNATURE-----
Mar 12 2005