Index: src/regexp.js |
diff --git a/src/regexp.js b/src/regexp.js |
index 2349ca7fbc92a9973484bc9645420e645ad98d31..cb11ad107cf130ec8480ded2cf88c791d40c88cf 100644 |
--- a/src/regexp.js |
+++ b/src/regexp.js |
@@ -25,11 +25,15 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Expect $Object = global.Object; |
-// Expect $Array = global.Array; |
+// This file relies on the fact that the following declaration has been made |
+// in runtime.js: |
+// var $Object = global.Object; |
+// var $Array = global.Array; |
var $RegExp = global.RegExp; |
+// ------------------------------------------------------------------- |
+ |
// A recursive descent parser for Patterns according to the grammar of |
// ECMA-262 15.10.1, with deviations noted below. |
function DoConstructRegExp(object, pattern, flags) { |