Completed
Pull Request — master (#2)
by Theodore
03:37
created
src/defs.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -91,18 +91,18 @@
 block discarded – undo
91 91
 
92 92
 // Globals for room
93 93
 flagword(...[
94
-    'RSEENBIT',   // Visited?
95
-    'RLIGHTBIT',  // Endogenous light source?
96
-    'RLANDBIT',   // On land
97
-    'RWATERBIT',  // Water room
98
-    'RAIRBIT',    // Mid-air room
94
+    'RSEENBIT', // Visited?
95
+    'RLIGHTBIT', // Endogenous light source?
96
+    'RLANDBIT', // On land
97
+    'RWATERBIT', // Water room
98
+    'RAIRBIT', // Mid-air room
99 99
     'RSACREDBIT', // Thief not allowed
100
-    'RFILLBIT',   // Can fill bottle here
101
-    'RMUNGBIT',   // Room has been munged
102
-    'RBUCKBIT',   // This room is a bucket
103
-    'RHOUSEBIT',  // This room is part of the house
104
-    'RENDGAME',   // This room is in the end game
105
-    'RNWALLBIT',  // This room doesn't have walls
100
+    'RFILLBIT', // Can fill bottle here
101
+    'RMUNGBIT', // Room has been munged
102
+    'RBUCKBIT', // This room is a bucket
103
+    'RHOUSEBIT', // This room is part of the house
104
+    'RENDGAME', // This room is in the end game
105
+    'RNWALLBIT', // This room doesn't have walls
106 106
 ]);
107 107
 
108 108
 // SFLAGs of a SYNTAX
Please login to merge, or discard this patch.
src/prim.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     // Given <FLAGWORD>'s usage in the rest of the original source, this could
79 79
     // be simplified to a simple foreach loop. The use of array_walk_recursive()
80 80
     // here is to emulate the use of MDL's <MAPF> SUBR in the original source.
81
-    array_walk_recursive($fs, function($f) use ($oblists, &$tot, &$cnt) {
81
+    array_walk_recursive($fs, function ($f) use ($oblists, &$tot, &$cnt) {
82 82
         // It's unknown what the GROUP-GLUE symbol is in the oblist. It appears
83 83
         // to be always empty.
84 84
         if (is_scalar($f) && !lookup('GROUP-GLUE', $oblists->get('INITIAL'))) {
Please login to merge, or discard this patch.