Re: Does compiler itself support namespace files
Sven Barth via fpc-pascal <[email protected]> Thu, 19 Feb 2026 08:03:26 +0100
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <CAFMUeB_DkvDWKQb3qCQ+vYjjr3yF=XmFYpPrOO_QCvv2tkVuCQ@mail.gmail.com> |
mailinglists--- via fpc-pascal <[email protected]> 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 > _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal