mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 15:47:51 +02:00
Fix handling of ST_LOADMESSAGES token
This commit is contained in:
parent
81157e9846
commit
bc1c93c05f
@ -2722,15 +2722,12 @@ begin
|
|||||||
end;
|
end;
|
||||||
ST_LOADMESSAGES:
|
ST_LOADMESSAGES:
|
||||||
begin
|
begin
|
||||||
inc(tbi);
|
mesgnb:=gettokenbufsizeint;;
|
||||||
mesgnb:=tokenbuf[tbi];
|
|
||||||
writeln([space,mesgnb,' messages: ']);
|
writeln([space,mesgnb,' messages: ']);
|
||||||
inc(tbi);
|
|
||||||
for nb:=1 to mesgnb do
|
for nb:=1 to mesgnb do
|
||||||
begin
|
begin
|
||||||
msgvalue:=gettokenbufsizeint;
|
msgvalue:=gettokenbuflongint;
|
||||||
//inc(tbi,sizeof(sizeint));
|
state:=tmsgstate(gettokenbuflongint);
|
||||||
state:=tmsgstate(gettokenbufsizeint);
|
|
||||||
writeln(['#',msgvalue,' ',state]);
|
writeln(['#',msgvalue,' ',state]);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user