* ignore $CONTROLLERTPYES marco on non-AVR/ARM platforms in msg files

git-svn-id: trunk@12908 -
This commit is contained in:
florian 2009-03-17 13:55:52 +00:00
parent 6e8a6790d1
commit b4953e3a50

View File

@ -269,9 +269,9 @@ begin
end;
end
end
{$if defined(arm) or defined(avr)}
else if pos('$CONTROLLERTYPES',s)>0 then
begin
{$if defined(arm) or defined(avr)}
for controllertype:=low(tcontrollertype) to high(tcontrollertype) do
begin
{ currently all whole program optimizations are platform-independent
@ -287,8 +287,9 @@ begin
end;
end;
end
end
{$else defined(arm) or defined(avr)}
{$endif defined(arm) or defined(avr)}
end
else
Comment(V_Normal,s);
end;