stage4/stage4.cc
changeset 397 85151b2f35ca
parent 369 569e7d9e2406
child 522 f9cff11ae622
equal deleted inserted replaced
396:155560bfe837 397:85151b2f35ca
   125   if (!allow_output) return NULL;
   125   if (!allow_output) return NULL;
   126   *out << integer;
   126   *out << integer;
   127   return NULL;
   127   return NULL;
   128 }
   128 }
   129 
   129 
   130 void *stage4out_c::print_long_integer(unsigned long l_integer) {
   130 void *stage4out_c::print_long_integer(unsigned long l_integer, bool suffix) {
   131   if (!allow_output) return NULL;
   131   if (!allow_output) return NULL;
   132   *out << l_integer << "UL";
   132   *out << l_integer;
   133   return NULL;
   133   if (suffix) *out << "UL";
   134 }
   134   return NULL;
   135 
   135 }
   136 void *stage4out_c::print_long_long_integer(unsigned long long ll_integer) {
   136 
   137   if (!allow_output) return NULL;
   137 void *stage4out_c::print_long_long_integer(unsigned long long ll_integer, bool suffix) {
   138   *out << ll_integer << "ULL";
   138   if (!allow_output) return NULL;
       
   139   *out << ll_integer;
       
   140   if (suffix) *out << "ULL";
   139   return NULL;
   141   return NULL;
   140 }
   142 }
   141 
   143 
   142 void *stage4out_c::printupper(const char *str) {
   144 void *stage4out_c::printupper(const char *str) {
   143   if (!allow_output) return NULL;
   145   if (!allow_output) return NULL;