[fpc-pascal] Does compiler itself support namespace files
Sven Barth
pascaldragon at googlemail.com
Thu Feb 19 08:03:26 CET 2026
mailinglists--- via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Do., 19. Feb. 2026, 00:54:
> Hi. As the title says really. :)
>
> How strict is the fpc team about naming convensions in the
> <fpc-src>/compiler/ directory? Could namespace (dotted files) be used
> inside that directory?
>
Especially the prefixes *should* match the intended functionality. And
dotted unit names shall not be used.
> I see FPC is starting to use it in the FCL code, which is nice.
>
Using them in the FCL does not mean using them inside the compiler.
> On a side note:
> I know compiler/dbg*.pas are debugger code, but then there is
> also "dwarfbase.pas", which I guess should technically be
> renamed to dbgdwarfbase.pas - if the naming convension should
> strictly be followed?
>
Probably. But then again DWARF can also be used for non debug related
functionality like exceptions...
That said renaming just for sake of renaming isn't worth the effort.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20260219/4cd732f0/attachment.htm>
More information about the fpc-pascal
mailing list