diff options
author | Kevin Newton <[email protected]> | 2023-10-30 11:21:16 -0400 |
---|---|---|
committer | git <[email protected]> | 2023-10-30 15:53:37 +0000 |
commit | 7bf3d9343fc9ca34124026cb3806107a3a6ddf09 (patch) | |
tree | 5bcd16e551689648a54893f266a812c89a1926bf /prism/prism.h | |
parent | 7d8cfa0a40475c59364605f83b1b892bf068ae30 (diff) |
[ruby/prism] parse_inline_comments -> parse_comments
https://github.com/ruby/prism/commit/bd4d248fd6
Diffstat (limited to 'prism/prism.h')
-rw-r--r-- | prism/prism.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/prism/prism.h b/prism/prism.h index 227b233ea1..9dcecbb976 100644 --- a/prism/prism.h +++ b/prism/prism.h @@ -65,9 +65,8 @@ PRISM_EXPORTED_FUNCTION void pm_serialize(pm_parser_t *parser, pm_node_t *node, // Parse the given source to the AST and serialize the AST to the given buffer. PRISM_EXPORTED_FUNCTION void pm_parse_serialize(const uint8_t *source, size_t size, pm_buffer_t *buffer, const char *metadata); -// Parse and serialize the inline comments in the given source to the given -// buffer. -PRISM_EXPORTED_FUNCTION void pm_parse_serialize_inline_comments(const uint8_t *source, size_t size, pm_buffer_t *buffer, const char *metadata); +// Parse and serialize the comments in the given source to the given buffer. +PRISM_EXPORTED_FUNCTION void pm_parse_serialize_comments(const uint8_t *source, size_t size, pm_buffer_t *buffer, const char *metadata); // Lex the given source and serialize to the given buffer. PRISM_EXPORTED_FUNCTION void pm_lex_serialize(const uint8_t *source, size_t size, const char *filepath, pm_buffer_t *buffer); |