(unknown charset) [BLACKBOX] Another compiler bug ?

From: (unknown charset) [at]} <Robert>
Date: Sat, 31 Dec 2011 00:29:08 +0000

----boundary-LibPST-iamunique-619313288_-_-
Content-type: text/plain

Folks


If I write

   VAR
     z : REAL;
   BEGIN
     z := %108.3;

the compiler complains (factor starts with incorrect symbol).


However, if I replace '%' with '‰' (Unicode 2030) there is no complaint; the
'per-thousand' sign is simply ignored. Surely there should be a complaint?



This seems like an obvious error, but the same happens with the Unicode minus
sign (Unicode 2212) which looks identical (in some fonts) to the ASCII hyphen
which CP uses as a minus sign. An invisible bug, so some compiler help would be
appreciated.


Regards

Robert.


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-619313288_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBGb2xrc1xwYXINClxwYXINClxw
YXINCklmIEkgd3JpdGVccGFyDQpccGFyDQogICBWQVJccGFyDQogICAgIHogIDogIFJFQUw7XHBh
cg0KICAgQkVHSU5ccGFyDQogICAgIHogIDo9ICAlMTA4LjM7XHBhcg0KXHBhcg0KdGhlIGNvbXBp
bGVyIGNvbXBsYWlucyAoZmFjdG9yIHN0YXJ0cyB3aXRoIGluY29ycmVjdCBzeW1ib2wpLlxwYXIN
ClxwYXINClxwYXINCkhvd2V2ZXIsIGlmIEkgcmVwbGFjZSAnJScgd2l0aCAnXCc4OScgKFVuaWNv
ZGUgMjAzMCkgdGhlcmUgaXMgbm8gY29tcGxhaW50OyB0aGUgXHBhcg0KJ3Blci10aG91c2FuZCcg
c2lnbiBpcyBzaW1wbHkgaWdub3JlZC4gU3VyZWx5IHRoZXJlIHNob3VsZCBiZSBhIGNvbXBsYWlu
dD9ccGFyDQpccGFyDQpccGFyDQpccGFyDQpUaGlzIHNlZW1zIGxpa2UgYW4gb2J2aW91cyBlcnJv
ciwgYnV0IHRoZSBzYW1lIGhhcHBlbnMgd2l0aCB0aGUgVW5pY29kZSBtaW51cyBccGFyDQpzaWdu
IChVbmljb2RlIDIyMTIpIHdoaWNoIGxvb2tzIGlkZW50aWNhbCAoaW4gc29tZSBmb250cykgdG8g
dGhlIEFTQ0lJIGh5cGhlbiBccGFyDQp3aGljaCBDUCB1c2VzIGFzIGEgbWludXMgc2lnbi4gQW4g
aW52aXNpYmxlIGJ1Zywgc28gc29tZSBjb21waWxlciBoZWxwIHdvdWxkIGJlXHBhcg0KYXBwcmVj
aWF0ZWQuXHBhcg0KXHBhcg0KXHBhcg0KUmVnYXJkc1xwYXINClxwYXINClJvYmVydC5ccGFyDQpc
cGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGgg
Ym9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0K
fQ==
----boundary-LibPST-iamunique-619313288_-_---
Received on Sat Dec 31 2011 - 01:29:08 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:09 UTC