mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-28 09:03:50 +02:00
codetools: remove debugging code
git-svn-id: trunk@10223 -
This commit is contained in:
parent
e5fdfd28ff
commit
c045101121
@ -1438,9 +1438,7 @@ begin
|
||||
fErrorLine:=FCurCodeTool.ErrorPosition.Y;
|
||||
end;
|
||||
end;
|
||||
if fErrorLine=10 then
|
||||
RaiseCatchableException('');
|
||||
|
||||
|
||||
// adjust error topline
|
||||
AdjustErrorTopLine;
|
||||
// write error
|
||||
|
@ -2799,7 +2799,7 @@ function TPascalParserTool.KeyWordFuncExports: boolean;
|
||||
end;
|
||||
|
||||
begin
|
||||
if not (CurSection in [ctnLibrary]) then
|
||||
if not (CurSection in [ctnLibrary,ctnProgram]) then
|
||||
RaiseExportsOnlyAllowedInLibraries;
|
||||
CreateChildNode;
|
||||
CurNode.Desc:=ctnExportsSection;
|
||||
|
Loading…
Reference in New Issue
Block a user