浏览代码

reverted change in r22796, the previously disabled code is actually required by the amunits package

git-svn-id: trunk@27574 -
Károly Balogh 11 年之前
父节点
当前提交
9ad7540ddf
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      compiler/m68k/ra68kmot.pas

+ 5 - 2
compiler/m68k/ra68kmot.pas

@@ -331,8 +331,11 @@ const
 
                              { this isn't the first token, so it can't be an
                                opcode }
-                             {If is_asmopcode(actasmpattern) then
-                               exit;}
+                             { Actually, it's possible, since @label: OPCODE foo,bar
+                               is valid and was supported in 0.99/1.0 FPC for 68k,
+                               the amunits package is full of such code. (KB) }
+                             if is_asmopcode(actasmpattern) then
+                               exit;
                              if is_register(actasmpattern) then
                                exit;
                              if is_asmdirective(actasmpattern) then