stage4/stage4.cc
changeset 397 85151b2f35ca
parent 369 569e7d9e2406
child 522 f9cff11ae622
--- a/stage4/stage4.cc	Fri Dec 30 18:25:39 2011 +0100
+++ b/stage4/stage4.cc	Wed Jan 25 01:16:30 2012 +0100
@@ -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;
 }