Re: [Lazarus] Invalid project filename for project filenames containing a dash

2025-01-02 Thread Noel Duffy via lazarus
> On Thu, 2 Jan 2025 00:07:49 +0100, Mattias Gaertner wrote: > > On 1/1/25 23:37, Noel Duffy via lazarus wrote: >> Lazarus 3.6 on MacOS behaves strangely when attempting to save a project >> filename that contains a dash (-). It produces the error message: >> >> Invalid project filename >> "/Use

Re: [Lazarus] Invalid project filename for project filenames containing a dash

2025-01-01 Thread Mattias Gaertner via lazarus
On 1/2/25 00:02, Bart via lazarus wrote: On Wed, Jan 1, 2025 at 11:37 PM Noel Duffy via lazarus wrote: [...] Unit names (and a such program names) must be valid identifiers. Only unit names must be valid identifiers. Program filenames can be any filename and their source name don't need to

Re: [Lazarus] Invalid project filename for project filenames containing a dash

2025-01-01 Thread Mattias Gaertner via lazarus
On 1/1/25 23:37, Noel Duffy via lazarus wrote: Lazarus 3.6 on MacOS behaves strangely when attempting to save a project filename that contains a dash (-). It produces the error message: Invalid project filename "/Users/noelduffy/tmp/a-b.lpi" is an invalid project name. Please choose another (

Re: [Lazarus] Invalid project filename for project filenames containing a dash

2025-01-01 Thread Bart via lazarus
On Wed, Jan 1, 2025 at 11:37 PM Noel Duffy via lazarus wrote: > Lazarus 3.6 on MacOS behaves strangely when attempting to save a project > filename that contains a dash (-). It produces the error message: .. > If the dash is removed, Lazarus saves the project filename. But why does it > reject

[Lazarus] Invalid project filename for project filenames containing a dash

2025-01-01 Thread Noel Duffy via lazarus
Lazarus 3.6 on MacOS behaves strangely when attempting to save a project filename that contains a dash (-). It produces the error message: Invalid project filename "/Users/noelduffy/tmp/a-b.lpi" is an invalid project name. Please choose another (e.g. project1.lpi)” If the dash is removed, Lazaru