codetools: h2pas: convert anonymous enum

git-svn-id: trunk@31305 -
This commit is contained in:
mattias 2011-06-20 17:43:15 +00:00
parent 357f42936c
commit 4ba4710664

View File

@ -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;