[m-rev.] trivial diff: convert mercury_grade.h to 4-space indentation

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Jun 10 14:21:49 AEST 2008


Estimated hours taken: 0
Branches: main

runtime/mercury_grade.h:
 	Convert this file to 4-space indentation.

Julien.

Index: mercury_grade.h
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/runtime/mercury_grade.h,v
retrieving revision 1.76
diff -u -r1.76 mercury_grade.h
--- mercury_grade.h	20 Mar 2008 04:02:56 -0000	1.76
+++ mercury_grade.h	10 Jun 2008 04:18:08 -0000
@@ -1,4 +1,7 @@
  /*
+** vim:ts=4 sw=4 expandtab
+*/
+/*
  ** Copyright (C) 1997-2007 The University of Melbourne.
  ** This file may only be copied under the terms of the GNU Library General
  ** Public License - see the file COPYING.LIB in the Mercury distribution.
@@ -15,23 +18,23 @@
  ** see runtime/mercury_conf_param.h.
  **
  ** IMPORTANT: any changes here may also require changes to
-**	runtime/mercury_conf_param.h
-** 	scripts/init_grade_options.sh-subr
-** 	scripts/canonical_grade.sh-subr
-** 	scripts/parse_grade_options.sh-subr
-** 	scripts/final_grade_options.sh-subr
-** 	scripts/mgnuc.in
-** 	scripts/ml.in
-**	compiler/handle_options.m
-**	compiler/compile_target_code.m
-**	configure.in
+**      runtime/mercury_conf_param.h
+**      scripts/init_grade_options.sh-subr
+**      scripts/canonical_grade.sh-subr
+**      scripts/parse_grade_options.sh-subr
+**      scripts/final_grade_options.sh-subr
+**      scripts/mgnuc.in
+**      scripts/ml.in
+**      compiler/handle_options.m
+**      compiler/compile_target_code.m
+**      configure.in
  */

  #ifndef MERCURY_GRADES_H
  #define MERCURY_GRADES_H

-#include "mercury_std.h"	/* for MR_STRINGIFY and MR_PASTE2 */
-#include "mercury_tags.h"	/* for MR_TAGBITS */
+#include "mercury_std.h"        /* for MR_STRINGIFY and MR_PASTE2 */
+#include "mercury_tags.h"       /* for MR_TAGBITS */

  /*
  ** The following series of tests define two macros piece by piece.
@@ -60,88 +63,88 @@
  ** compatibility only in debugging and deep profiling grades respectively.
  */

-#define MR_GRADE_PART_0	v15_
-#define MR_GRADE_EXEC_TRACE_VERSION_NO	8
-#define MR_GRADE_DEEP_PROF_VERSION_NO	3
+#define MR_GRADE_PART_0 v15_
+#define MR_GRADE_EXEC_TRACE_VERSION_NO  8
+#define MR_GRADE_DEEP_PROF_VERSION_NO   3

  #ifdef MR_HIGHLEVEL_CODE

    #ifdef MR_HIGHLEVEL_DATA
-    #define MR_GRADE_PART_1		MR_PASTE2(MR_GRADE_PART_0, hl)
-    #define MR_GRADE_OPT_PART_1		"hl"
+    #define MR_GRADE_PART_1             MR_PASTE2(MR_GRADE_PART_0, hl)
+    #define MR_GRADE_OPT_PART_1         "hl"
    #else
-    #define MR_GRADE_PART_1		MR_PASTE2(MR_GRADE_PART_0, hlc)
-    #define MR_GRADE_OPT_PART_1		"hlc"
+    #define MR_GRADE_PART_1             MR_PASTE2(MR_GRADE_PART_0, hlc)
+    #define MR_GRADE_OPT_PART_1         "hlc"
    #endif

    #ifdef MR_USE_GCC_NESTED_FUNCTIONS
-    #define MR_GRADE_PART_2		MR_PASTE2(MR_GRADE_PART_1, _nest)
-    #define MR_GRADE_OPT_PART_2		MR_GRADE_OPT_PART_1  "_nest"
+    #define MR_GRADE_PART_2             MR_PASTE2(MR_GRADE_PART_1, _nest)
+    #define MR_GRADE_OPT_PART_2         MR_GRADE_OPT_PART_1  "_nest"
    #else
-    #define MR_GRADE_PART_2		MR_GRADE_PART_1
-    #define MR_GRADE_OPT_PART_2		MR_GRADE_OPT_PART_1
+    #define MR_GRADE_PART_2             MR_GRADE_PART_1
+    #define MR_GRADE_OPT_PART_2         MR_GRADE_OPT_PART_1
    #endif

  #else /* ! MR_HIGHLEVEL_CODE */

    #ifdef MR_USE_ASM_LABELS
-    #define MR_GRADE_PART_1		MR_PASTE2(MR_GRADE_PART_0, asm_)
-    #define MR_GRADE_OPT_PART_1		"asm_"
+    #define MR_GRADE_PART_1             MR_PASTE2(MR_GRADE_PART_0, asm_)
+    #define MR_GRADE_OPT_PART_1         "asm_"
    #else
-    #define MR_GRADE_PART_1		MR_GRADE_PART_0
-    #define MR_GRADE_OPT_PART_1		""
+    #define MR_GRADE_PART_1             MR_GRADE_PART_0
+    #define MR_GRADE_OPT_PART_1         ""
    #endif

    #ifdef MR_USE_GCC_NONLOCAL_GOTOS
      #ifdef MR_USE_GCC_GLOBAL_REGISTERS
-      #define MR_GRADE_PART_2		MR_PASTE2(MR_GRADE_PART_1, fast)
-      #define MR_GRADE_OPT_PART_2	MR_GRADE_OPT_PART_1 "fast"
+      #define MR_GRADE_PART_2           MR_PASTE2(MR_GRADE_PART_1, fast)
+      #define MR_GRADE_OPT_PART_2       MR_GRADE_OPT_PART_1 "fast"
      #else
-      #define MR_GRADE_PART_2		MR_PASTE2(MR_GRADE_PART_1, jump)
-      #define MR_GRADE_OPT_PART_2	MR_GRADE_OPT_PART_1 "jump"
+      #define MR_GRADE_PART_2           MR_PASTE2(MR_GRADE_PART_1, jump)
+      #define MR_GRADE_OPT_PART_2       MR_GRADE_OPT_PART_1 "jump"
      #endif
    #else
      #ifdef MR_USE_GCC_GLOBAL_REGISTERS
-      #define MR_GRADE_PART_2		MR_PASTE2(MR_GRADE_PART_1, reg)
-      #define MR_GRADE_OPT_PART_2	MR_GRADE_OPT_PART_1 "reg"
+      #define MR_GRADE_PART_2           MR_PASTE2(MR_GRADE_PART_1, reg)
+      #define MR_GRADE_OPT_PART_2       MR_GRADE_OPT_PART_1 "reg"
      #else
-      #define MR_GRADE_PART_2		MR_PASTE2(MR_GRADE_PART_1, none)
-      #define MR_GRADE_OPT_PART_2	MR_GRADE_OPT_PART_1 "none"
+      #define MR_GRADE_PART_2           MR_PASTE2(MR_GRADE_PART_1, none)
+      #define MR_GRADE_OPT_PART_2       MR_GRADE_OPT_PART_1 "none"
      #endif
    #endif

  #endif /* ! MR_HIGHLEVEL_CODE */

  #ifdef MR_THREAD_SAFE
-  #define MR_GRADE_PART_3	MR_PASTE2(MR_GRADE_PART_2, _par)
-  #define MR_GRADE_OPT_PART_3	MR_GRADE_OPT_PART_2 ".par"
+  #define MR_GRADE_PART_3       MR_PASTE2(MR_GRADE_PART_2, _par)
+  #define MR_GRADE_OPT_PART_3   MR_GRADE_OPT_PART_2 ".par"
  #else
-  #define MR_GRADE_PART_3	MR_GRADE_PART_2
-  #define MR_GRADE_OPT_PART_3	MR_GRADE_OPT_PART_2
+  #define MR_GRADE_PART_3       MR_GRADE_PART_2
+  #define MR_GRADE_OPT_PART_3   MR_GRADE_OPT_PART_2
  #endif

  #if defined(MR_MPS_GC)
-  #define MR_GRADE_PART_4	MR_PASTE2(MR_GRADE_PART_3, _mps)
-  #define MR_GRADE_OPT_PART_4	MR_GRADE_OPT_PART_3 ".mps"
+  #define MR_GRADE_PART_4       MR_PASTE2(MR_GRADE_PART_3, _mps)
+  #define MR_GRADE_OPT_PART_4   MR_GRADE_OPT_PART_3 ".mps"
  #elif defined(MR_BOEHM_GC_DEBUG)
-  #define MR_GRADE_PART_4	MR_PASTE2(MR_GRADE_PART_3, _gcd)
-  #define MR_GRADE_OPT_PART_4	MR_GRADE_OPT_PART_3 ".gcd"
+  #define MR_GRADE_PART_4       MR_PASTE2(MR_GRADE_PART_3, _gcd)
+  #define MR_GRADE_OPT_PART_4   MR_GRADE_OPT_PART_3 ".gcd"
  #elif defined(MR_BOEHM_GC) || defined(MR_CONSERVATIVE_GC)
-  #define MR_GRADE_PART_4	MR_PASTE2(MR_GRADE_PART_3, _gc)
-  #define MR_GRADE_OPT_PART_4	MR_GRADE_OPT_PART_3 ".gc"
+  #define MR_GRADE_PART_4       MR_PASTE2(MR_GRADE_PART_3, _gc)
+  #define MR_GRADE_OPT_PART_4   MR_GRADE_OPT_PART_3 ".gc"
  #elif defined(MR_NATIVE_GC)
-  #define MR_GRADE_PART_4	MR_PASTE2(MR_GRADE_PART_3, _agc)
-  #define MR_GRADE_OPT_PART_4	MR_GRADE_OPT_PART_3 ".agc"
+  #define MR_GRADE_PART_4       MR_PASTE2(MR_GRADE_PART_3, _agc)
+  #define MR_GRADE_OPT_PART_4   MR_GRADE_OPT_PART_3 ".agc"
  #else
-  #define MR_GRADE_PART_4	MR_GRADE_PART_3
-  #define MR_GRADE_OPT_PART_4	MR_GRADE_OPT_PART_3
+  #define MR_GRADE_PART_4       MR_GRADE_PART_3
+  #define MR_GRADE_OPT_PART_4   MR_GRADE_OPT_PART_3
  #endif

  #ifdef MR_DEEP_PROFILING
-  #define MR_GRADE_PART_5	MR_PASTE3(MR_GRADE_PART_4, _profdeep, MR_GRADE_DEEP_PROF_VERSION_NO)
-  #define MR_GRADE_OPT_PART_5	MR_GRADE_OPT_PART_4 ".profdeep"
+  #define MR_GRADE_PART_5       MR_PASTE3(MR_GRADE_PART_4, _profdeep, MR_GRADE_DEEP_PROF_VERSION_NO)
+  #define MR_GRADE_OPT_PART_5   MR_GRADE_OPT_PART_4 ".profdeep"
    #if defined(MR_MPROF_PROFILE_TIME) || defined(MR_MPROF_PROFILE_CALLS) \
-	|| defined(MR_MPROF_PROFILE_MEMORY)
+        || defined(MR_MPROF_PROFILE_MEMORY)
      /*
      ** Deep profiling is completely separate from the other profiling
      ** alternatives, and there is no point in allowing their combination.
@@ -152,11 +155,11 @@
    #ifdef MR_MPROF_PROFILE_TIME
      #ifdef MR_MPROF_PROFILE_CALLS
        #ifdef MR_MPROF_PROFILE_MEMORY
-        #define MR_GRADE_PART_5		MR_PASTE2(MR_GRADE_PART_4, _profall)
-        #define MR_GRADE_OPT_PART_5	MR_GRADE_OPT_PART_4 ".profall"
+        #define MR_GRADE_PART_5         MR_PASTE2(MR_GRADE_PART_4, _profall)
+        #define MR_GRADE_OPT_PART_5     MR_GRADE_OPT_PART_4 ".profall"
        #else /* ! MR_MPROF_PROFILE_MEMORY */
-        #define MR_GRADE_PART_5		MR_PASTE2(MR_GRADE_PART_4, _prof)
-        #define MR_GRADE_OPT_PART_5	MR_GRADE_OPT_PART_4 ".prof"
+        #define MR_GRADE_PART_5         MR_PASTE2(MR_GRADE_PART_4, _prof)
+        #define MR_GRADE_OPT_PART_5     MR_GRADE_OPT_PART_4 ".prof"
        #endif /* ! MR_MPROF_PROFILE_MEMORY */
      #else /* ! MR_MPROF_PROFILE_CALLS */
        #ifdef MR_MPROF_PROFILE_MEMORY
@@ -167,18 +170,18 @@
          #error "Invalid combination of profiling options"
        #else /* ! MR_MPROF_PROFILE_MEMORY */
          /* Currently useless, but... */
-        #define MR_GRADE_PART_5		MR_PASTE2(MR_GRADE_PART_4, _proftime)
-        #define MR_GRADE_OPT_PART_5	MR_GRADE_OPT_PART_4 ".proftime"
+        #define MR_GRADE_PART_5         MR_PASTE2(MR_GRADE_PART_4, _proftime)
+        #define MR_GRADE_OPT_PART_5     MR_GRADE_OPT_PART_4 ".proftime"
        #endif /* MR_MPROF_PROFILE_MEMORY */
      #endif /* MR_MPROF_PROFILE_CALLS */
    #else /* ! MR_MPROF_PROFILE_TIME */
      #ifdef MR_MPROF_PROFILE_CALLS
        #ifdef MR_MPROF_PROFILE_MEMORY
-        #define MR_GRADE_PART_5		MR_PASTE2(MR_GRADE_PART_4, _memprof)
-        #define MR_GRADE_OPT_PART_5	MR_GRADE_OPT_PART_4 ".memprof"
+        #define MR_GRADE_PART_5         MR_PASTE2(MR_GRADE_PART_4, _memprof)
+        #define MR_GRADE_OPT_PART_5     MR_GRADE_OPT_PART_4 ".memprof"
        #else /* ! MR_MPROF_PROFILE_MEMORY */
-        #define MR_GRADE_PART_5		MR_PASTE2(MR_GRADE_PART_4, _profcalls)
-        #define MR_GRADE_OPT_PART_5	MR_GRADE_OPT_PART_4 ".profcalls"
+        #define MR_GRADE_PART_5         MR_PASTE2(MR_GRADE_PART_4, _profcalls)
+        #define MR_GRADE_OPT_PART_5     MR_GRADE_OPT_PART_4 ".profcalls"
        #endif /* MR_MPROF_PROFILE_MEMORY */
      #else /* ! MR_MPROF_PROFILE_CALLS */
        #ifdef MR_MPROF_PROFILE_MEMORY
@@ -189,8 +192,8 @@
          */
          #error "Invalid combination of profiling options"
        #else /* ! MR_MPROF_PROFILE_MEMORY */
-        #define MR_GRADE_PART_5		MR_GRADE_PART_4
-        #define MR_GRADE_OPT_PART_5	MR_GRADE_OPT_PART_4
+        #define MR_GRADE_PART_5         MR_GRADE_PART_4
+        #define MR_GRADE_OPT_PART_5     MR_GRADE_OPT_PART_4
        #endif /* MR_MPROF_PROFILE_MEMORY */
      #endif /* MR_MPROF_PROFILE_CALLS */
    #endif /* ! MR_MPROF_PROFILE_TIME */
@@ -198,31 +201,31 @@

  #ifdef MR_RECORD_TERM_SIZES
    #ifdef MR_RECORD_TERM_SIZES_AS_CELLS
-    #define MR_GRADE_PART_6		MR_PASTE2(MR_GRADE_PART_5, _tsc)
-    #define MR_GRADE_OPT_PART_6		MR_GRADE_OPT_PART_5 ".tsc"
+    #define MR_GRADE_PART_6             MR_PASTE2(MR_GRADE_PART_5, _tsc)
+    #define MR_GRADE_OPT_PART_6         MR_GRADE_OPT_PART_5 ".tsc"
    #else
-    #define MR_GRADE_PART_6 		MR_PASTE2(MR_GRADE_PART_5, _tsw)
-    #define MR_GRADE_OPT_PART_6 	MR_GRADE_OPT_PART_5 ".tsw"
+    #define MR_GRADE_PART_6             MR_PASTE2(MR_GRADE_PART_5, _tsw)
+    #define MR_GRADE_OPT_PART_6         MR_GRADE_OPT_PART_5 ".tsw"
    #endif
  #else
-  #define MR_GRADE_PART_6 	MR_GRADE_PART_5 
-  #define MR_GRADE_OPT_PART_6 	MR_GRADE_OPT_PART_5 
+  #define MR_GRADE_PART_6       MR_GRADE_PART_5 
+  #define MR_GRADE_OPT_PART_6   MR_GRADE_OPT_PART_5
  #endif

  #ifdef MR_USE_TRAIL
-  #define MR_GRADE_PART_7	MR_PASTE2(MR_GRADE_PART_6, _tr)
-  #define MR_GRADE_OPT_PART_7	MR_GRADE_OPT_PART_6 ".tr"
+  #define MR_GRADE_PART_7       MR_PASTE2(MR_GRADE_PART_6, _tr)
+  #define MR_GRADE_OPT_PART_7   MR_GRADE_OPT_PART_6 ".tr"
  #else
-  #define MR_GRADE_PART_7	MR_GRADE_PART_6
-  #define MR_GRADE_OPT_PART_7	MR_GRADE_OPT_PART_6
+  #define MR_GRADE_PART_7       MR_GRADE_PART_6
+  #define MR_GRADE_OPT_PART_7   MR_GRADE_OPT_PART_6
  #endif

  /*
  ** Grade component 8 used to be used for the .rt (reserve tag) grades.
  ** It is currently unused.
  */
-#define MR_GRADE_PART_8		MR_GRADE_PART_7
-#define MR_GRADE_OPT_PART_8	MR_GRADE_OPT_PART_7
+#define MR_GRADE_PART_8         MR_GRADE_PART_7
+#define MR_GRADE_OPT_PART_8     MR_GRADE_OPT_PART_7

  #ifdef MR_USE_MINIMAL_MODEL_STACK_COPY
    #ifdef MR_USE_MINIMAL_MODEL_OWN_STACKS
@@ -232,23 +235,23 @@

  #ifdef MR_USE_MINIMAL_MODEL_STACK_COPY
    #ifdef MR_MINIMAL_MODEL_DEBUG
-    #define MR_GRADE_PART_9	MR_PASTE2(MR_GRADE_PART_8, _dmmsc)
-    #define MR_GRADE_OPT_PART_9	MR_GRADE_OPT_PART_8 ".dmmsc"
+    #define MR_GRADE_PART_9     MR_PASTE2(MR_GRADE_PART_8, _dmmsc)
+    #define MR_GRADE_OPT_PART_9 MR_GRADE_OPT_PART_8 ".dmmsc"
    #else
-    #define MR_GRADE_PART_9	MR_PASTE2(MR_GRADE_PART_8, _mmsc)
-    #define MR_GRADE_OPT_PART_9	MR_GRADE_OPT_PART_8 ".mmsc"
+    #define MR_GRADE_PART_9     MR_PASTE2(MR_GRADE_PART_8, _mmsc)
+    #define MR_GRADE_OPT_PART_9 MR_GRADE_OPT_PART_8 ".mmsc"
    #endif
  #elif MR_USE_MINIMAL_MODEL_OWN_STACKS
    #ifdef MR_MINIMAL_MODEL_DEBUG
-    #define MR_GRADE_PART_9	MR_PASTE2(MR_GRADE_PART_8, _dmmos)
-    #define MR_GRADE_OPT_PART_9	MR_GRADE_OPT_PART_8 ".dmmos"
+    #define MR_GRADE_PART_9     MR_PASTE2(MR_GRADE_PART_8, _dmmos)
+    #define MR_GRADE_OPT_PART_9 MR_GRADE_OPT_PART_8 ".dmmos"
    #else
-    #define MR_GRADE_PART_9	MR_PASTE2(MR_GRADE_PART_8, _mmos)
-    #define MR_GRADE_OPT_PART_9	MR_GRADE_OPT_PART_8 ".mmos"
+    #define MR_GRADE_PART_9     MR_PASTE2(MR_GRADE_PART_8, _mmos)
+    #define MR_GRADE_OPT_PART_9 MR_GRADE_OPT_PART_8 ".mmos"
    #endif
  #else
-  #define MR_GRADE_PART_9	MR_GRADE_PART_8
-  #define MR_GRADE_OPT_PART_9	MR_GRADE_OPT_PART_8
+  #define MR_GRADE_PART_9       MR_GRADE_PART_8
+  #define MR_GRADE_OPT_PART_9   MR_GRADE_OPT_PART_8
  #endif

  /*
@@ -261,8 +264,8 @@
  */

  #if defined(MR_HIGHLEVEL_CODE) && \
-	(defined(MR_USE_MINIMAL_MODEL_STACK_COPY) || \
-	defined(MR_USE_MINIMAL_MODEL_OWN_STACKS))
+        (defined(MR_USE_MINIMAL_MODEL_STACK_COPY) || \
+        defined(MR_USE_MINIMAL_MODEL_OWN_STACKS))
    #error "high level code and minimal model tabling are not compatible"
  #endif

@@ -271,19 +274,19 @@
  ** to handle the combination of trailing and minimal model tabling.
  ** Consider the following sequence of events:
  **
-**	execution enters a goal being committed across
-**	a new entry is pushed on the trail
-**	a tabled goal suspends,
-**		causing the saving of a trail segment
-**		and then a failure
-**	the goal being committed across fails,
-**		which invokes a failed commit on the trail entry
-**	...
-**	the tabled goal is resumed,
-**		causing the restoring of the saved trail segment
-**		and then a success
-**	the goal being committed across now succeeds,
-**		which invokes a successful commit on the trail entry
+**      execution enters a goal being committed across
+**      a new entry is pushed on the trail
+**      a tabled goal suspends,
+**              causing the saving of a trail segment
+**              and then a failure
+**      the goal being committed across fails,
+**              which invokes a failed commit on the trail entry
+**      ...
+**      the tabled goal is resumed,
+**              causing the restoring of the saved trail segment
+**              and then a success
+**      the goal being committed across now succeeds,
+**              which invokes a successful commit on the trail entry
  **
  ** The trail handler will be thoroughly confused by such a sequence.
  **
@@ -292,8 +295,8 @@
  */

  #if defined(MR_USE_TRAIL) && \
-	(defined(MR_USE_MINIMAL_MODEL_STACK_COPY) || \
-	defined(MR_USE_MINIMAL_MODEL_OWN_STACKS))
+        (defined(MR_USE_MINIMAL_MODEL_STACK_COPY) || \
+        defined(MR_USE_MINIMAL_MODEL_OWN_STACKS))
    #error "trailing and minimal model tabling are not compatible"
  #endif

@@ -311,8 +314,8 @@
  */

  #if defined(MR_NATIVE_GC) && \
-	(defined(MR_USE_MINIMAL_MODEL_STACK_COPY) || \
-	defined(MR_USE_MINIMAL_MODEL_OWN_STACKS))
+        (defined(MR_USE_MINIMAL_MODEL_STACK_COPY) || \
+        defined(MR_USE_MINIMAL_MODEL_OWN_STACKS))
      #error "minimal model tabling and native gc are not compatible"
  #endif

@@ -329,121 +332,121 @@
  */

  #if MR_TAGBITS == 0
-  #define MR_GRADE_PART_10	MR_PASTE2(MR_GRADE_PART_9, _notags)
+  #define MR_GRADE_PART_10      MR_PASTE2(MR_GRADE_PART_9, _notags)
  #elif defined(MR_HIGHTAGS)
-  #define MR_GRADE_PART_10	MR_PASTE2(MR_GRADE_PART_9, \
-  					MR_PASTE2(_hightags, MR_TAGBITS))
+  #define MR_GRADE_PART_10      MR_PASTE2(MR_GRADE_PART_9, \
+                                        MR_PASTE2(_hightags, MR_TAGBITS))
  #else
-  #define MR_GRADE_PART_10	MR_PASTE2(MR_GRADE_PART_9, \
-  					MR_PASTE2(_tags, MR_TAGBITS))
+  #define MR_GRADE_PART_10      MR_PASTE2(MR_GRADE_PART_9, \
+                                        MR_PASTE2(_tags, MR_TAGBITS))
  #endif
-#define MR_GRADE_OPT_PART_10	MR_GRADE_OPT_PART_9
+#define MR_GRADE_OPT_PART_10    MR_GRADE_OPT_PART_9

  #if defined(MR_USE_SINGLE_PREC_FLOAT)
    #if defined(MR_BOXED_FLOAT)
      #error "single-precision floats implies unboxed floats"
    #endif
-  #define MR_GRADE_PART_11	MR_PASTE2(MR_GRADE_PART_10, _spf)
+  #define MR_GRADE_PART_11      MR_PASTE2(MR_GRADE_PART_10, _spf)
  #elif defined(MR_BOXED_FLOAT)
-  #define MR_GRADE_PART_11	MR_GRADE_PART_10
-#else				/* "ubf" stands for "unboxed float" */
-  #define MR_GRADE_PART_11	MR_PASTE2(MR_GRADE_PART_10, _ubf)
+  #define MR_GRADE_PART_11      MR_GRADE_PART_10
+#else                           /* "ubf" stands for "unboxed float" */
+  #define MR_GRADE_PART_11      MR_PASTE2(MR_GRADE_PART_10, _ubf)
  #endif
-#define MR_GRADE_OPT_PART_11	MR_GRADE_OPT_PART_10
+#define MR_GRADE_OPT_PART_11    MR_GRADE_OPT_PART_10

  #ifdef MR_NEW_MERCURYFILE_STRUCT
-  #define MR_GRADE_PART_12	MR_PASTE2(MR_GRADE_PART_11, _file)
+  #define MR_GRADE_PART_12      MR_PASTE2(MR_GRADE_PART_11, _file)
  #else
-  #define MR_GRADE_PART_12	MR_GRADE_PART_11
+  #define MR_GRADE_PART_12      MR_GRADE_PART_11
  #endif
-#define MR_GRADE_OPT_PART_12	MR_GRADE_OPT_PART_11
+#define MR_GRADE_OPT_PART_12    MR_GRADE_OPT_PART_11

  #if defined(MR_USE_REGPARM) && defined(MR_HIGHLEVEL_CODE) && defined(__i386__)
-  #define MR_GRADE_PART_13	MR_PASTE2(MR_GRADE_PART_12, _regparm)
-  #define MR_GRADE_OPT_PART_13	MR_GRADE_OPT_PART_12 ".regparm"
+  #define MR_GRADE_PART_13      MR_PASTE2(MR_GRADE_PART_12, _regparm)
+  #define MR_GRADE_OPT_PART_13  MR_GRADE_OPT_PART_12 ".regparm"
  #elif defined(MR_PIC_REG) && defined(MR_USE_GCC_GLOBAL_REGISTERS) && \
-					defined(__i386__)
-  #define MR_GRADE_PART_13	MR_PASTE2(MR_GRADE_PART_12, _picreg)
-  #define MR_GRADE_OPT_PART_13	MR_GRADE_OPT_PART_12 ".picreg"
+                                        defined(__i386__)
+  #define MR_GRADE_PART_13      MR_PASTE2(MR_GRADE_PART_12, _picreg)
+  #define MR_GRADE_OPT_PART_13  MR_GRADE_OPT_PART_12 ".picreg"
  #else
-  #define MR_GRADE_PART_13	MR_GRADE_PART_12
-  #define MR_GRADE_OPT_PART_13	MR_GRADE_OPT_PART_12
+  #define MR_GRADE_PART_13      MR_GRADE_PART_12
+  #define MR_GRADE_OPT_PART_13  MR_GRADE_OPT_PART_12
  #endif

  #if defined(MR_DECL_DEBUG)
-  #define MR_GRADE_PART_14		MR_PASTE3(MR_GRADE_PART_13, _decldebug, MR_GRADE_EXEC_TRACE_VERSION_NO)
-  #define MR_GRADE_OPT_PART_14		MR_GRADE_OPT_PART_13 ".decldebug"
+  #define MR_GRADE_PART_14              MR_PASTE3(MR_GRADE_PART_13, _decldebug, MR_GRADE_EXEC_TRACE_VERSION_NO)
+  #define MR_GRADE_OPT_PART_14          MR_GRADE_OPT_PART_13 ".decldebug"
    #if ! defined(MR_EXEC_TRACE)
      #error "declarative debugging requires execution tracing"
    #endif
  #else
    #if defined(MR_EXEC_TRACE)
-    #define MR_GRADE_PART_14		MR_PASTE3(MR_GRADE_PART_13, _debug, MR_GRADE_EXEC_TRACE_VERSION_NO)
-    #define MR_GRADE_OPT_PART_14	MR_GRADE_OPT_PART_13 ".debug"
+    #define MR_GRADE_PART_14            MR_PASTE3(MR_GRADE_PART_13, _debug, MR_GRADE_EXEC_TRACE_VERSION_NO)
+    #define MR_GRADE_OPT_PART_14        MR_GRADE_OPT_PART_13 ".debug"
      #else
        #if defined(MR_SS_DEBUG)
-	#define MR_GRADE_PART_14	MR_PASTE3(MR_GRADE_PART_13, _ssdebug, MR_GRADE_EXEC_TRACE_VERSION_NO)
-	#define MR_GRADE_OPT_PART_14	MR_GRADE_OPT_PART_13 ".ssdebug"
+        #define MR_GRADE_PART_14        MR_PASTE3(MR_GRADE_PART_13, _ssdebug, MR_GRADE_EXEC_TRACE_VERSION_NO)
+        #define MR_GRADE_OPT_PART_14    MR_GRADE_OPT_PART_13 ".ssdebug"
        #else
-	#define MR_GRADE_PART_14	MR_GRADE_PART_13
-	#define MR_GRADE_OPT_PART_14	MR_GRADE_OPT_PART_13
+        #define MR_GRADE_PART_14        MR_GRADE_PART_13
+        #define MR_GRADE_OPT_PART_14    MR_GRADE_OPT_PART_13
        #endif
      #endif
  #endif

  #if defined(MR_LL_DEBUG)
-  #define MR_GRADE_PART_15	MR_PASTE2(MR_GRADE_PART_14, _ll_debug)
-  #define MR_GRADE_OPT_PART_15	MR_GRADE_OPT_PART_14 ".ll_debug"
+  #define MR_GRADE_PART_15      MR_PASTE2(MR_GRADE_PART_14, _ll_debug)
+  #define MR_GRADE_OPT_PART_15  MR_GRADE_OPT_PART_14 ".ll_debug"
  #else
-  #define MR_GRADE_PART_15	MR_GRADE_PART_14
-  #define MR_GRADE_OPT_PART_15	MR_GRADE_OPT_PART_14
+  #define MR_GRADE_PART_15      MR_GRADE_PART_14
+  #define MR_GRADE_OPT_PART_15  MR_GRADE_OPT_PART_14
  #endif

  #if defined(MR_EXTEND_STACKS_WHEN_NEEDED)
-  #define MR_GRADE_PART_16	MR_PASTE2(MR_GRADE_PART_15, _exts)
-  #define MR_GRADE_OPT_PART_16	MR_GRADE_OPT_PART_15 ".exts"
+  #define MR_GRADE_PART_16      MR_PASTE2(MR_GRADE_PART_15, _exts)
+  #define MR_GRADE_OPT_PART_16  MR_GRADE_OPT_PART_15 ".exts"
    #if defined(MR_HIGHLEVEL_CODE)
      #error "--extend-stacks-when-needed and --high-level-code are not compatible"
    #endif
  #elif defined(MR_STACK_SEGMENTS)
-  #define MR_GRADE_PART_16	MR_PASTE2(MR_GRADE_PART_15, _stseg)
-  #define MR_GRADE_OPT_PART_16	MR_GRADE_OPT_PART_15 ".stseg"
+  #define MR_GRADE_PART_16      MR_PASTE2(MR_GRADE_PART_15, _stseg)
+  #define MR_GRADE_OPT_PART_16  MR_GRADE_OPT_PART_15 ".stseg"
    #if defined(MR_HIGHLEVEL_CODE)
      #error "--stack-segments and --high-level-code are not compatible"
    #endif
  #else
-  #define MR_GRADE_PART_16	MR_GRADE_PART_15
-  #define MR_GRADE_OPT_PART_16	MR_GRADE_OPT_PART_15
+  #define MR_GRADE_PART_16      MR_GRADE_PART_15
+  #define MR_GRADE_OPT_PART_16  MR_GRADE_OPT_PART_15
  #endif

  #if defined(MR_USE_REGIONS)
    #if defined(MR_RBMM_DEBUG)
      #if defined(MR_RBMM_PROFILING)
-      #define MR_GRADE_PART_17		MR_PASTE2(MR_GRADE_PART_16, _rbmmdp)
-      #define MR_GRADE_OPT_PART_17	MR_GRADE_OPT_PART_16 ".rbmmdp"
+      #define MR_GRADE_PART_17          MR_PASTE2(MR_GRADE_PART_16, _rbmmdp)
+      #define MR_GRADE_OPT_PART_17      MR_GRADE_OPT_PART_16 ".rbmmdp"
      #else
-      #define MR_GRADE_PART_17		MR_PASTE2(MR_GRADE_PART_16, _rbmmd)
-      #define MR_GRADE_OPT_PART_17	MR_GRADE_OPT_PART_16 ".rbmmd"
+      #define MR_GRADE_PART_17          MR_PASTE2(MR_GRADE_PART_16, _rbmmd)
+      #define MR_GRADE_OPT_PART_17      MR_GRADE_OPT_PART_16 ".rbmmd"
      #endif
    #else
      #if defined(MR_RBMM_PROFILING)
-      #define MR_GRADE_PART_17		MR_PASTE2(MR_GRADE_PART_16, _rbmmp)
-      #define MR_GRADE_OPT_PART_17	MR_GRADE_OPT_PART_16 ".rbmmp"
+      #define MR_GRADE_PART_17          MR_PASTE2(MR_GRADE_PART_16, _rbmmp)
+      #define MR_GRADE_OPT_PART_17      MR_GRADE_OPT_PART_16 ".rbmmp"
      #else
-      #define MR_GRADE_PART_17		MR_PASTE2(MR_GRADE_PART_16, _rbmm)
-      #define MR_GRADE_OPT_PART_17	MR_GRADE_OPT_PART_16 ".rbmm"
+      #define MR_GRADE_PART_17          MR_PASTE2(MR_GRADE_PART_16, _rbmm)
+      #define MR_GRADE_OPT_PART_17      MR_GRADE_OPT_PART_16 ".rbmm"
      #endif
    #endif
  #else
-  #define MR_GRADE_PART_17	MR_GRADE_PART_16
-  #define MR_GRADE_OPT_PART_17	MR_GRADE_OPT_PART_16
+  #define MR_GRADE_PART_17      MR_GRADE_PART_16
+  #define MR_GRADE_OPT_PART_17  MR_GRADE_OPT_PART_16
  #endif

-#define MR_GRADE		MR_GRADE_PART_17
-#define MR_GRADE_OPT		MR_GRADE_OPT_PART_17
+#define MR_GRADE                MR_GRADE_PART_17
+#define MR_GRADE_OPT            MR_GRADE_OPT_PART_17

-#define MR_GRADE_VAR		MR_PASTE2(MR_grade_,MR_GRADE)
-#define MR_GRADE_STRING 	MR_STRINGIFY(MR_GRADE)
+#define MR_GRADE_VAR            MR_PASTE2(MR_grade_,MR_GRADE)
+#define MR_GRADE_STRING         MR_STRINGIFY(MR_GRADE)

  extern const char MR_GRADE_VAR;


--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list