]> git.lizzy.rs Git - metalua.git/blobdiff - doc/manual/declare-globals-ref.tex
fix CRLF
[metalua.git] / doc / manual / declare-globals-ref.tex
index f60e3b87afe02ba9ce9879c3ad95acede2691ac2..2e19ea5834d1737c2037aa25b0519a9f60e399c6 100644 (file)
@@ -1,15 +1,15 @@
-\section{Extension {\tt declare\_globals}: mandatory declaration of global\r
-  variables}\r
-There is a {\tt strict} library in Lua, also provided by metalua, which\r
-complains when one tries to access a global variable which hasn't been\r
-initialized, and when a global variable is initialized anywhere but at the\r
-program's top-level. This catches many errors, especially typos on variable\r
-names. \r
-\r
-However, with a macro-enabled language, we can do slightly better: we add a {\tt\r
-  global} keyword, which works as {\tt local}, allows to declare global\r
-variables, which can subsequently be used freely. Undeclared global variables\r
-cause an error when one tries to read or write them.\r
-\r
-FIXME: need a ``global function ...'' syntax; interactions with sub-modules is\r
-not tested correctly.\r
+\section{Extension {\tt declare\_globals}: mandatory declaration of global
+  variables}
+There is a {\tt strict} library in Lua, also provided by metalua, which
+complains when one tries to access a global variable which hasn't been
+initialized, and when a global variable is initialized anywhere but at the
+program's top-level. This catches many errors, especially typos on variable
+names. 
+
+However, with a macro-enabled language, we can do slightly better: we add a {\tt
+  global} keyword, which works as {\tt local}, allows to declare global
+variables, which can subsequently be used freely. Undeclared global variables
+cause an error when one tries to read or write them.
+
+FIXME: need a ``global function ...'' syntax; interactions with sub-modules is
+not tested correctly.