From 9a8e7660e1231ec0f1d4d074e7642c45bd3be691 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Wed, 28 Oct 2026 15:53:13 +0800 Subject: [PATCH] feat(ast): export extern/export function flags The LSP semantic checks need FLAG_IS_EXTERN/FLAG_IS_EXPORT to skip declaration-only functions. --- ast/__init__.vp | 1 + 1 file changed, 1 insertion(+) diff --git a/ast/__init__.vp b/ast/__init__.vp index 423d21f..e9a4ded 100644 --- a/ast/__init__.vp +++ b/ast/__init__.vp @@ -12,6 +12,7 @@ from .base import ( # Constants CONST_INT, CONST_FLOAT, CONST_STR, CONST_BOOL, CONST_NONE, CONST_CHAR, FLAG_IS_ASYNC, FLAG_SIMPLE, FLAG_HAS_STAR, FLAG_IS_DEFINE, + FLAG_IS_EXTERN, FLAG_IS_EXPORT, # Helper Functions _init_ast, _copy_str, _set_pos, _inherit_pos, _set_parent_list, _binop_from_op, _augop_from_op, _cmpop_from_op,