-
- Downloads
Overload ASTNode::string() and ASTNode::string_view() functions
This allows to retrieve associate string for nodes whose content has been removed while rewriting the AST. For instance expressions such as 'x*x' can be written. Without this change, calls to 'string()' or 'string_view()' could produce segmentation faults when reporting syntax errors... Now these calls can never produce errors.
Please register or sign in to comment