[Swift-commit] r5269 - provenancedb

lgadelha at ci.uchicago.edu lgadelha at ci.uchicago.edu
Tue Nov 1 10:57:01 CDT 2011


Author: lgadelha
Date: 2011-11-01 10:57:01 -0500 (Tue, 01 Nov 2011)
New Revision: 5269

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


Modified: provenancedb/ProvSQL.g
===================================================================
--- provenancedb/ProvSQL.g	2011-11-01 05:09:55 UTC (rev 5268)
+++ provenancedb/ProvSQL.g	2011-11-01 15:57:01 UTC (rev 5269)
@@ -330,6 +330,8 @@
 				selectClause +=  ".*";
 		}
 		')' 	{ selectClause+=")"; }
+		|
+		builtInAttribute
 	;
 
 selectExpression
@@ -558,6 +560,12 @@
 
 entityAttribute	:	ID (DOT ID)?;
 
+builtInAttribute
+	:	COMPARERUN '(' builtInAtom (COLON builtInAtom)* ')' (DOT ID)?;
+
+builtInAtom
+	:	('parameter' | 'key' ) '=' STRING ;
+	
 entityAndAttribute
 	:	ID DOT ID;
 
@@ -570,6 +578,8 @@
 COMPARERUN
 	:	'compare_run';
 
+ANCESTOR:	'ancestor';
+
 BY	:	'by';
 
 AGGRFUN	:	'avg' | 'max' | 'min' | 'count' | 'sum';




More information about the Swift-commit mailing list