mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-20 01:37:52 +02:00
Added #undef DEBUG, because DEBUGging is now activated in boxes.h
Added #include tools.h
This commit is contained in:
parent
e0b1b6f9bb
commit
43e877f2f9
13
src/lexer.l
13
src/lexer.l
@ -4,7 +4,7 @@
|
|||||||
* Date created: March 15, 1999 (Monday, 17:16h)
|
* Date created: March 15, 1999 (Monday, 17:16h)
|
||||||
* Author: Thomas Jensen
|
* Author: Thomas Jensen
|
||||||
* tsjensen@stud.informatik.uni-erlangen.de
|
* tsjensen@stud.informatik.uni-erlangen.de
|
||||||
* Version: $Id: lexer.l,v 1.7 1999/06/17 19:05:46 tsjensen Exp tsjensen $
|
* Version: $Id: lexer.l,v 1.8 1999/06/20 14:17:58 tsjensen Exp tsjensen $
|
||||||
* Language: lex (ANSI C)
|
* Language: lex (ANSI C)
|
||||||
* Purpose: flex lexical analyzer for boxes configuration files
|
* Purpose: flex lexical analyzer for boxes configuration files
|
||||||
* Remarks: ---
|
* Remarks: ---
|
||||||
@ -12,6 +12,9 @@
|
|||||||
* Revision History:
|
* Revision History:
|
||||||
*
|
*
|
||||||
* $Log: lexer.l,v $
|
* $Log: lexer.l,v $
|
||||||
|
* Revision 1.8 1999/06/20 14:17:58 tsjensen
|
||||||
|
* Added "padding" keyword and recogintion of numbers (YNUMBER)
|
||||||
|
*
|
||||||
* Revision 1.7 1999/06/17 19:05:46 tsjensen
|
* Revision 1.7 1999/06/17 19:05:46 tsjensen
|
||||||
* Bugfix: Sample block analysis didn't handle empty blocks
|
* Bugfix: Sample block analysis didn't handle empty blocks
|
||||||
*
|
*
|
||||||
@ -38,14 +41,16 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "boxes.h"
|
#include "boxes.h"
|
||||||
|
#include "tools.h"
|
||||||
#include "y.tab.h"
|
#include "y.tab.h"
|
||||||
|
|
||||||
|
#undef DEBUG
|
||||||
|
/* #define DEBUG */
|
||||||
|
|
||||||
const char rcsid_lexer_l[] =
|
const char rcsid_lexer_l[] =
|
||||||
"$Id: lexer.l,v 1.7 1999/06/17 19:05:46 tsjensen Exp tsjensen $";
|
"$Id: lexer.l,v 1.8 1999/06/20 14:17:58 tsjensen Exp tsjensen $";
|
||||||
|
|
||||||
int yylineno = 1;
|
int yylineno = 1;
|
||||||
|
|
||||||
|
13
src/parser.y
13
src/parser.y
@ -4,7 +4,7 @@
|
|||||||
* Date created: March 16, 1999 (Tuesday, 17:17h)
|
* Date created: March 16, 1999 (Tuesday, 17:17h)
|
||||||
* Author: Thomas Jensen
|
* Author: Thomas Jensen
|
||||||
* tsjensen@stud.informatik.uni-erlangen.de
|
* tsjensen@stud.informatik.uni-erlangen.de
|
||||||
* Version: $Id: parser.y,v 1.10 1999/06/17 19:04:45 tsjensen Exp tsjensen $
|
* Version: $Id: parser.y,v 1.11 1999/06/20 14:18:51 tsjensen Exp tsjensen $
|
||||||
* Language: yacc (ANSI C)
|
* Language: yacc (ANSI C)
|
||||||
* Purpose: Yacc parser for boxes configuration files
|
* Purpose: Yacc parser for boxes configuration files
|
||||||
* Remarks: ---
|
* Remarks: ---
|
||||||
@ -12,6 +12,9 @@
|
|||||||
* Revision History:
|
* Revision History:
|
||||||
*
|
*
|
||||||
* $Log: parser.y,v $
|
* $Log: parser.y,v $
|
||||||
|
* Revision 1.11 1999/06/20 14:18:51 tsjensen
|
||||||
|
* Adden YPADDING and YNUMBER tokens plus code for padding blocks
|
||||||
|
*
|
||||||
* Revision 1.10 1999/06/17 19:04:45 tsjensen
|
* Revision 1.10 1999/06/17 19:04:45 tsjensen
|
||||||
* Added detection of empty sample blocks (we don't want that)
|
* Added detection of empty sample blocks (we don't want that)
|
||||||
* Added detection of duplicate sample blocks
|
* Added detection of duplicate sample blocks
|
||||||
@ -52,15 +55,17 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* #define DEBUG */
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "tools.h"
|
||||||
#include "boxes.h"
|
#include "boxes.h"
|
||||||
|
|
||||||
|
#undef DEBUG
|
||||||
|
/* #define DEBUG */
|
||||||
|
|
||||||
const char rcsid_parser_y[] =
|
const char rcsid_parser_y[] =
|
||||||
"$Id: parser.y,v 1.10 1999/06/17 19:04:45 tsjensen Exp tsjensen $";
|
"$Id: parser.y,v 1.11 1999/06/20 14:18:51 tsjensen Exp tsjensen $";
|
||||||
|
|
||||||
|
|
||||||
static int pflicht = 0;
|
static int pflicht = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user