about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--000organization.cc3
-rw-r--r--002test.cc3
-rw-r--r--003trace.cc2
-rw-r--r--010vm.cc2
-rw-r--r--011load.cc2
-rw-r--r--055shape_shifting_container.cc2
-rw-r--r--082scenario_screen.cc6
-rw-r--r--085scenario_console.cc2
-rw-r--r--089scenario_filesystem.cc2
9 files changed, 13 insertions, 11 deletions
diff --git a/000organization.cc b/000organization.cc
index dccbee8e..e7c092e9 100644
--- a/000organization.cc
+++ b/000organization.cc
@@ -105,6 +105,9 @@
 //
 // End Globals
 
+// Constants
+// End Constants
+
 int main(int argc, char* argv[]) {
   atexit(teardown);
 
diff --git a/002test.cc b/002test.cc
index b9cb0e15..bb3e3b51 100644
--- a/002test.cc
+++ b/002test.cc
@@ -10,8 +10,7 @@
 
 :(before "End Types")
 typedef void (*test_fn)(void);
-:(before "Globals")
-// move a global ahead into types that we can't generate an extern declaration for
+:(before "End Constants")
 const test_fn Tests[] = {
   #include "test_list"  // auto-generated; see makefile
 };
diff --git a/003trace.cc b/003trace.cc
index d8b92ba1..9368d282 100644
--- a/003trace.cc
+++ b/003trace.cc
@@ -383,7 +383,7 @@ using std::ofstream;
 
 #include "termbox/termbox.h"
 
-:(before "End Globals")
+:(before "End Constants")
 //: In future layers we'll use the depth field as follows:
 //:
 //: Errors will be depth 0.
diff --git a/010vm.cc b/010vm.cc
index d3c5d189..1302f198 100644
--- a/010vm.cc
+++ b/010vm.cc
@@ -412,7 +412,7 @@ string_tree* property(const reagent& r, const string& name) {
   return NULL;
 }
 
-:(before "End Globals")
+:(before "End Constants")
 const string Ignore(",");  // commas are ignored in mu except within [] strings
 :(code)
 void skip_whitespace_but_not_newline(istream& in) {
diff --git a/011load.cc b/011load.cc
index 6aae80f9..617727df 100644
--- a/011load.cc
+++ b/011load.cc
@@ -155,7 +155,7 @@ string next_word(istream& in) {
   return out.str();
 }
 
-:(before "End Globals")
+:(before "End Constants")
 // word boundaries
 const string Terminators("(){}");
 :(code)
diff --git a/055shape_shifting_container.cc b/055shape_shifting_container.cc
index 88e9fb97..d49da7ab 100644
--- a/055shape_shifting_container.cc
+++ b/055shape_shifting_container.cc
@@ -79,7 +79,7 @@ container foo:t [
 ]
 +error: foo: type ingredient 't' must begin with an underscore
 
-:(before "End Globals")
+:(before "End Constants")
 // We'll use large type ordinals to mean "the following type of the variable".
 // For example, if we have a generic type called foo:_elem, the type
 // ingredient _elem in foo's type_info will have value START_TYPE_INGREDIENTS,
diff --git a/082scenario_screen.cc b/082scenario_screen.cc
index 110a7831..01750bb0 100644
--- a/082scenario_screen.cc
+++ b/082scenario_screen.cc
@@ -143,10 +143,10 @@ assert(Next_predefined_global_for_scenarios < Reserved_for_tests);
 // initialize a default-space.
 assert(Name[tmp_recipe.at(0)][""] < Max_variables_in_scenarios);
 
-:(before "End Globals")
-// Scenario Globals.
+:(before "End Constants")
+// Fixed Scenario Locations.
 const int SCREEN = Next_predefined_global_for_scenarios++;
-// End Scenario Globals.
+// End Fixed Scenario Locations.
 
 //: give 'screen' a fixed location in scenarios
 :(before "End Special Scenario Variable Names(r)")
diff --git a/085scenario_console.cc b/085scenario_console.cc
index 1e11af12..6dc825e1 100644
--- a/085scenario_console.cc
+++ b/085scenario_console.cc
@@ -33,7 +33,7 @@ scenario keyboard-in-scenario [
   ]
 ]
 
-:(before "End Scenario Globals")
+:(before "End Fixed Scenario Locations")
 const int CONSOLE = Next_predefined_global_for_scenarios++;
 //: give 'console' a fixed location in scenarios
 :(before "End Special Scenario Variable Names(r)")
diff --git a/089scenario_filesystem.cc b/089scenario_filesystem.cc
index cef140de..8a91559b 100644
--- a/089scenario_filesystem.cc
+++ b/089scenario_filesystem.cc
@@ -72,7 +72,7 @@ scenario assume-filesystem [
   ]
 ]
 
-:(before "End Globals")
+:(before "End Fixed Scenario Locations")
 const int FILESYSTEM = Next_predefined_global_for_scenarios++;
 //: give 'filesystem' a fixed location in scenarios
 :(before "End Special Scenario Variable Names(r)")