src/parser/Text_Token_Stream.cc
unsigned Text_Token_Stream::scan_floating_literal_() {
  unsigned pos = 0;
  if (scan_fractional_constant_(pos) > 0) {
    scan_exponent_part_(pos);
    return pos;
  } else if (scan_digit_sequence_(pos)) {
    if (scan_exponent_part_(pos) == 0)
      return 0;
    return pos;
  } else {
    return 0;
  }
}
//------------------------------------------------------------------------------------------------//
/*!
 * \brief Try to scan a floating literal.
 *
 * \return length of scanned literal; 0 if no literal could be scanned.
 */
\brief Try to scan a floating literal.
\return length of scanned literal; 0 if no literal could be scanned.
\ brief Try to scan a floating literal . \ return length of scanned literal ; 0 if no literal could be scanned .
unsigned Text_Token_Stream::scan_floating_literal_() {
  unsigned pos = 0;
  if (scan_fractional_constant_(pos) > 0) {
    scan_exponent_part_(pos);
    return pos;
  } else if (scan_digit_sequence_(pos)) {
    if (scan_exponent_part_(pos) == 0)
      return 0;
    return pos;
  } else {
    return 0;
  }
}
unsigned Text_Token_Stream :: scan_floating_literal_ ( ) { unsigned pos = 0 ; if ( scan_fractional_constant_ ( pos ) > 0 ) { scan_exponent_part_ ( pos ) ; return pos ; } else if ( scan_digit_sequence_ ( pos ) ) { if ( scan_exponent_part_ ( pos ) == 0 ) return 0 ; return pos ; } else { return 0 ; } }
\brief Try to scan a floating literal.
\ brief Try to scan a floating literal .