]> arthur.barton.de Git - netatalk.git/commitdiff
Add generated files from yacc and flex
authorRalph Boehme <rb@sernet.de>
Tue, 3 Jun 2014 07:45:26 +0000 (09:45 +0200)
committerRalph Boehme <rb@sernet.de>
Tue, 3 Jun 2014 07:45:26 +0000 (09:45 +0200)
etc/spotlight/slmod_sparql_parser.c
etc/spotlight/slmod_sparql_parser.h

index d4082fd248bbc8f72ef531f994ac747e5b350ca6..bb06ba7a66d9feb172c739018f48a5a56bfb05b8 100644 (file)
 
 /* In a future release of Bison, this section will be replaced
    by #include "y.tab.h".  */
-#ifndef YY_YY_Y_TAB_H_INCLUDED
-# define YY_YY_Y_TAB_H_INCLUDED
+#ifndef YY_YY_SLMOD_SPARQL_PARSER_H_INCLUDED
+# define YY_YY_SLMOD_SPARQL_PARSER_H_INCLUDED
 /* Enabling traces.  */
 #ifndef YYDEBUG
 # define YYDEBUG 0
@@ -219,7 +219,7 @@ int yyparse ();
 /* Line 387 of yacc.c  */
 #line 221 "slmod_sparql_parser.c"
 
-#endif /* !YY_YY_Y_TAB_H_INCLUDED  */
+#endif /* !YY_YY_SLMOD_SPARQL_PARSER_H_INCLUDED  */
 
 /* Copy the second part of user declarations.  */
 
@@ -1449,8 +1449,8 @@ yyreduce:
 #line 73 "slmod_sparql_parser.y"
     {
     ssp_result = talloc_asprintf(ssp_slq,
-                                 "SELECT DISTINCT ?url WHERE "
-                                 "{ ?obj nie:url ?url FILTER(regex(?url, '^file://%s/')) . %s}",
+                                 "SELECT ?url WHERE "
+                                 "{ ?obj nie:url ?url FILTER(regex(?url, '^file://%s/')) . %s} LIMIT 100",
                                  ssp_slq->slq_vol->v_path, (yyvsp[(1) - (1)].sval));
     (yyval.sval) = ssp_result;
 }
index 985d4cbe26fcfbd870c8f128b97ef7de773fcf98..471e16f5285cedfc7af8010112807233d7c0f5f8 100644 (file)
@@ -30,8 +30,8 @@
    This special exception was added by the Free Software Foundation in
    version 2.2 of Bison.  */
 
-#ifndef YY_YY_Y_TAB_H_INCLUDED
-# define YY_YY_Y_TAB_H_INCLUDED
+#ifndef YY_YY_SLMOD_SPARQL_PARSER_H_INCLUDED
+# define YY_YY_SLMOD_SPARQL_PARSER_H_INCLUDED
 /* Enabling traces.  */
 #ifndef YYDEBUG
 # define YYDEBUG 0
@@ -127,4 +127,4 @@ int yyparse ();
 /* Line 2058 of yacc.c  */
 #line 129 "slmod_sparql_parser.h"
 
-#endif /* !YY_YY_Y_TAB_H_INCLUDED  */
+#endif /* !YY_YY_SLMOD_SPARQL_PARSER_H_INCLUDED  */