File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1135,10 +1135,14 @@ function astDtorListScopeEnd( ) as integer
11351135 end with
11361136end function
11371137
1138+ '' Remove cookie markers from the dtor list entries for the given scope,
1139+ '' indicating that they should be destroyed by the next toplevel
1140+ '' astDtorListFlush(0).
1141+ '' This is useful if an expression was at first parsed with a dtor list scope,
1142+ '' but then it turns out that that's not needed, and can be undone using this
1143+ '' function.
11381144sub astDtorListUnscope( byval cookie as integer )
11391145 dim as AST_DTORLIST_ITEM ptr i = any
1140-
1141- '' call the dtors in the reverse order
11421146 i = listGetTail( @ast.dtorlist )
11431147 while ( i )
11441148 if ( i->cookie = cookie ) then
You can’t perform that action at this time.
0 commit comments