xo-reader: wip: + parser.env_stack [not used]
This commit is contained in:
parent
8d495a6427
commit
94109c93b7
1 changed files with 7 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "exprstatestack.hpp"
|
||||
#include "envframestack.hpp"
|
||||
#include <stdexcept>
|
||||
|
||||
namespace xo {
|
||||
|
|
@ -212,6 +213,12 @@ namespace xo {
|
|||
**/
|
||||
exprstatestack xs_stack_;
|
||||
|
||||
/** environment frames for lexical context.
|
||||
* push a frame on each nested lambda;
|
||||
* pop when lambda body goes out of scope
|
||||
**/
|
||||
envframestack env_stack_;
|
||||
|
||||
}; /*parser*/
|
||||
|
||||
inline std::ostream &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue