Skip to content

Commit

Permalink
Fix AMI
Browse files Browse the repository at this point in the history
    * ridlbe/c++11/visitors/pre_post.rb:
    * ridlbe/c++11/writers/amistubsource.rb:
    * ridlbe/c++11/writers/stubsource.rb:
  • Loading branch information
jwillemsen committed Apr 9, 2024
1 parent d3ba15a commit b4f1ad0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 0 additions & 6 deletions ridlbe/c++11/visitors/pre_post.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,5 @@ def visit
visit_template(:post)
end
end

class HeaderVisitor < VisitorBase
def visit
visit_template(:header)
end
end
end
end
2 changes: 2 additions & 0 deletions ridlbe/c++11/writers/amistubsource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ def post_visit(_parser)
properties[:pre_includes] = @default_pre_includes
properties[:post_includes] = @default_post_includes
properties[:includes] = @includes
visitor(HeaderVisitor).visit
visitor(IncludeStubProxyDefineVisitor).visit
visitor(PreVisitor) do |v|
###
# Overloads for this visitor only.
Expand Down
6 changes: 0 additions & 6 deletions ridlbe/c++11/writers/stubsource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@

module IDL
module Cxx11
class IncludeStubProxyDefineVisitor < VisitorBase
def visit
visit_template(:include_stub_proxy_define)
end
end

class StubSourceBaseWriter < CxxCodeWriterBase
def initialize(output = STDOUT, opts = {})
super
Expand Down

0 comments on commit b4f1ad0

Please sign in to comment.