pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1220586 - /pig/branches/branch-0.9/src/org/apache/pig/parser/AstPrinter.g
Date Mon, 19 Dec 2011 01:39:09 GMT
Author: daijy
Date: Mon Dec 19 01:39:09 2011
New Revision: 1220586

URL: http://svn.apache.org/viewvc?rev=1220586&view=rev
Log:
Fix unit test failure caused by PIG-2427

Modified:
    pig/branches/branch-0.9/src/org/apache/pig/parser/AstPrinter.g

Modified: pig/branches/branch-0.9/src/org/apache/pig/parser/AstPrinter.g
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/src/org/apache/pig/parser/AstPrinter.g?rev=1220586&r1=1220585&r2=1220586&view=diff
==============================================================================
--- pig/branches/branch-0.9/src/org/apache/pig/parser/AstPrinter.g (original)
+++ pig/branches/branch-0.9/src/org/apache/pig/parser/AstPrinter.g Mon Dec 19 01:39:09 2011
@@ -175,7 +175,7 @@ tuple_type 
 ;
 
 bag_type 
-    : ^( BAG_TYPE { sb.append("bag{"); } ( { sb.append("T:"); } tuple_type )? ) { sb.append("}");
} 
+    : ^( BAG_TYPE { sb.append("bag{"); } ( { sb.append("T:"); } IDENTIFIER? tuple_type )?
) { sb.append("}"); } 
 ;
 
 map_type : ^( MAP_TYPE { sb.append("map["); } type? ) { sb.append("]"); }



Mime
View raw message