mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-20 01:37:52 +02: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)
|
* Date created: July 01, 1999 (Thursday, 13:43h)
|
||||||
* Author: Copyright (C) 1999 Thomas Jensen
|
* Author: Copyright (C) 1999 Thomas Jensen
|
||||||
* tsjensen@stud.informatik.uni-erlangen.de
|
* 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
|
* Language: ANSI C
|
||||||
* Purpose: Export symbols used by the parser files only
|
* Purpose: Export symbols used by the parser files only
|
||||||
*
|
*
|
||||||
@ -24,6 +24,10 @@
|
|||||||
* Revision History:
|
* Revision History:
|
||||||
*
|
*
|
||||||
* $Log: lexer.h,v $
|
* $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
|
* Revision 1.2 1999/07/03 16:12:19 tsjensen
|
||||||
* Renamed file from parser.h to lexer.h
|
* Renamed file from parser.h to lexer.h
|
||||||
*
|
*
|
||||||
@ -37,10 +41,19 @@
|
|||||||
#define LEXER_H
|
#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 */
|
int yylex(); /* defined in lex.yy.c */
|
||||||
|
|
||||||
void begin_speedmode();
|
void begin_speedmode();
|
||||||
|
|
||||||
|
void chg_strdelims (const char asdel, const char asesc);
|
||||||
|
|
||||||
extern int speeding;
|
extern int speeding;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user