/*====================================================================*
*
* void copyquote (SCAN * content, char buffer [], signed length);
*
* scan.h
*
* copy the current token to a user supplied buffer of specified
* length; the token is assumed to be enclosed in quotes of some
* kind which are discarded before the token is copied;
*
*. 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 COPYQUOTE_SOURCE
#define COPYQUOTE_SOURCE
# include "../scan/scan.h"
void copyquote (SCAN * content, char buffer [], signed length)
{
content->first++;
content->final--;
copytoken (content, buffer, length);
content->first--;
content->final++;
return;
}
#endif