xo-reader2: intern for DDefineExpr lhs symbol
This commit is contained in:
parent
b29f72be5d
commit
0e62562f34
5 changed files with 31 additions and 17 deletions
|
|
@ -69,6 +69,10 @@ namespace xo {
|
|||
/** pop syntax state machine from top of @ref stack_ **/
|
||||
void pop_ssm();
|
||||
|
||||
/** get unique string copy of @p str. Idempotent for each @p str.
|
||||
**/
|
||||
const DUniqueString * intern_string(std::string_view str);
|
||||
|
||||
/** add variable to current local environment (innermost lexical scope) **/
|
||||
void upsert_var(DVariable * var);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue