From a6d4809f0802141a8c72619b43370618256b5d86 Mon Sep 17 00:00:00 2001 From: Thomas Jensen Date: Wed, 18 Aug 1999 15:42:46 +0000 Subject: [PATCH] Added LEX_SDELIM macro (valid string delimiter characters) Added prototype for chg_strdelims() --- src/lexer.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/lexer.h b/src/lexer.h index 1b78257..e604beb 100644 --- a/src/lexer.h +++ b/src/lexer.h @@ -4,7 +4,7 @@ * Date created: July 01, 1999 (Thursday, 13:43h) * Author: Copyright (C) 1999 Thomas Jensen * tsjensen@stud.informatik.uni-erlangen.de - * Version: $Id: lexer.h,v 1.2 1999/07/03 16:12:19 tsjensen Exp tsjensen $ + * Version: $Id: lexer.h,v 1.3 1999/08/14 19:06:26 tsjensen Exp tsjensen $ * Language: ANSI C * Purpose: Export symbols used by the parser files only * @@ -24,6 +24,10 @@ * Revision History: * * $Log: lexer.h,v $ + * Revision 1.3 1999/08/14 19:06:26 tsjensen + * Added GNU GPL disclaimer + * Added yylex() declaration to please compiler + * * Revision 1.2 1999/07/03 16:12:19 tsjensen * Renamed file from parser.h to lexer.h * @@ -37,10 +41,19 @@ #define LEXER_H +/* + * Valid characters to be used as string delimiters. Note that the + * following list must correspond to the DELIM definition in lexer.l. + */ +#define LEX_SDELIM "\"~'`!@%&*=:;<>?/|.\\" + + int yylex(); /* defined in lex.yy.c */ void begin_speedmode(); +void chg_strdelims (const char asdel, const char asesc); + extern int speeding;