From 9ad7540ddf347cb4bb88ca0a0a37a02bd2c5eea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Sun, 13 Apr 2014 22:06:51 +0000 Subject: [PATCH] reverted change in r22796, the previously disabled code is actually required by the amunits package git-svn-id: trunk@27574 - --- compiler/m68k/ra68kmot.pas | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compiler/m68k/ra68kmot.pas b/compiler/m68k/ra68kmot.pas index e4cfd27a33..bdabf9e520 100644 --- a/compiler/m68k/ra68kmot.pas +++ b/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