Take brackets out of cpp_type bit
authorMark Slee <mcslee@apache.org>
Fri, 9 Feb 2007 21:55:44 +0000 (21:55 +0000)
committerMark Slee <mcslee@apache.org>
Fri, 9 Feb 2007 21:55:44 +0000 (21:55 +0000)
Reviewed By: aditya

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664996 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/src/thrifty.yy

index 519f20d..019fb9d 100644 (file)
@@ -876,9 +876,9 @@ ListType:
     }
 
 CppType:
-  '[' tok_cpp_type tok_literal ']'
+  tok_cpp_type tok_literal
     {
-      $$ = $3;
+      $$ = $2;
     }
 |
     {