From dccd483bc75013a7b16542d27f92f956146aa570 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 29 Aug 2011 10:20:13 +0200 Subject: [PATCH] Fix comment about term_104, term_105 functions --- index/rpnsearch.c | 10 +++++----- m4 | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index/rpnsearch.c b/index/rpnsearch.c index 3fbaa83..873ca91 100644 --- a/index/rpnsearch.c +++ b/index/rpnsearch.c @@ -433,7 +433,7 @@ static int term_102(zebra_map_t zm, const char **src, } -/* term_104: handle term, process # and ! */ +/* term_104: handle term, process ?n * # */ static int term_104(zebra_map_t zm, const char **src, WRBUF term_dict, int space_split, WRBUF display_term) { @@ -502,7 +502,7 @@ static int term_104(zebra_map_t zm, const char **src, return i; } -/* term_105/106: handle term, where trunc = Process * and ! and right trunc */ +/* term_105/106: handle term, process * ! and possibly right_truncate */ static int term_105(zebra_map_t zm, const char **src, WRBUF term_dict, int space_split, WRBUF display_term, int right_truncate) @@ -1147,7 +1147,7 @@ static ZEBRA_RES string_term(ZebraHandle zh, Z_AttributesPlusTerm *zapt, } wrbuf_putc(term_dict, ')'); break; - case 104: /* process # and ! in term */ + case 104: /* process ?n * # term */ wrbuf_putc(term_dict, '('); if (!term_104(zm, &termp, term_dict, space_split, display_term)) { @@ -1156,7 +1156,7 @@ static ZEBRA_RES string_term(ZebraHandle zh, Z_AttributesPlusTerm *zapt, } wrbuf_putc(term_dict, ')'); break; - case 105: /* process * and ! in term */ + case 105: /* process * ! in term and right truncate */ wrbuf_putc(term_dict, '('); if (!term_105(zm, &termp, term_dict, space_split, display_term, 1)) { @@ -1165,7 +1165,7 @@ static ZEBRA_RES string_term(ZebraHandle zh, Z_AttributesPlusTerm *zapt, } wrbuf_putc(term_dict, ')'); break; - case 106: /* process * and ! in term */ + case 106: /* process * ! in term */ wrbuf_putc(term_dict, '('); if (!term_105(zm, &termp, term_dict, space_split, display_term, 0)) { diff --git a/m4 b/m4 index 96ff03f..a68af87 160000 --- a/m4 +++ b/m4 @@ -1 +1 @@ -Subproject commit 96ff03f91b4539e315dadd50ab2564412c076394 +Subproject commit a68af871a42a363953e3ff78feff378787ad6ddd -- 1.7.10.4