Replace usage of inline proc with #force_inline proc in the core library

This commit is contained in:
gingerBill
2021-02-23 16:14:47 +00:00
parent 41b854f192
commit aa93305015
26 changed files with 182 additions and 182 deletions
+3 -3
View File
@@ -379,16 +379,16 @@ is_blank_ident :: proc{
is_blank_ident_token,
is_blank_ident_node,
};
is_blank_ident_string :: inline proc(str: string) -> bool {
is_blank_ident_string :: proc(str: string) -> bool {
return str == "_";
}
is_blank_ident_token :: inline proc(tok: tokenizer.Token) -> bool {
is_blank_ident_token :: proc(tok: tokenizer.Token) -> bool {
if tok.kind == .Ident {
return is_blank_ident_string(tok.text);
}
return false;
}
is_blank_ident_node :: inline proc(node: ^ast.Node) -> bool {
is_blank_ident_node :: proc(node: ^ast.Node) -> bool {
if ident, ok := node.derived.(ast.Ident); ok {
return is_blank_ident(ident.name);
}