2
0
mirror of https://github.com/boostorg/build.git synced 2026-01-27 18:52:13 +00:00
Files
build/src/engine/frames.cpp
Rene Rivera 2399813afa Switch to string_view for some internal char handling.
Add some debug validation in Jam interpreter.
2023-03-11 14:44:59 -06:00

30 lines
583 B
C++

/*
* 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)
*/
#include "jam.h"
#include "frames.h"
FRAME * frame_before_python_call;
void frame_init( FRAME * frame )
{
frame->prev = 0;
frame->prev_user = 0;
lol_init( frame->args );
frame->module = b2::ensure_valid(root_module());
frame->rulename = "module scope";
frame->file = 0;
frame->line = -1;
}
void frame_free( FRAME * frame )
{
lol_free( frame->args );
}