mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 10:49:07 +02:00
* better error message in case of parser error
git-svn-id: trunk@7272 -
This commit is contained in:
parent
e074f9383c
commit
0e429065e8
@ -386,7 +386,14 @@ begin
|
||||
close(f);
|
||||
Halt(1);
|
||||
end;
|
||||
on e:EParserError do
|
||||
begin
|
||||
Writeln(StdErr,'', e.filename,'(',e.row,',',e.column,') Fatal: ',e.message);
|
||||
close(f);
|
||||
Halt(1);
|
||||
end;
|
||||
end;
|
||||
|
||||
finally
|
||||
Engine.Free;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user