mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 19:16:16 +02:00
codetools: allow keywords in program name
git-svn-id: trunk@37483 -
This commit is contained in:
parent
24dcd68f83
commit
ee85c477b2
@ -634,7 +634,10 @@ begin
|
||||
if HasSourceType then begin
|
||||
repeat
|
||||
ReadNextAtom; // read source name
|
||||
AtomIsIdentifierSaveE;
|
||||
// program and library can use keywords
|
||||
if (CurPos.Flag<>cafWord)
|
||||
or (CurSection in [ctnUnit,ctnPackage]) then
|
||||
AtomIsIdentifierSaveE;
|
||||
ReadNextAtom; // read ';' (or 'platform;' or 'unimplemented;')
|
||||
until CurPos.Flag<>cafPoint;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user