You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test.d(3:36)[error]: Expected `;` instead of `"r"`
test.d(3:44)[warn]: Empty asm instruction
even though this is valid code in GDC/LDC (for the right target). Maybe there should be an option to disable formatting within asm blocks and it can just ignore them?
It still formats the code, so it's not really a problem, but it's annoying that it spits out an error and warning.
The text was updated successfully, but these errors were encountered:
I guess I am supposed to add a comma after the first argument: "i"(reg), "r"(val). It's interesting that gdc still accepts it without the comma. Sorry for the bother.
Formatting this code causes an error and warning:
even though this is valid code in GDC/LDC (for the right target). Maybe there should be an option to disable formatting within asm blocks and it can just ignore them?
It still formats the code, so it's not really a problem, but it's annoying that it spits out an error and warning.
The text was updated successfully, but these errors were encountered: