2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-22 15:22:11 +00:00

Remove public function STACK access.

In preparation to clean up the Jam function global stack move the
definition of the STACK and related functions inside the function.cpp
source file only.
This commit is contained in:
Rene Rivera
2022-03-22 23:02:51 -04:00
parent 02c076e14a
commit 266c664fd9
6 changed files with 30 additions and 40 deletions

View File

@@ -5,6 +5,7 @@
*/
/* This file is ALSO:
* Copyright 2022 René Ferdinand Rivera Morell
* Copyright 2001-2004 David Abrahams.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
@@ -52,7 +53,7 @@ static void parse_impl( FRAME * frame )
/* Run the parse tree. */
auto func = b2::jam::make_unique_bare_jptr( function_compile( p ), function_free );
parse_free( p );
list_free( function_run( func.get(), frame, stack_global() ) );
list_free( function_run( func.get(), frame ) );
}
yyfdone();