X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fnfa.h;h=a61b5c1b3c4f5acacf5a4647d25e1ea746d1a78d;hp=e89a405e7665304c88144e72a5d4cbdb7c4cd7da;hb=2b8a6e970b5ed4182a67d423ba4ba5dc74ffc6bb;hpb=4d994a119a1949522fe229270983ba1b1b399c6a diff --git a/include/yaz/nfa.h b/include/yaz/nfa.h index e89a405..a61b5c1 100644 --- a/include/yaz/nfa.h +++ b/include/yaz/nfa.h @@ -1,6 +1,6 @@ /* Copyright (C) 2006, Index Data ApS * See the file LICENSE for details. - * $Id: nfa.h,v 1.1 2006-05-03 09:04:33 heikki Exp $ + * $Id: nfa.h,v 1.2 2006-05-03 11:09:59 heikki Exp $ */ /** @@ -91,16 +91,15 @@ void *yaz_nfa_get_result( * Each state can be the beginning and/or ending of a backref * sequence. This call sets those flags in the states. After matching, * we can get hold of the backrefs that matched, and use them in our - * translations. + * translations. The backrefs start at 1, not zero! * * \param n the nfa * \param s the state to add to * \param backref_number is the number of the back reference. 0 for clearing * \param is_start is 1 for start of the backref, 0 for end - * \return - * 0 for OK - * 1 if the backref is already set - * + * \retval 0 for OK + * \retval 1 if the backref is already set + * \retval 2 for ending a backref that has not been started * */