summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-03-28 10:30:52 -0400
committerKevin Newton <kddnewton@gmail.com>2024-03-28 12:04:35 -0400
commit35ff302893dfb1efd03ea17e76b9a09e2d3377a2 (patch)
treead0f715524bc61ba2d6a3a28346f2aea538dc881
parentf7c5e11d894c6c6a965a9fa98ff9519635b6db2b (diff)
[ruby/prism] Various cleanup with new -x option
https://github.com/ruby/prism/commit/020756fb11
-rw-r--r--prism/util/pm_newline_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/prism/util/pm_newline_list.h b/prism/util/pm_newline_list.h
index 11abe237a6..7ae9b6b3da 100644
--- a/prism/util/pm_newline_list.h
+++ b/prism/util/pm_newline_list.h
@@ -63,6 +63,8 @@ bool pm_newline_list_init(pm_newline_list_t *list, const uint8_t *start, size_t
/**
* Clear out the newlines that have been appended to the list.
+ *
+ * @param list The list to clear.
*/
void
pm_newline_list_clear(pm_newline_list_t *list);