ソースを参照

The message scan_f_illegal_char seems to have gained additional parameters since it was
introduced. Take that into account to avoid an access violation.

git-svn-id: trunk@22749 -

svenbarth 12 年 前
コミット
ca6ca31953
1 ファイル変更3 行追加1 行削除
  1. 3 1
      compiler/m68k/ra68kmot.pas

+ 3 - 1
compiler/m68k/ra68kmot.pas

@@ -221,6 +221,7 @@ const
   var
    token: tasmtoken;
    forcelabel: boolean;
+   s : string;
   begin
     forcelabel := FALSE;
     actasmpattern :='';
@@ -504,7 +505,8 @@ const
                            end;
             else
              begin
-               Message(scan_f_illegal_char);
+               s:=c;
+               Message2(scan_f_illegal_char,s,'$'+hexstr(ord(c),2));
              end;
 
       end; { end case }