From ba4e924634ed6b96f4a7007cdafddefee492631c Mon Sep 17 00:00:00 2001 From: batrick Date: Wed, 15 Jul 2009 15:19:33 +0000 Subject: [PATCH] Corrected the NSEDoc formatting and wording. --- nselib/strict.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nselib/strict.lua b/nselib/strict.lua index 87b22ba59..bcb88f545 100644 --- a/nselib/strict.lua +++ b/nselib/strict.lua @@ -5,8 +5,9 @@ -- allows a script to add runtime checking so that undeclared globals cause -- an error to be raised. This is useful for finding accidental use of globals -- when local was intended. +-- -- A global variable is considered 'declared' if the script makes an assignment --- to the global name (even nil). +-- to the global name (even nil) in the file scope. -- -- @class module -- @name strict