mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 18:29:30 +02:00
codetools: h2pas: convert anonymous enum
git-svn-id: trunk@31305 -
This commit is contained in:
parent
357f42936c
commit
4ba4710664
@ -168,8 +168,11 @@ var
|
||||
begin
|
||||
UsesCTypes:='uses ctypes;'+LineEnding;
|
||||
EmpytImplementation:=LineEnding+'implementation'+LineEnding+'end.';
|
||||
Test('convert anonymous enum{ENUM1};',
|
||||
(*Test('convert anonymous enum{ENUM1};',
|
||||
'enum{ENUM1};',
|
||||
UsesCTypes+'type enumENUM1 = (ENUM1);'+EmpytImplementation);*)
|
||||
Test('convert one named enum color{red};',
|
||||
'enum color{red};',
|
||||
UsesCTypes+'type enumENUM1 = (ENUM1);'+EmpytImplementation);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user