aboutsummaryrefslogtreecommitdiffstats
path: root/prism/prism.h
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-10-30 11:21:16 -0400
committergit <svn-admin@ruby-lang.org>2023-10-30 15:53:37 +0000
commit7bf3d9343fc9ca34124026cb3806107a3a6ddf09 (patch)
tree5bcd16e551689648a54893f266a812c89a1926bf /prism/prism.h
parent7d8cfa0a40475c59364605f83b1b892bf068ae30 (diff)
downloadruby-7bf3d9343fc9ca34124026cb3806107a3a6ddf09.tar.gz
[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.h5
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);