Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-05

Codetools error when asm block contains 'if'

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Ring

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

Reply by email