290
290
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
291
291
292
292
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
293
- * if you want the limit (max/min) macros for int types.
293
+ * if you want the limit (max/min) macros for int types.
294
294
*/
295
295
#ifndef __STDC_LIMIT_MACROS
296
296
#define __STDC_LIMIT_MACROS 1
@@ -307,7 +307,7 @@ typedef uint32_t flex_uint32_t;
307
307
typedef signed char flex_int8_t ;
308
308
typedef short int flex_int16_t ;
309
309
typedef int flex_int32_t ;
310
- typedef unsigned char flex_uint8_t ;
310
+ typedef unsigned char flex_uint8_t ;
311
311
typedef unsigned short int flex_uint16_t ;
312
312
typedef unsigned int flex_uint32_t ;
313
313
@@ -418,10 +418,10 @@ extern FILE *yyin, *yyout;
418
418
#define EOB_ACT_CONTINUE_SCAN 0
419
419
#define EOB_ACT_END_OF_FILE 1
420
420
#define EOB_ACT_LAST_MATCH 2
421
-
421
+
422
422
#define YY_LESS_LINENO (n )
423
423
#define YY_LINENO_REWIND_TO (ptr )
424
-
424
+
425
425
/* Return all but the first "n" matched characters back to the input stream. */
426
426
#define yyless (n ) \
427
427
do \
@@ -862,7 +862,7 @@ extern int yywrap ( void );
862
862
#endif
863
863
864
864
#ifndef YY_NO_UNPUT
865
-
865
+
866
866
#endif
867
867
868
868
#ifndef yytext_ptr
@@ -989,7 +989,7 @@ YY_DECL
989
989
yy_state_type yy_current_state;
990
990
char *yy_cp, *yy_bp;
991
991
int yy_act;
992
-
992
+
993
993
if ( !(yy_init) )
994
994
{
995
995
(yy_init) = 1 ;
@@ -1563,7 +1563,7 @@ static int yy_get_next_buffer (void)
1563
1563
{
1564
1564
yy_state_type yy_current_state;
1565
1565
char *yy_cp;
1566
-
1566
+
1567
1567
yy_current_state = (yy_start);
1568
1568
1569
1569
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
@@ -1627,7 +1627,7 @@ static int yy_get_next_buffer (void)
1627
1627
1628
1628
{
1629
1629
int c;
1630
-
1630
+
1631
1631
*(yy_c_buf_p) = (yy_hold_char);
1632
1632
1633
1633
if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
@@ -1694,12 +1694,12 @@ static int yy_get_next_buffer (void)
1694
1694
1695
1695
/* * Immediately switch to a different input stream.
1696
1696
* @param input_file A readable stream.
1697
- *
1697
+ *
1698
1698
* @note This function does not reset the start condition to @c INITIAL .
1699
1699
*/
1700
1700
void yyrestart (FILE * input_file )
1701
1701
{
1702
-
1702
+
1703
1703
if ( ! YY_CURRENT_BUFFER ){
1704
1704
yyensure_buffer_stack ();
1705
1705
YY_CURRENT_BUFFER_LVALUE =
@@ -1712,11 +1712,11 @@ static int yy_get_next_buffer (void)
1712
1712
1713
1713
/* * Switch to a different input buffer.
1714
1714
* @param new_buffer The new input buffer.
1715
- *
1715
+ *
1716
1716
*/
1717
1717
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
1718
1718
{
1719
-
1719
+
1720
1720
/* TODO. We should be able to replace this entire function body
1721
1721
* with
1722
1722
* yypop_buffer_state();
@@ -1756,13 +1756,13 @@ static void yy_load_buffer_state (void)
1756
1756
/* * Allocate and initialize an input buffer state.
1757
1757
* @param file A readable stream.
1758
1758
* @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1759
- *
1759
+ *
1760
1760
* @return the allocated buffer state.
1761
1761
*/
1762
1762
YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
1763
1763
{
1764
1764
YY_BUFFER_STATE b;
1765
-
1765
+
1766
1766
b = (YY_BUFFER_STATE) yyalloc ( sizeof ( struct yy_buffer_state ) );
1767
1767
if ( ! b )
1768
1768
YY_FATAL_ERROR ( " out of dynamic memory in yy_create_buffer()" );
@@ -1785,11 +1785,11 @@ static void yy_load_buffer_state (void)
1785
1785
1786
1786
/* * Destroy the buffer.
1787
1787
* @param b a buffer created with yy_create_buffer()
1788
- *
1788
+ *
1789
1789
*/
1790
1790
void yy_delete_buffer (YY_BUFFER_STATE b )
1791
1791
{
1792
-
1792
+
1793
1793
if ( ! b )
1794
1794
return ;
1795
1795
@@ -1810,7 +1810,7 @@ static void yy_load_buffer_state (void)
1810
1810
1811
1811
{
1812
1812
int oerrno = errno;
1813
-
1813
+
1814
1814
yy_flush_buffer ( b );
1815
1815
1816
1816
b->yy_input_file = file;
@@ -1826,13 +1826,13 @@ static void yy_load_buffer_state (void)
1826
1826
}
1827
1827
1828
1828
b->yy_is_interactive = 0 ;
1829
-
1829
+
1830
1830
errno = oerrno;
1831
1831
}
1832
1832
1833
1833
/* * Discard all buffered characters. On the next scan, YY_INPUT will be called.
1834
1834
* @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1835
- *
1835
+ *
1836
1836
*/
1837
1837
void yy_flush_buffer (YY_BUFFER_STATE b )
1838
1838
{
@@ -1861,7 +1861,7 @@ static void yy_load_buffer_state (void)
1861
1861
* the current state. This function will allocate the stack
1862
1862
* if necessary.
1863
1863
* @param new_buffer The new state.
1864
- *
1864
+ *
1865
1865
*/
1866
1866
void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1867
1867
{
@@ -1891,7 +1891,7 @@ void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
1891
1891
1892
1892
/* * Removes and deletes the top of the stack, if present.
1893
1893
* The next element becomes the new top.
1894
- *
1894
+ *
1895
1895
*/
1896
1896
void yypop_buffer_state (void )
1897
1897
{
@@ -1915,7 +1915,7 @@ void yypop_buffer_state (void)
1915
1915
static void yyensure_buffer_stack (void )
1916
1916
{
1917
1917
yy_size_t num_to_alloc;
1918
-
1918
+
1919
1919
if (!(yy_buffer_stack)) {
1920
1920
1921
1921
/* First allocation is just for 2 elements, since we don't know if this
@@ -1958,13 +1958,13 @@ static void yyensure_buffer_stack (void)
1958
1958
/* * Setup the input buffer state to scan directly from a user-specified character buffer.
1959
1959
* @param base the character buffer
1960
1960
* @param size the size in bytes of the character buffer
1961
- *
1961
+ *
1962
1962
* @return the newly allocated buffer state object.
1963
1963
*/
1964
1964
YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
1965
1965
{
1966
1966
YY_BUFFER_STATE b;
1967
-
1967
+
1968
1968
if ( size < 2 ||
1969
1969
base[size-2 ] != YY_END_OF_BUFFER_CHAR ||
1970
1970
base[size-1 ] != YY_END_OF_BUFFER_CHAR )
@@ -1993,22 +1993,22 @@ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
1993
1993
/* * Setup the input buffer state to scan a string. The next call to yylex() will
1994
1994
* scan from a @e copy of @a str.
1995
1995
* @param yystr a NUL-terminated string to scan
1996
- *
1996
+ *
1997
1997
* @return the newly allocated buffer state object.
1998
1998
* @note If you want to scan bytes that may contain NUL values, then use
1999
1999
* yy_scan_bytes() instead.
2000
2000
*/
2001
2001
YY_BUFFER_STATE yy_scan_string (const char * yystr )
2002
2002
{
2003
-
2003
+
2004
2004
return yy_scan_bytes ( yystr, (int ) strlen (yystr) );
2005
2005
}
2006
2006
2007
2007
/* * Setup the input buffer state to scan the given bytes. The next call to yylex() will
2008
2008
* scan from a @e copy of @a bytes.
2009
2009
* @param yybytes the byte buffer to scan
2010
2010
* @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
2011
- *
2011
+ *
2012
2012
* @return the newly allocated buffer state object.
2013
2013
*/
2014
2014
YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
@@ -2017,7 +2017,7 @@ YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
2017
2017
char *buf;
2018
2018
yy_size_t n;
2019
2019
int i;
2020
-
2020
+
2021
2021
/* Get memory for full buffer, including space for trailing EOB's. */
2022
2022
n = (yy_size_t ) (_yybytes_len + 2 );
2023
2023
buf = (char *) yyalloc ( n );
@@ -2071,40 +2071,40 @@ static void yynoreturn yy_fatal_error (const char* msg )
2071
2071
/* Accessor methods (get/set functions) to struct members. */
2072
2072
2073
2073
/* * Get the current line number.
2074
- *
2074
+ *
2075
2075
*/
2076
2076
int yyget_lineno (void )
2077
2077
{
2078
-
2078
+
2079
2079
return yylineno;
2080
2080
}
2081
2081
2082
2082
/* * Get the input stream.
2083
- *
2083
+ *
2084
2084
*/
2085
2085
FILE *yyget_in (void )
2086
2086
{
2087
2087
return yyin;
2088
2088
}
2089
2089
2090
2090
/* * Get the output stream.
2091
- *
2091
+ *
2092
2092
*/
2093
2093
FILE *yyget_out (void )
2094
2094
{
2095
2095
return yyout;
2096
2096
}
2097
2097
2098
2098
/* * Get the length of the current token.
2099
- *
2099
+ *
2100
2100
*/
2101
2101
int yyget_leng (void )
2102
2102
{
2103
2103
return yyleng;
2104
2104
}
2105
2105
2106
2106
/* * Get the current token.
2107
- *
2107
+ *
2108
2108
*/
2109
2109
2110
2110
char *yyget_text (void )
@@ -2114,18 +2114,18 @@ char *yyget_text (void)
2114
2114
2115
2115
/* * Set the current line number.
2116
2116
* @param _line_number line number
2117
- *
2117
+ *
2118
2118
*/
2119
2119
void yyset_lineno (int _line_number )
2120
2120
{
2121
-
2121
+
2122
2122
yylineno = _line_number;
2123
2123
}
2124
2124
2125
2125
/* * Set the input stream. This does not discard the current
2126
2126
* input buffer.
2127
2127
* @param _in_str A readable stream.
2128
- *
2128
+ *
2129
2129
* @see yy_switch_to_buffer
2130
2130
*/
2131
2131
void yyset_in (FILE * _in_str )
@@ -2179,7 +2179,7 @@ static int yy_init_globals (void)
2179
2179
/* yylex_destroy is for both reentrant and non-reentrant scanners. */
2180
2180
int yylex_destroy (void )
2181
2181
{
2182
-
2182
+
2183
2183
/* Pop the buffer stack, destroying each element. */
2184
2184
while (YY_CURRENT_BUFFER){
2185
2185
yy_delete_buffer ( YY_CURRENT_BUFFER );
@@ -2205,7 +2205,7 @@ int yylex_destroy (void)
2205
2205
#ifndef yytext_ptr
2206
2206
static void yy_flex_strncpy (char * s1, const char * s2, int n )
2207
2207
{
2208
-
2208
+
2209
2209
int i;
2210
2210
for ( i = 0 ; i < n; ++i )
2211
2211
s1[i] = s2[i];
@@ -2230,7 +2230,7 @@ void *yyalloc (yy_size_t size )
2230
2230
2231
2231
void *yyrealloc (void * ptr, yy_size_t size )
2232
2232
{
2233
-
2233
+
2234
2234
/* The cast to (char *) in the following accommodates both
2235
2235
* implementations that use char* generic pointers, and those
2236
2236
* that use void* generic pointers. It works with the latter
@@ -2247,3 +2247,4 @@ void yyfree (void * ptr )
2247
2247
}
2248
2248
2249
2249
#define YYTABLES_NAME " yytables"
2250
+
0 commit comments