Browse Source

highlight i386 movw in asm code correctly

pierre 24 years ago
parent
commit
249311757a
1 changed files with 7 additions and 2 deletions
  1. 7 2
      ide/fpviews.pas

+ 7 - 2
ide/fpviews.pas

@@ -975,7 +975,7 @@ begin
       if not _Is then
       if not _Is then
         begin
         begin
           LastC:=S[Length(S)];
           LastC:=S[Length(S)];
-          if LastC in ['B','D','L','Q','S','T','V'] then
+          if LastC in ['B','D','L','Q','S','T','V','W'] then
             begin
             begin
               Delete(S,Length(S),1);
               Delete(S,Length(S),1);
               Dec(Idx);
               Dec(Idx);
@@ -1157,6 +1157,8 @@ begin
       S:='{$';
       S:='{$';
     ssDirectiveSuffix :
     ssDirectiveSuffix :
       S:='}';
       S:='}';
+    else
+      S:='';
   end;
   end;
   GetSpecSymbol:=S;
   GetSpecSymbol:=S;
 end;
 end;
@@ -4175,7 +4177,10 @@ end;
 END.
 END.
 {
 {
   $Log$
   $Log$
-  Revision 1.5  2001-08-29 23:28:20  pierre
+  Revision 1.6  2001-09-25 22:46:50  pierre
+   highlight i386 movw in asm code correctly
+
+  Revision 1.5  2001/08/29 23:28:20  pierre
    * fix the tab garbage
    * fix the tab garbage
 
 
   Revision 1.4  2001/08/09 23:17:50  pierre
   Revision 1.4  2001/08/09 23:17:50  pierre