stage4/stage4.cc
changeset 416 0c2ef191b22a
parent 397 85151b2f35ca
child 522 f9cff11ae622
--- a/stage4/stage4.cc	Tue Sep 27 00:07:16 2011 +0200
+++ b/stage4/stage4.cc	Wed Feb 01 13:01:08 2012 +0000
@@ -127,15 +127,17 @@
   return NULL;
 }
 
-void *stage4out_c::print_long_integer(unsigned long l_integer) {
-  if (!allow_output) return NULL;
-  *out << l_integer << "UL";
-  return NULL;
-}
-
-void *stage4out_c::print_long_long_integer(unsigned long long ll_integer) {
-  if (!allow_output) return NULL;
-  *out << ll_integer << "ULL";
+void *stage4out_c::print_long_integer(unsigned long l_integer, bool suffix) {
+  if (!allow_output) return NULL;
+  *out << l_integer;
+  if (suffix) *out << "UL";
+  return NULL;
+}
+
+void *stage4out_c::print_long_long_integer(unsigned long long ll_integer, bool suffix) {
+  if (!allow_output) return NULL;
+  *out << ll_integer;
+  if (suffix) *out << "ULL";
   return NULL;
 }