Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-10

How to turn on case sensitive identifiers in FPC?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dusan Halicky

Hi.

Pascal is case insensitive language. I know it. But I've just adopting some foreign code which is full off identifierswithoutcapitalletters and I consider the easiest way to fix it is rename identifiers declarations once, then turn on case sensitivity of FPC and recompile the source. Is there any way how to turn on case sensitivity in FPC? Thanks.

Dusan Halicky

Marco van de Voort
to Dusan Halicky
Show quoted text 5 lines
Pascal is case insensitive language. I know it. But I've just adopting some foreign code which is full off identifierswithoutcapitalletters and I consider the easiest way to fix it is rename identifiers declarations once, then turn on case sensitivity of FPC and recompile the source. Is there any way how to turn on case sensitivity in FPC?

Not unless you want to exploit the open source nature of the project. (IOW patch the compiler yourself)