Browse Source

webidl: prefix enum types

mattias 3 years ago
parent
commit
20746a907d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/webidl/src/webidltopas.pp

+ 1 - 0
packages/webidl/src/webidltopas.pp

@@ -1437,6 +1437,7 @@ begin
   else
     begin
     if (D is TIDLTypeDefDefinition)
+        or (D is TIDLEnumDefinition)
         or ((D Is TIDLFunctionDefinition) and (foCallBack in TIDLFunctionDefinition(D).Options)) then
       begin
       CN:=TypePrefix+CN;