src/parser/flex_lexer.cpp
YY_BUFFER_STATE yy_scan_bytes(const char* yybytes, int _yybytes_len, yyscan_t yyscanner) {
  YY_BUFFER_STATE b;
  char* buf;
  yy_size_t n;
  int i;

  /* Get memory for full buffer, including space for trailing EOB's. */
  n = (yy_size_t)(_yybytes_len + 2);
  buf = (char*)yyalloc(n, yyscanner);
  if (!buf) YY_FATAL_ERROR("out of dynamic memory in yy_scan_bytes()");

  for (i = 0; i < _yybytes_len; ++i) buf[i] = yybytes[i];

  buf[_yybytes_len] = buf[_yybytes_len + 1] = YY_END_OF_BUFFER_CHAR;

  b = yy_scan_buffer(buf, n, yyscanner);
  if (!b) YY_FATAL_ERROR("bad buffer in yy_scan_bytes()");

  /* It's okay to grow etc. this buffer, and we should throw it
	 * away when we're done.
	 */
  b->yy_is_our_buffer = 1;

  return b;
}
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
 * scan from a @e copy of @a bytes.
 * @param yybytes the byte buffer to scan
 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
 * @param yyscanner The scanner object.
 * @return the newly allocated buffer state object.
 */
Setup the input buffer state to scan the given bytes. The next call to yylex() will
scan from a @e copy of @a bytes.
@param yybytes the byte buffer to scan
@param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
@param yyscanner The scanner object.
@return the newly allocated buffer state object.
Setup the input buffer state to scan the given bytes . The next call to yylex () will scan from a @e copy of @a bytes . @param yybytes the byte buffer to scan @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes . @param yyscanner The scanner object . @return the newly allocated buffer state object .
YY_BUFFER_STATE yy_scan_bytes(const char* yybytes, int _yybytes_len, yyscan_t yyscanner) {
  YY_BUFFER_STATE b;
  char* buf;
  yy_size_t n;
  int i;
  n = (yy_size_t)(_yybytes_len + 2);
  buf = (char*)yyalloc(n, yyscanner);
  if (!buf) YY_FATAL_ERROR("out of dynamic memory in yy_scan_bytes()");
  for (i = 0; i < _yybytes_len; ++i) buf[i] = yybytes[i];
  buf[_yybytes_len] = buf[_yybytes_len + 1] = YY_END_OF_BUFFER_CHAR;
  b = yy_scan_buffer(buf, n, yyscanner);
  if (!b) YY_FATAL_ERROR("bad buffer in yy_scan_bytes()");
  b->yy_is_our_buffer = 1;
  return b;
}
YY_BUFFER_STATE yy_scan_bytes ( const char * yybytes , int _yybytes_len , yyscan_t yyscanner ) { YY_BUFFER_STATE b ; char * buf ; yy_size_t n ; int i ; n = ( yy_size_t ) ( _yybytes_len + 2 ) ; buf = ( char * ) yyalloc ( n , yyscanner ) ; if ( ! buf ) YY_FATAL_ERROR ( " " ) ; for ( i = 0 ; i < _yybytes_len ; ++ i ) buf [ i ] = yybytes [ i ] ; buf [ _yybytes_len ] = buf [ _yybytes_len + 1 ] = YY_END_OF_BUFFER_CHAR ; b = yy_scan_buffer ( buf , n , yyscanner ) ; if ( ! b ) YY_FATAL_ERROR ( " " ) ; b -> yy_is_our_buffer = 1 ; return b ; }
Setup the input buffer state to scan the given bytes.
Setup the input buffer state to scan the given bytes .
/* Get memory for full buffer, including space for trailing EOB's. */ /* It's okay to grow etc. this buffer, and we should throw it
	 * away when we're done.
	 */