From b24e402e64066ff9588d4dbb1d08d4f9c13d587c Mon Sep 17 00:00:00 2001 From: Junghoon Park Date: Tue, 27 Feb 2018 16:28:08 +0900 Subject: [PATCH] Add the file name extension '.cs' for C# stub generator Change-Id: I5b7f33843970e687834a097c6603c02d457a4986 Signed-off-by: Junghoon Park --- idlc/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idlc/main.cc b/idlc/main.cc index 4931b4f..8088152 100644 --- a/idlc/main.cc +++ b/idlc/main.cc @@ -171,7 +171,7 @@ int main(int argc, char** argv) { } else { if (options->GetLanguage() == "C#") { tidl::CsStubGen stub(ps.GetDoc()); - stub.Run(options->GetOutput()); + stub.Run(options->GetOutput() + ".cs"); } else if (options->GetLanguage() == "C++") { tidl::CppStubHeaderGen stub_header(ps.GetDoc()); stub_header.Run(options->GetOutput() + ".h"); -- 2.7.4