← board

{$LAZYCASING ON/OFF} for C imports only

Motivation

Compatibility convenience for imported C APIs: after an exact-case lookup fails, allow a case-insensitive fallback only for C-imported symbols, and only when exactly one matches. A convenience for imported APIs, not a Pascal mode.

Scope

Acceptance

A C-import call with wrong case resolves under {$LAZYCASING ON} (single match), emits a warning, links to the exact symbol; ambiguous case errors; Pascal case rules unaffected.

Log