Skip to content

Commit

Permalink
Merge branch 'release/v1.5.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarcais committed Jul 27, 2023
2 parents b7db13d + 18d01d9 commit d82dfb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions lib/yaggo/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ class #{class_name} {
end

# Constructors and initialization
h.puts("", " #{class_name}() :")
h.puts(" " + ($options + $args).map { |o| o.init }.join(",\n "), " { }")
h.puts("", " #{class_name}(int argc, char* argv[]) :")
h.puts(" " + ($options + $args).map { |o| o.init }.join(",\n "))
h.puts("", " #{class_name}()")
h.puts(" :" + ($options + $args).map { |o| o.init }.join("\n ,")) unless $options.empty? && $args.empty?
h.puts(" { }")
h.puts("", " #{class_name}(int argc, char* argv[])")
h.puts(" :" + ($options + $args).map { |o| o.init }.join("\n ,")) unless $options.empty? && $args.empty?
h.puts(" { parse(argc, argv); }", "");

# Main arsing function
Expand Down
2 changes: 1 addition & 1 deletion lib/yaggo/version.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
$yaggo_version = "1.5.10"
$yaggo_version = "1.5.11"

0 comments on commit d82dfb3

Please sign in to comment.