You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by vi...@apache.org on 2012/07/03 06:39:40 UTC

svn commit: r1356571 - /incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java

Author: vinayakb
Date: Tue Jul  3 04:39:39 2012
New Revision: 1356571

URL: http://svn.apache.org/viewvc?rev=1356571&view=rev
Log:
Changed Exception to a TODO comment.

Modified:
    incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java

Modified: incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java?rev=1356571&r1=1356570&r2=1356571&view=diff
==============================================================================
--- incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java (original)
+++ incubator/vxquery/branches/vxquery_algebricks/vxquery-core/src/main/java/org/apache/vxquery/xmlquery/translator/XMLQueryTranslator.java Tue Jul  3 04:39:39 2012
@@ -408,7 +408,8 @@ public class XMLQueryTranslator {
                 switch (d.getTag()) {
                     case VARIABLE_DECLARATION: {
                         VarDeclNode node = (VarDeclNode) d;
-                        throw new SystemException(ErrorCode.TODO);
+                        // TODO Support Global variables
+                        break;
                     }
 
                     case FUNCTION_DECLARATION: {