mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-09 22:09:25 +02:00
* Fix bug #38330: reset line number on execute (1-based)
git-svn-id: trunk@48900 -
This commit is contained in:
parent
cc9549dd85
commit
63c340cb27
@ -284,6 +284,7 @@ begin
|
||||
FUseDollarString:=AValue;
|
||||
RecalcSeps;
|
||||
end;
|
||||
|
||||
function TCustomSQLScript.GetLine: Integer;
|
||||
begin
|
||||
Result:=FLine - 1;
|
||||
@ -507,7 +508,7 @@ begin
|
||||
FIsSkipping:=False;
|
||||
FSkipStackIndex:=0;
|
||||
Faborted:=False;
|
||||
FLine:=0;
|
||||
FLine:=1;
|
||||
DefaultDirectives;
|
||||
Repeat
|
||||
NextStatement();
|
||||
|
Loading…
Reference in New Issue
Block a user