Browse Source

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

git-svn-id: trunk@27574 -
Károly Balogh 11 years ago
parent
commit
9ad7540ddf
1 changed files with 5 additions and 2 deletions
  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
                              { this isn't the first token, so it can't be an
                                opcode }
                                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
                              if is_register(actasmpattern) then
                                exit;
                                exit;
                              if is_asmdirective(actasmpattern) then
                              if is_asmdirective(actasmpattern) then