move ident_stack out of public interface
parent
4154944726
commit
c2bb8e4a3d
|
@ -401,13 +401,6 @@ private:
|
||||||
value_type p_type;
|
value_type p_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ident_stack {
|
|
||||||
any_value val_s;
|
|
||||||
ident_stack *next;
|
|
||||||
|
|
||||||
ident_stack(state &cs): val_s{cs}, next{nullptr} {}
|
|
||||||
};
|
|
||||||
|
|
||||||
struct error;
|
struct error;
|
||||||
struct codegen_state;
|
struct codegen_state;
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,12 @@ enum {
|
||||||
ID_NOT, ID_AND, ID_OR
|
ID_NOT, ID_AND, ID_OR
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct ident_stack {
|
||||||
|
any_value val_s;
|
||||||
|
ident_stack *next;
|
||||||
|
ident_stack(state &cs): val_s{cs}, next{nullptr} {}
|
||||||
|
};
|
||||||
|
|
||||||
struct ident_link {
|
struct ident_link {
|
||||||
ident *id;
|
ident *id;
|
||||||
ident_link *next;
|
ident_link *next;
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
#include "cs_std.hh"
|
#include "cs_std.hh"
|
||||||
#include "cs_state.hh"
|
#include "cs_state.hh"
|
||||||
|
#include "cs_ident.hh"
|
||||||
|
|
||||||
namespace cubescript {
|
namespace cubescript {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue