xo-reader: wip: + parser.env_stack [not used]

This commit is contained in:
Roland Conybeare 2024-08-19 17:30:15 -04:00
commit 94109c93b7

View file

@ -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 &