[aquaria] [PATCH] Comment tweak in ScriptInterface.cpp

Andrew Church achurch+aquaria at achurch.org
Thu May 5 13:34:50 EDT 2011

I didn't quite think through the ramifications of this particular
erroneous usage.  It's still wrong, but it breaks in a slightly
different way.

  --Andrew Church
    achurch at achurch.org

# HG changeset patch
# User Andrew Church <achurch at achurch.org>
# Date 1304569915 -32400
# Node ID 179f18e7823a93cef4c2db44a4512c7bc38cf53f
# Parent  e2563b6541101fa7bbbb3d4a67472f76d0f16594
Tweak a comment for accuracy.

diff -r e2563b654110 -r 179f18e7823a Aquaria/ScriptInterface.cpp
--- a/Aquaria/ScriptInterface.cpp	Wed Apr 27 16:30:32 2011 +0200
+++ b/Aquaria/ScriptInterface.cpp	Thu May 05 13:31:55 2011 +0900
@@ -263,8 +263,8 @@
 // Note that scripts should _not_ rely on AQUARIA_VERSION for the v = {}
 // assignment.  The code "if not AQUARIA_VERSION then v = {} end" would
 // work correctly in a top-level script, but if executed from a script
-// used as an include file, the definitions in the include file would not
-// be seen by its caller.
+// used as an include file, the table created in the include file would
+// overwrite any existing table created by the file's caller.

More information about the aquaria mailing list