Code::is_valid rection

This commit is contained in:
2024-12-02 00:41:41 -05:00
parent 2b24511f7d
commit f9b5029e64
4 changed files with 7 additions and 151 deletions

View File

@ -354,11 +354,6 @@ CodeBody gen_ast_inlines()
char const* code_impl_tmpl = stringize(
\n
inline
bool <typename>::is_valid()
{
return (AST*) ast != nullptr && rcast( AST*, ast)->Type != CodeT::Invalid;
}
inline
void <typename>::set_global()
{
if ( ast == nullptr )