This is a bug in compiler. It silently stops farther processing
when it founds nonterminal symbol at the beginning of line. It has
nothing to PP but course it has to be fixed. Thanks for the example.
I'll fix it ASAP.

Thanks a lot.

To make it even more interesting ASCII-1 will generated
both an illegal char and a syntax error in Harbour
(and only illegal char in Clipper).

In Clipper ASCII-0 stops farther line processing. Just simply
Clipper cannot properly process .prg code with embedded ASCII-0
characters. All other characters less then ASCII-32 are illegal.
In Clipper also characters greater then ASCII-125 are illegal too.
In Harbour it's intentionally disabled as long as HB_C52_STRICT
macro is not defined. Please note that '~' ASCII-126 is also
illegal character in Clipper. It means that we have one character
which we can use for some extensions and for which we can freely
define any behavior without breaking Clipper compatibility.
In the future I will want to use it for strong type casting
or bit operators.

Nice to know we have '~', I didn't know. We can consider
everything above it illegal though, IMO.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to