[Lazarus] Codetools error when asm block contains 'if'

Michael Ring mail at michael-ring.org
Sun May 24 14:20:37 CEST 2015


I have the following peace of code that breaks codetools on trunk:

Self.CSR_bits.setENABLE;
   asm
     cpsie if
   end;

When I try to do ctrl-space in Lazarus I now get the following 
error-message:

Codetools, Fehler: 1
armcm0p.pp(167,11) Error: unerwartetes Schlüsselwort "if" im ASM-Block 
gefunden

Michael




More information about the Lazarus mailing list