Browse Source

+ write controller unit wiht -ix as well

git-svn-id: trunk@49106 -
florian 4 years ago
parent
commit
3999d037e3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/options.pas

+ 2 - 1
compiler/options.pas

@@ -600,7 +600,8 @@ const
       WriteLn(xmloutput,'    <controllertypes>');
       WriteLn(xmloutput,'    <controllertypes>');
       for controllertype:=low(tcontrollertype) to high(tcontrollertype) do
       for controllertype:=low(tcontrollertype) to high(tcontrollertype) do
         if embedded_controllers[controllertype].ControllerTypeStr<>'' then
         if embedded_controllers[controllertype].ControllerTypeStr<>'' then
-          WriteLn(xmloutput,'      <controllertype name="',embedded_controllers[controllertype].ControllerTypeStr,'"/>');
+          WriteLn(xmloutput,'      <controllertype name="',embedded_controllers[controllertype].ControllerTypeStr,
+            ' controllerunit="',embedded_controllers[controllertype].controllerunitstr, '"/>');
       WriteLn(xmloutput,'    </controllertypes>');
       WriteLn(xmloutput,'    </controllertypes>');
      end;
      end;
 {$POP}
 {$POP}