31 |
#include "reader.h" |
#include "reader.h" |
32 |
|
|
33 |
/* Each time we match a string, move the end cursor to its end. */ |
/* Each time we match a string, move the end cursor to its end. */ |
34 |
|
#define YY_USER_INIT \ |
35 |
|
do { \ |
36 |
|
LOCATION_RESET (*yylloc); \ |
37 |
|
/* This is only to avoid GCC warnings. */ \ |
38 |
|
if (yycontrol) {;}; \ |
39 |
|
} while (0) |
40 |
|
|
41 |
#define YY_USER_ACTION LOCATION_COLUMNS (*yylloc, yyleng) |
#define YY_USER_ACTION LOCATION_COLUMNS (*yylloc, yyleng) |
42 |
#define YY_LINES LOCATION_LINES (*yylloc, yyleng); lineno += yyleng; |
#define YY_LINES LOCATION_LINES (*yylloc, yyleng); lineno += yyleng; |
43 |
#define YY_STEP LOCATION_STEP (*yylloc) |
#define YY_STEP LOCATION_STEP (*yylloc) |
76 |
} |
} |
77 |
|
|
78 |
|
|
|
/* This is only to avoid GCC warnings. */ |
|
|
#define YY_USER_INIT if (yycontrol) {;}; |
|
|
|
|
79 |
|
|
80 |
static int braces_level = 0; |
static int braces_level = 0; |
81 |
static int percent_percent_count = 0; |
static int percent_percent_count = 0; |
100 |
start of the next token. */ |
start of the next token. */ |
101 |
#define TR_POS 0 |
#define TR_POS 0 |
102 |
#if TR_POS |
#if TR_POS |
103 |
fprintf (stderr, "FOO1: "); |
fprintf (stderr, "FOO1: %p: ", yylloc); |
104 |
LOCATION_PRINT (stderr, *yylloc); |
LOCATION_PRINT (stderr, *yylloc); |
105 |
fprintf (stderr, "\n"); |
fprintf (stderr, "\n"); |
106 |
#endif |
#endif |