vm/config_parser.cpp
/* utility: checks whether string contains only digits */
checks whether string contains only digits
checks whether string contains only digits
static bool is_number(const char *str) {
    while(*str) {
      if(!isdigit(*str)) return false;
      str++;
    }
    return true;
  }
static bool is_number ( const char * str ) { while ( * str ) { if ( ! isdigit ( * str ) ) return false ; str ++ ; } return true ; }
utility: checks whether string contains only digits
utility : checks whether string contains only digits