move ident_stack out of public interface

master
Daniel Kolesa 2021-03-30 00:31:11 +02:00
parent 4154944726
commit c2bb8e4a3d
3 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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