mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 20:09:27 +02:00
Remove two warnings about missing case (others are still present in ppudump.pp source)
git-svn-id: trunk@42085 -
This commit is contained in:
parent
8d4588e1b2
commit
c0f064a35c
@ -1176,6 +1176,7 @@ begin
|
|||||||
break;
|
break;
|
||||||
write([s,'(',slstr[sl],') ']);
|
write([s,'(',slstr[sl],') ']);
|
||||||
case sl of
|
case sl of
|
||||||
|
sl_none : ;
|
||||||
sl_call,
|
sl_call,
|
||||||
sl_load,
|
sl_load,
|
||||||
sl_subscript :
|
sl_subscript :
|
||||||
|
@ -473,7 +473,7 @@ const
|
|||||||
('dynamic');
|
('dynamic');
|
||||||
|
|
||||||
ConstTypeNames: array[TPpuConstType] of string =
|
ConstTypeNames: array[TPpuConstType] of string =
|
||||||
('', 'int', 'float', 'string', 'set', 'pointer');
|
('unknown', 'int', 'float', 'string', 'set', 'pointer');
|
||||||
|
|
||||||
OrdTypeNames: array[TPpuOrdType] of string =
|
OrdTypeNames: array[TPpuOrdType] of string =
|
||||||
('void', 'uint', 'sint', 'pasbool', 'bool', 'char', 'currency');
|
('void', 'uint', 'sint', 'pasbool', 'bool', 'char', 'currency');
|
||||||
@ -695,6 +695,7 @@ begin
|
|||||||
WriteStr('ValType', ConstTypeNames[ConstType]);
|
WriteStr('ValType', ConstTypeNames[ConstType]);
|
||||||
s:='Value';
|
s:='Value';
|
||||||
case ConstType of
|
case ConstType of
|
||||||
|
ctUnknown: ;
|
||||||
ctInt:
|
ctInt:
|
||||||
WriteInt(s, VInt);
|
WriteInt(s, VInt);
|
||||||
ctFloat:
|
ctFloat:
|
||||||
|
Loading…
Reference in New Issue
Block a user