Updates von /doc/LPC aus Driversourcen
Change-Id: I60960bf74c3914a6fb6b0bd6628b39c1a4d8ba2d
diff --git a/doc/LPC/pragma b/doc/LPC/pragma
index d005ce3..a30ff63 100644
--- a/doc/LPC/pragma
+++ b/doc/LPC/pragma
@@ -23,6 +23,11 @@
share_variables: Clone variables are initialized from the
blueprint.
+ no_simul_efuns: Disable the use of simul-efuns. This pragma
+ raises a privilege_violation("no_simul_efuns").
+ simul_efuns: Enables the use of simul-efuns (this is the
+ default for all objects except the master).
+
weak_types: no type checking (this is the default).
strict_types: all functions must be declared with argument
prototypes, and the return values of call_other() must
@@ -107,16 +112,27 @@
(the default).
warn_unused_variables: Warn about variables that are not used.
- If will warn about variables never written to, variables
+ It will warn about variables never written to, variables
never read from or variables never used at all.
This applies to local variables and private global variables.
no_warn_unused_variables: Turn off warn_unused_variables
(the default).
+ warn_unused_values: Warn about values that are not used.
+ It will warn about values that are created without
+ side-effects (eg. a literal value or created by some
+ operation) and are not used afterwards.
+ no_warn_unused_values: Turn off warn_unused_values (the default).
+
warn_lightweight: Warn about efuns that are not suitable for
lightweight objects.
no_warn_lightweight: Turn off warn_lightweight.
+ save_local_names: When activated the name of local variables
+ are saved for debugging purposes. This increases the
+ size of the program.
+ no_save_local_names: Turn off save_local_names (the default).
+
When an object is compiled with type testing (#pragma
strict_types), all types are saved of the arguments for that
function during compilation. If the #pragma save_types is