瀏覽代碼

* m68k/ra68kmot.pas, tm68kmotreader.gettoken:
if "firsttoken" isn't set we must not take the possibility into account that the token could be an opcode

git-svn-id: trunk@22796 -

svenbarth 12 年之前
父節點
當前提交
05fc3bc427
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      compiler/m68k/ra68kmot.pas

+ 4 - 2
compiler/m68k/ra68kmot.pas

@@ -315,8 +315,10 @@ const
                              end;
                              end;
                              uppervar(actasmpattern);
                              uppervar(actasmpattern);
 
 
-                             If is_asmopcode(actasmpattern) then
-                               exit;
+                             { this isn't the first token, so it can't be an
+                               opcode }
+                             {If is_asmopcode(actasmpattern) then
+                               exit;}
                              if is_register(actasmpattern) then
                              if is_register(actasmpattern) then
                                exit;
                                exit;
                              if is_asmdirective(actasmpattern) then
                              if is_asmdirective(actasmpattern) then