mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
Put "strict.lua" in a filename element. Add an indexterm for it. Put
"nil" in a literal element.
This commit is contained in:
@@ -1074,11 +1074,13 @@ action refer to <xref linkend="nse-tutorial-action"/>.
|
|||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
To help correct this problem, NSE now uses an adapted library from
|
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
|
||||||
|
<filename>strict.lua</filename>.<indexterm><primary><filename>strict.lua</filename></primary></indexterm>
|
||||||
|
The library will
|
||||||
raise a runtime error on any access or modification of a global
|
raise a runtime error on any access or modification of a global
|
||||||
variable which was undeclared in the file scope. A global variable is
|
variable which was undeclared in the file scope. A global variable is
|
||||||
considered declared if the library makes an assignment to the global
|
considered declared if the library makes an assignment to the global
|
||||||
name (even nil) in the file scope.
|
name (even <literal>nil</literal>) in the file scope.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user