|
@@ -18,7 +18,7 @@
|
|
#define FLEX_SCANNER
|
|
#define FLEX_SCANNER
|
|
#define YY_FLEX_MAJOR_VERSION 2
|
|
#define YY_FLEX_MAJOR_VERSION 2
|
|
#define YY_FLEX_MINOR_VERSION 5
|
|
#define YY_FLEX_MINOR_VERSION 5
|
|
-#define YY_FLEX_SUBMINOR_VERSION 37
|
|
|
|
|
|
+#define YY_FLEX_SUBMINOR_VERSION 39
|
|
#if YY_FLEX_SUBMINOR_VERSION > 0
|
|
#if YY_FLEX_SUBMINOR_VERSION > 0
|
|
#define FLEX_BETA
|
|
#define FLEX_BETA
|
|
#endif
|
|
#endif
|
|
@@ -230,6 +230,13 @@ extern FILE *yyin, *yyout;
|
|
if ( yytext[yyl] == '\n' )\
|
|
if ( yytext[yyl] == '\n' )\
|
|
--yylineno;\
|
|
--yylineno;\
|
|
}while(0)
|
|
}while(0)
|
|
|
|
+ #define YY_LINENO_REWIND_TO(dst) \
|
|
|
|
+ do {\
|
|
|
|
+ const char *p;\
|
|
|
|
+ for ( p = yy_cp-1; p >= (dst); --p)\
|
|
|
|
+ if ( *p == '\n' )\
|
|
|
|
+ --yylineno;\
|
|
|
|
+ }while(0)
|
|
|
|
|
|
/* Return all but the first "n" matched characters back to the input stream. */
|
|
/* Return all but the first "n" matched characters back to the input stream. */
|
|
#define yyless(n) \
|
|
#define yyless(n) \
|
|
@@ -438,6 +445,8 @@ int yylineno = 1;
|
|
extern char *yytext;
|
|
extern char *yytext;
|
|
#define yytext_ptr yytext
|
|
#define yytext_ptr yytext
|
|
|
|
|
|
|
|
+/* %% [1.5] DFA */
|
|
|
|
+
|
|
/* %if-c-only Standard (non-C++) definition */
|
|
/* %if-c-only Standard (non-C++) definition */
|
|
|
|
|
|
static yy_state_type yy_get_previous_state (void );
|
|
static yy_state_type yy_get_previous_state (void );
|
|
@@ -636,7 +645,7 @@ static isc::eval::location loc;
|
|
// by moving it ahead by yyleng bytes. yyleng specifies the length of the
|
|
// by moving it ahead by yyleng bytes. yyleng specifies the length of the
|
|
// currently matched token.
|
|
// currently matched token.
|
|
#define YY_USER_ACTION loc.columns(yyleng);
|
|
#define YY_USER_ACTION loc.columns(yyleng);
|
|
-#line 640 "lexer.cc"
|
|
|
|
|
|
+#line 649 "lexer.cc"
|
|
|
|
|
|
#define INITIAL 0
|
|
#define INITIAL 0
|
|
|
|
|
|
@@ -875,17 +884,6 @@ YY_DECL
|
|
register char *yy_cp, *yy_bp;
|
|
register char *yy_cp, *yy_bp;
|
|
register int yy_act;
|
|
register int yy_act;
|
|
|
|
|
|
-/* %% [7.0] user's declarations go here */
|
|
|
|
-#line 76 "lexer.ll"
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- // Code run each time yylex is called.
|
|
|
|
- loc.step();
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-#line 888 "lexer.cc"
|
|
|
|
-
|
|
|
|
if ( !(yy_init) )
|
|
if ( !(yy_init) )
|
|
{
|
|
{
|
|
(yy_init) = 1;
|
|
(yy_init) = 1;
|
|
@@ -920,6 +918,18 @@ YY_DECL
|
|
yy_load_buffer_state( );
|
|
yy_load_buffer_state( );
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ {
|
|
|
|
+/* %% [7.0] user's declarations go here */
|
|
|
|
+#line 76 "lexer.ll"
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ // Code run each time yylex is called.
|
|
|
|
+ loc.step();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+#line 932 "lexer.cc"
|
|
|
|
+
|
|
while ( 1 ) /* loops until end-of-file is reached */
|
|
while ( 1 ) /* loops until end-of-file is reached */
|
|
{
|
|
{
|
|
/* %% [8.0] yymore()-related code goes here */
|
|
/* %% [8.0] yymore()-related code goes here */
|
|
@@ -938,7 +948,7 @@ YY_DECL
|
|
yy_match:
|
|
yy_match:
|
|
do
|
|
do
|
|
{
|
|
{
|
|
- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
|
|
|
|
|
|
+ register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
|
|
if ( yy_accept[yy_current_state] )
|
|
if ( yy_accept[yy_current_state] )
|
|
{
|
|
{
|
|
(yy_last_accepting_state) = yy_current_state;
|
|
(yy_last_accepting_state) = yy_current_state;
|
|
@@ -967,7 +977,7 @@ yy_find_action:
|
|
|
|
|
|
if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
|
|
if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
|
|
{
|
|
{
|
|
- int yyl;
|
|
|
|
|
|
+ yy_size_t yyl;
|
|
for ( yyl = 0; yyl < yyleng; ++yyl )
|
|
for ( yyl = 0; yyl < yyleng; ++yyl )
|
|
if ( yytext[yyl] == '\n' )
|
|
if ( yytext[yyl] == '\n' )
|
|
|
|
|
|
@@ -1128,7 +1138,7 @@ YY_RULE_SETUP
|
|
#line 162 "lexer.ll"
|
|
#line 162 "lexer.ll"
|
|
ECHO;
|
|
ECHO;
|
|
YY_BREAK
|
|
YY_BREAK
|
|
-#line 1132 "lexer.cc"
|
|
|
|
|
|
+#line 1142 "lexer.cc"
|
|
|
|
|
|
case YY_END_OF_BUFFER:
|
|
case YY_END_OF_BUFFER:
|
|
{
|
|
{
|
|
@@ -1259,6 +1269,7 @@ ECHO;
|
|
"fatal flex scanner internal error--no action found" );
|
|
"fatal flex scanner internal error--no action found" );
|
|
} /* end of action switch */
|
|
} /* end of action switch */
|
|
} /* end of scanning one token */
|
|
} /* end of scanning one token */
|
|
|
|
+ } /* end of user's declarations */
|
|
} /* end of yylex */
|
|
} /* end of yylex */
|
|
/* %ok-for-header */
|
|
/* %ok-for-header */
|
|
|
|
|
|
@@ -1952,7 +1963,7 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len
|
|
YY_BUFFER_STATE b;
|
|
YY_BUFFER_STATE b;
|
|
char *buf;
|
|
char *buf;
|
|
yy_size_t n;
|
|
yy_size_t n;
|
|
- int i;
|
|
|
|
|
|
+ yy_size_t i;
|
|
|
|
|
|
/* Get memory for full buffer, including space for trailing EOB's. */
|
|
/* Get memory for full buffer, including space for trailing EOB's. */
|
|
n = _yybytes_len + 2;
|
|
n = _yybytes_len + 2;
|