diff --git a/includes/std/core.pat b/includes/std/core.pat index 052ba05..fbf42fb 100644 --- a/includes/std/core.pat +++ b/includes/std/core.pat @@ -146,4 +146,14 @@ namespace std::core { fn set_display_name(ref auto pattern, str name) { builtin::std::core::set_display_name(pattern, name); }; + + + /** + Changes the comment attached to a pattern + @param pattern The pattern to modify + @param name The new comment of the pattern + */ + fn set_pattern_comment(ref auto pattern, str comment) { + builtin::std::core::set_pattern_comment(pattern, name); + }; }