From 45b3531e29c1b596f1be123de94b7c618c92bf8a Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 11 Jan 2025 16:30:39 +0200 Subject: multiple import stuff --- src/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ast.c') diff --git a/src/ast.c b/src/ast.c index 0571c12..5cfafdd 100644 --- a/src/ast.c +++ b/src/ast.c @@ -150,7 +150,7 @@ void ast_clear_flags(struct ast *node, enum ast_flags flags) unsigned ast_flags(struct ast *node, enum ast_flags flags) { - return node->f & flags; + return (node->f & flags) == flags; } void ast_append(struct ast **list, struct ast *elem) -- cgit v1.3