[tracker] SPARQL: Accept DOT after GRAPH template



commit 8874abddb910b24550d150e9735cdcd6ff11c818
Author: Jürg Billeter <j bitron ch>
Date:   Mon Apr 11 11:21:17 2011 +0200

    SPARQL: Accept DOT after GRAPH template
    
    Fixes NB#245373.

 src/libtracker-data/tracker-sparql-query.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index 21b936d..27dae58 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -768,6 +768,8 @@ public class Tracker.Sparql.Query : Object {
 				expect (SparqlTokenType.CLOSE_BRACE);
 
 				current_graph = old_graph;
+
+				accept (SparqlTokenType.DOT);
 			} else {
 				current_subject = parse_construct_var_or_term (var_value_map);
 				parse_construct_property_list_not_empty (var_value_map);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]