/*====================================================================*
*
* void scanquote ( SCAN * content);
*
* scan.h
*
* append input buffer characters to the current token substring until
* some member of the specified character set is found; do not append
* that character;t marks the start of another scan operation;
*
* if the escape meta character (backslash) occurs then append it and
* any subsequent character to the current token substringi and advance
* without checking for charactr set membership; this allows character
* set members to be ignored as scan terminators;
*
* if the escape meta character (backslash) is a member of the character
* set then it termnates the scan, like any other member of the set;
*
* this function is similar to scanuntil() except that scanuntil() does
* not recognize escaped character sequences;
*
*. Motley Tools by Charles Maier <cmaier@cmassoc.net>;
*: Published 2001-2006 by Charles Maier Associates Limited;
*; Released under the GNU General Public Licence v2 and later;
*
*--------------------------------------------------------------------*/
#ifndef SCANQUOTEMATCH_SOURCE
#define SCANQUOTEMATCH_SOURCE
#include "../scan/scan.h"
void scanquotematch (SCAN * content)
{
while ((content->final < content->limit) && (*content->final != *content->first))
{
if (isbreak (content, "\\"))
{
nextbreak (content);
}
nextbreak (content);
}
return;
}
#endif