[fpc-pascal] differences between .pp and .pas files

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Mon Feb 25 13:35:13 CET 2013


Graeme Geldenhuys wrote:
> On 2013-02-25 10:51, Sven Barth wrote:
>> That's indeed a valid argument pro .pp
> 
> And a large argument against .pp extensions is that NO editor out there
> (except for FP Text IDE and Lazarus) knows about .pp, so pascal syntax
> highlighting never works. You have to always manually force the pascal
> syntax highlighting, or if the editor allows, manually add the .pp
> extension for the Pascal highlighting.

That's actually a good argument for using a custom extension: FPC is 
unique in its syntax (since it includes TP, Delphi, Mac and so on) so 
it's reasonable to use a unique extension to ensure that a naive 
highlighter doesn't get confused.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list