2 Commits
Author SHA1 Message Date
josh dddb1b5089 v4.8.1 2026-07-14 22:20:56 -04:00
josh c3bccd2151 Fix tree struct type forward-declarations for C/C++ 2026-07-14 22:11:39 -04:00
3 changed files with 8 additions and 2 deletions

No files matched your search

+6
View File
@@ -1,3 +1,9 @@
## v4.8.1
### Fixes
- Fix tree node struct type forward-declarations for C/C++
## v4.8.0 ## v4.8.0
### New Features ### New Features
+1 -1
View File
@@ -104,7 +104,7 @@ typedef struct <%= @grammar.tree_prefix %>Token<%= @grammar.tree_suffix %>
<% @parser.rule_sets.each do |name, rule_set| %> <% @parser.rule_sets.each do |name, rule_set| %>
<% next if name.start_with?("$") %> <% next if name.start_with?("$") %>
<% next if rule_set.optional? %> <% next if rule_set.optional? %>
struct <%= name %>; struct <%= @grammar.tree_prefix %><%= name %><%= @grammar.tree_suffix %>;
<% end %> <% end %>
<% @parser.rule_sets.each do |name, rule_set| %> <% @parser.rule_sets.each do |name, rule_set| %>
+1 -1
View File
@@ -1,3 +1,3 @@
class Propane class Propane
VERSION = "4.8.0" VERSION = "4.8.1"
end end