aboutsummaryrefslogtreecommitdiff
path: root/src/gr/cg.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gr/cg.hh')
-rw-r--r--src/gr/cg.hh13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gr/cg.hh b/src/gr/cg.hh
index affd54b..50d1468 100644
--- a/src/gr/cg.hh
+++ b/src/gr/cg.hh
@@ -3,11 +3,14 @@
//
// This header file defines the "virtual machine" used by machine-generated
-// code. It is "dangerous" in that it #defines macros for all the gridfns,
-// which will break lots of other code. Thus this file should only be
-// #included just before #including machine-generated code, and this should
-// be as close as possible to the end of the source file (to minimize the
-// amount of other code affected by this file).
+// code. It is "dangerous" in that it #defines macros and local variables
+// for all the gridfns, which will break lots of other code. Thus this file
+// can only be #included within a function, and should only be #included
+// just before #including machine-generated code, and this should be as
+// close as possible to the end of the source file (to minimize the amount
+// of other code affected by this file).
+//
+// FIXME: we should have an "uncg.hh" header file to #undef all these macros
//
// prerequisites
// gfns.hh