summaryrefslogtreecommitdiff
path: root/prism
diff options
context:
space:
mode:
-rw-r--r--prism/config.yml1
-rw-r--r--prism/prism.c10
2 files changed, 11 insertions, 0 deletions
@@ -3140,6 +3140,7 @@ nodes:
- EmbeddedStatementsNode
- EmbeddedVariableNode
- InterpolatedStringNode # `"a" "#{b}"`
- name: closing_loc
type: location?
newline: parts
@@ -5328,6 +5328,12 @@ pm_interpolated_string_node_append(pm_interpolated_string_node_t *node, pm_node_
// should clear the mutability flags.
CLEAR_FLAGS(node);
break;
default:
assert(false && "unexpected node type");
break;
@@ -16823,6 +16829,10 @@ parse_strings(pm_parser_t *parser, pm_node_t *current, bool accepts_label, uint1
// If we haven't already created our container for concatenation,
// we'll do that now.
if (!concating) {
concating = true;
pm_token_t bounds = not_provided(parser);