Fix (gen.c) -> Fixed deprecated attribute warning turning into an error

pull/14027/head
Shib 2022-04-13 12:55:26 +02:00
parent c31805426d
commit 50e4ca9c31
1 changed files with 2 additions and 2 deletions

View File

@ -222,11 +222,11 @@ fn (mut p Parser) fn_decl() ast.FnDecl {
is_markused = true
}
'windows_stdcall' {
p.warn_with_pos('windows_stdcall has been deprecated, it will be an error soon',
p.note_with_pos('windows_stdcall has been deprecated, it will be an error soon',
p.tok.pos())
}
'_fastcall' {
p.warn_with_pos('_fastcall has been deprecated, it will be an error soon',
p.note_with_pos('_fastcall has been deprecated, it will be an error soon',
p.tok.pos())
}
'callconv' {