From 8ccdf12308235e51f06d033b209b3ad32e8a7bd8 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 3 Jun 2014 09:45:26 +0200 Subject: [PATCH] Add generated files from yacc and flex --- etc/spotlight/slmod_sparql_parser.c | 10 +++++----- etc/spotlight/slmod_sparql_parser.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/etc/spotlight/slmod_sparql_parser.c b/etc/spotlight/slmod_sparql_parser.c index d4082fd2..bb06ba7a 100644 --- a/etc/spotlight/slmod_sparql_parser.c +++ b/etc/spotlight/slmod_sparql_parser.c @@ -122,8 +122,8 @@ /* 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; } diff --git a/etc/spotlight/slmod_sparql_parser.h b/etc/spotlight/slmod_sparql_parser.h index 985d4cbe..471e16f5 100644 --- a/etc/spotlight/slmod_sparql_parser.h +++ b/etc/spotlight/slmod_sparql_parser.h @@ -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 */ -- 2.39.2