summaryrefslogtreecommitdiff
path: root/prism_compile.c
diff options
context:
space:
mode:
-rw-r--r--prism_compile.c7
1 files changed, 7 insertions, 0 deletions
@@ -10534,6 +10534,9 @@ pm_parse_stdin_fgets(char *string, int size, void *stream)
return string;
}
/**
* Parse the source off STDIN and store the resulting scope node in the given
* parse result struct. It is assumed that the parse result object is zeroed
@@ -10552,6 +10555,10 @@ pm_parse_stdin(pm_parse_result_t *result)
// free the buffer itself.
pm_string_owned_init(&result->input, (uint8_t *) pm_buffer_value(&buffer), pm_buffer_length(&buffer));
return pm_parse_process(result, node);
}