Mark Morgan Lloyd schrieb:
What error message do you expect?
Something that recognises that a message like <<<<<<< .mine originates
from the project's chosen VCS, and that <<<<<<< is distinct from shl.
+1
A concatenation of the *binary* "<" or "<<" operators, into "<<<<...",
doesn't make sense (syntactically), so that the scanner could generate
an appropriate error token (or message). Just as in handling "." ..
"..." tokens, where more than 3 consecutive dots also are definite
syntax errors. AFAIR a check for an fourth dot is not performed by the
scanner, and seems not required because the resulting parser error
message is sufficient. But a check for a third "<" definitely should be
added to the scanner, so that a more specific error message can be issued.
DoDi
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel