mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-23 11:12:05 +02:00
Remove lexer.l special around input_t in boxes.h #78
This commit is contained in:
parent
885bc9d498
commit
fb010bc7d6
@ -156,8 +156,6 @@ typedef struct {
|
||||
size_t *posmap; /* for each character in `text`, position of corresponding char in `mbtext`. Needed for box removal. */
|
||||
} line_t;
|
||||
|
||||
|
||||
#ifndef FILE_LEXER_L
|
||||
typedef struct {
|
||||
line_t *lines;
|
||||
size_t anz_lines; /* number of entries in input */
|
||||
@ -169,7 +167,6 @@ typedef struct {
|
||||
#define INPUT_INITIALIZER {NULL, 0, 0, LINE_MAX_BYTES, 0}
|
||||
|
||||
extern input_t input;
|
||||
#endif /*!FILE_LEXER_L*/
|
||||
|
||||
|
||||
#endif /* BOXES_H */
|
||||
|
@ -60,10 +60,8 @@ void inflate_inbuf(void *yyscanner, const char *configfile);
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "shape.h"
|
||||
#define FILE_LEXER_L
|
||||
#include "boxes.h"
|
||||
#undef FILE_LEXER_L
|
||||
#include "shape.h"
|
||||
#include "tools.h"
|
||||
#include "parsing.h"
|
||||
#include "parser.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user