From 32c5bbf7f49e449eac9c028cc7cc062b4ab28a5f Mon Sep 17 00:00:00 2001 From: david Date: Fri, 7 Aug 2009 22:44:30 +0000 Subject: [PATCH] Put "strict.lua" in a filename element. Add an indexterm for it. Put "nil" in a literal element. --- docs/scripting.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/scripting.xml b/docs/scripting.xml index 18332aeeb..5f923dfba 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -1074,11 +1074,13 @@ action refer to . To help correct this problem, NSE now uses an adapted library from - the standard Lua distribution called 'strict.lua'. The library will + the standard Lua distribution called + strict.lua.strict.lua + The library will raise a runtime error on any access or modification of a global variable which was undeclared in the file scope. A global variable is considered declared if the library makes an assignment to the global - name (even nil) in the file scope. + name (even nil) in the file scope.