[Swift-commit] r5205 - provenancedb

lgadelha at ci.uchicago.edu lgadelha at ci.uchicago.edu
Tue Oct 4 10:55:41 CDT 2011


Author: lgadelha
Date: 2011-10-04 10:55:41 -0500 (Tue, 04 Oct 2011)
New Revision: 5205

Modified:
   provenancedb/ProvSQL.g
Log:
Minor updates.


Modified: provenancedb/ProvSQL.g
===================================================================
--- provenancedb/ProvSQL.g	2011-10-04 15:28:17 UTC (rev 5204)
+++ provenancedb/ProvSQL.g	2011-10-04 15:55:41 UTC (rev 5205)
@@ -211,15 +211,19 @@
 		}
 ;
 
-squery	:	SELECT (
+squery	:	SELECT 
+		{
+			System.out.print("SELECT ");
+		}
+		(
 		DISTINCT
 		{
-			System.out.print(" DISTINCT ");
+			System.out.print("DISTINCT ");
 		}
 		)? 
 		selectExpression 
 		{ 
-			System.out.print("SELECT " + selectClause);
+			System.out.print(selectClause);
 		}
 		(WHERE whereExpression
 		{




More information about the Swift-commit mailing list