]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
master: regen parser files
authorFrancis Dupont <fdupont@isc.org>
Wed, 7 Sep 2016 13:13:31 +0000 (13:13 +0000)
committerFrancis Dupont <fdupont@isc.org>
Wed, 7 Sep 2016 13:13:31 +0000 (13:13 +0000)
src/lib/eval/lexer.cc
src/lib/eval/location.hh
src/lib/eval/position.hh
src/lib/eval/stack.hh

index af6de6d4bb541c770bae5ed53c3a65b4ab41ab2b..6e32160c8df2c7fa153375ef65551de65904b036 100644 (file)
@@ -284,7 +284,7 @@ struct yy_buffer_state
        /* Number of characters read into yy_ch_buf, not including EOB
         * characters.
         */
-       int yy_n_chars;
+       yy_size_t yy_n_chars;
 
        /* Whether we "own" the buffer - i.e., we know we created it,
         * and can realloc() it to grow it, and should free() it to
@@ -368,7 +368,7 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
 
 /* yy_hold_char holds the character lost when yytext is formed. */
 static char yy_hold_char;
-static int yy_n_chars;         /* number of characters read into yy_ch_buf */
+static yy_size_t yy_n_chars;           /* number of characters read into yy_ch_buf */
 yy_size_t yyleng;
 
 /* Points to current character in buffer. */
@@ -1793,9 +1793,9 @@ static int yy_get_next_buffer (void)
        else
                ret_val = EOB_ACT_CONTINUE_SCAN;
 
-       if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
+       if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
                /* Extend the array by 50%, plus the number we really need. */
-               int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+               yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
                YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
                if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
                        YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
@@ -2261,7 +2261,7 @@ static void yyensure_buffer_stack (void)
                 * scanner will even need a stack. We use 2 instead of 1 to avoid an
                 * immediate realloc on the next call.
          */
-               num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
+               num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
                (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
                                                                (num_to_alloc * sizeof(struct yy_buffer_state*)
                                                                );
index effaa15addb7999694eb33b84b2a85223190c9cb..a0c47836a83bea825863f2fe0cc43981ba940fa3 100644 (file)
@@ -1,3 +1,4 @@
+// Generated 201609071312
 // A Bison parser, made by GNU Bison 3.0.4.
 
 // Locations for Bison parsers in C++
index b3eebe04f690fabad1ede6b506a3a7f5829a9a68..3aa0b1567c32601e9f03e78037dfa26b8bce8ea9 100644 (file)
@@ -1,3 +1,4 @@
+// Generated 201609071312
 // A Bison parser, made by GNU Bison 3.0.4.
 
 // Positions for Bison parsers in C++
index 6bda37bbcf75ecf027e4e074ca0c6fde27f3baa4..07b806aa49ee4b526227ecea66e7feb283b07012 100644 (file)
@@ -1,3 +1,4 @@
+// Generated 201609071312
 // A Bison parser, made by GNU Bison 3.0.4.
 
 // Stack handling for Bison parsers in C++