Line | |
---|
1 | /* |
---|
2 | * Copyright 2001-2004 David Abrahams. |
---|
3 | * Distributed under the Boost Software License, Version 1.0. |
---|
4 | * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) |
---|
5 | */ |
---|
6 | |
---|
7 | # include "frames.h" |
---|
8 | # include "lists.h" |
---|
9 | |
---|
10 | |
---|
11 | void frame_init( FRAME* frame ) |
---|
12 | { |
---|
13 | frame->prev = 0; |
---|
14 | lol_init(frame->args); |
---|
15 | frame->module = root_module(); |
---|
16 | frame->rulename = "module scope"; |
---|
17 | frame->procedure = 0; |
---|
18 | } |
---|
19 | |
---|
20 | void frame_free( FRAME* frame ) |
---|
21 | { |
---|
22 | lol_free( frame->args ); |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.