diff options
Diffstat (limited to 'lib/resetlexer.c')
-rw-r--r-- | lib/resetlexer.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/resetlexer.c b/lib/resetlexer.c new file mode 100644 index 0000000..ab9b82e --- /dev/null +++ b/lib/resetlexer.c @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2002 by Darren Reed. + * + * See the IPFILTER.LICENCE file for details on licencing. + * + * $Id: resetlexer.c,v 1.1.4.1 2006/06/16 17:21:16 darrenr Exp $ + */ + +#include "ipf.h" + +long string_start = -1; +long string_end = -1; +char *string_val = NULL; +long pos = 0; + + +void resetlexer() +{ + string_start = -1; + string_end = -1; + string_val = NULL; + pos = 0; +} |