From 3f30c4df8c70788b065d2004dde791056d6f4162 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Thu, 22 Aug 2024 09:31:19 -0400 Subject: [PATCH] [ruby/prism] Update templates/include/prism/ast.h.erb https://github.com/ruby/prism/commit/7f7620b6d5 --- prism/templates/include/prism/ast.h.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/prism/templates/include/prism/ast.h.erb b/prism/templates/include/prism/ast.h.erb index e5926c112c..088a99323f 100644 --- a/prism/templates/include/prism/ast.h.erb +++ b/prism/templates/include/prism/ast.h.erb @@ -151,12 +151,14 @@ typedef struct pm_node { <%- nodes.each do |node| -%> /** + * <%= node.name %> + * <%- node.each_comment_line do |line| -%> *<%= line %> <%- end -%> - * <%= node.name %> (type: <%= node.type %>) -<%- if (node_flags = node.flags) -%> * + * Type: <%= node.type %> +<%- if (node_flags = node.flags) -%> * Flags: <%- node_flags.values.each do |value| -%> * PM_<%= node_flags.human.upcase %>_<%= value.name %>