From: Mark Slee Date: Wed, 15 Nov 2006 21:25:34 +0000 (+0000) Subject: Comma after ENUM with no explicit value X-Git-Tag: 0.2.0~1598 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=04cc605597a05f830808ed9ea81ba82d679d072e;p=common%2Fthrift.git Comma after ENUM with no explicit value git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664874 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/compiler/cpp/src/thrift.y b/compiler/cpp/src/thrift.y index 468cbb33..e1dd84f7 100644 --- a/compiler/cpp/src/thrift.y +++ b/compiler/cpp/src/thrift.y @@ -316,7 +316,7 @@ EnumDef: $$ = new t_constant($1, $3); } | - tok_identifier + tok_identifier CommaOrSemicolonOptional { pdebug("EnumDef => tok_identifier"); $$ = new t_constant($1);