diff --git a/src/lexer.l b/src/lexer.l index bbaa4eb..05a19f5 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -4,7 +4,7 @@ * Date created: March 15, 1999 (Monday, 17:16h) * Author: Thomas Jensen * 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) * Purpose: flex lexical analyzer for boxes configuration files * Remarks: --- @@ -12,6 +12,9 @@ * Revision History: * * $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 * Bugfix: Sample block analysis didn't handle empty blocks * @@ -38,14 +41,16 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -/* #define DEBUG */ - #include #include "boxes.h" +#include "tools.h" #include "y.tab.h" +#undef DEBUG +/* #define DEBUG */ + 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; diff --git a/src/parser.y b/src/parser.y index ddee127..23f0e07 100644 --- a/src/parser.y +++ b/src/parser.y @@ -4,7 +4,7 @@ * Date created: March 16, 1999 (Tuesday, 17:17h) * Author: Thomas Jensen * 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) * Purpose: Yacc parser for boxes configuration files * Remarks: --- @@ -12,6 +12,9 @@ * Revision History: * * $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 * Added detection of empty sample blocks (we don't want that) * Added detection of duplicate sample blocks @@ -52,15 +55,17 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -/* #define DEBUG */ - #include #include #include +#include "tools.h" #include "boxes.h" +#undef DEBUG +/* #define DEBUG */ + 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;