mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-01-19 12:28:11 +01:00
Added LEX_SDELIM macro (valid string delimiter characters)
Added prototype for chg_strdelims()
This commit is contained in:
parent
f5b5d4572a
commit
a6d4809f08
15
src/lexer.h
15
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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user