[thrift] service functions that begin with a Capital now work for Erlang ...
authoreletuchy <dev-null@apache.org>
Thu, 27 Dec 2007 15:20:14 +0000 (15:20 +0000)
committereletuchy <dev-null@apache.org>
Thu, 27 Dec 2007 15:20:14 +0000 (15:20 +0000)
commit65704511459cdfc0f3e7d70b5008ea4e18a6f538
treec079ed7d6700d6773d79b7b1c5265aef0b1c96b6
parent5d86e399036740633954c50cc88f2a98908f54b0
[thrift] service functions that begin with a Capital now work for Erlang ...

Summary: ... The main interface function has the same name, but as an escaped atom
         (ie 'CapitalizedFun'(Arg1, Arg2) -> is the function sig)

Reviewed by: dweatherford

Test Plan: tested with the following thrift
     service foo {
         Struct1 CapitalizedFun(1: list<Struct2> param);
     }

     Generated erlang code now compiles

Revert Plan: sure

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665408 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_erl_generator.cc
compiler/cpp/src/generate/t_erl_generator.h