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 | #ifndef FRAMES_DWA20011021_H |
---|
7 | # define FRAMES_DWA20011021_H |
---|
8 | |
---|
9 | # include "lists.h" |
---|
10 | # include "modules.h" |
---|
11 | |
---|
12 | typedef struct _PARSE PARSE; |
---|
13 | typedef struct frame FRAME; |
---|
14 | |
---|
15 | struct frame |
---|
16 | { |
---|
17 | FRAME* prev; |
---|
18 | /** The nearest enclosing frame for which module->user_module is |
---|
19 | true. */ |
---|
20 | FRAME* prev_user; |
---|
21 | LOL args[1]; |
---|
22 | module_t* module; |
---|
23 | PARSE* procedure; |
---|
24 | char* rulename; |
---|
25 | }; |
---|
26 | |
---|
27 | void frame_init( FRAME* ); /* implemented in compile.c */ |
---|
28 | void frame_free( FRAME* ); /* implemented in compile.c */ |
---|
29 | |
---|
30 | #endif |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.