CodeTools: error when '{$Align X}' in code
- Lazarus/FPC Version: Lazarus 2.3.0 rmain-0-g1e64a658 FPC 3.3.1 i386-win32-win32/win64
- Operating System: Windows 10 19043.1165
- CPU / Bitness: 64 bit
What happens
When the code have {$Align X}
('X' is a number in 1, 2, 4, 8, 16 or 32)
The codetools will raise an exception with message
'project1.lpr(3,9) Error: invalid flag value "" for directive Align'
But if use {$ALIGN 16}
(all uppercase) will not
What did you expect
Codetools should not raise the exception
Steps to reproduce
program Project1;
{$Align 16}
begin
end.
Just press 'ctrl+space'