mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 11:49:23 +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;
|
||||
write([s,'(',slstr[sl],') ']);
|
||||
case sl of
|
||||
sl_none : ;
|
||||
sl_call,
|
||||
sl_load,
|
||||
sl_subscript :
|
||||
|
@ -473,7 +473,7 @@ const
|
||||
('dynamic');
|
||||
|
||||
ConstTypeNames: array[TPpuConstType] of string =
|
||||
('', 'int', 'float', 'string', 'set', 'pointer');
|
||||
('unknown', 'int', 'float', 'string', 'set', 'pointer');
|
||||
|
||||
OrdTypeNames: array[TPpuOrdType] of string =
|
||||
('void', 'uint', 'sint', 'pasbool', 'bool', 'char', 'currency');
|
||||
@ -695,6 +695,7 @@ begin
|
||||
WriteStr('ValType', ConstTypeNames[ConstType]);
|
||||
s:='Value';
|
||||
case ConstType of
|
||||
ctUnknown: ;
|
||||
ctInt:
|
||||
WriteInt(s, VInt);
|
||||
ctFloat:
|
||||
|
Loading…
Reference in New Issue
Block a user