• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

超漢字アプリケーション開発用のProtocol Buffersコンパイラの開発


Commit MetaInfo

Revisão2b326c7106433781f43dd4ca8d9e3d6c6892fa4a (tree)
Hora2015-01-28 01:45:46
Autorornse01 <ornse01@user...>
Commiterornse01

Mensagem de Log

fix erb template file name.

Mudança Sumário

Diff

--- a/src/protobuf/cgenerator.rb
+++ b/src/protobuf/cgenerator.rb
@@ -6,7 +6,7 @@ module Protobuf end
66 class Protobuf::CGenerator
77 def self.generate_header(msg_list)
88 msg_list = msg_list.map { |msg| Protobuf::CGenerator::Message.new msg }
9- script = Pathname("../template.erb").expand_path(__FILE__).read()
9+ script = Pathname("../template.h.erb").expand_path(__FILE__).read()
1010
1111 erb = ERB.new(script, nil, '-');
1212 erb.result(binding)