Add 'nofoldtabs' option to disable warning when a function generates tabs
When a function folds to a string that contains a tab, e.g. llUnescapeURL("%09"), or to a list that contains a string that contains a tab, a warning is emitted unless the foldtabs option (which forces the optimization) is used. This option allows to quiet the warning without forcing the optimization.
This commit is contained in:
2
main.py
2
main.py
@@ -277,6 +277,8 @@ Optimizer options (+ means active by default, - means inactive by default):
|
||||
expansion of functions that produce strings with tabs.
|
||||
The resulting source isn't guaranteed to be
|
||||
copy-paste-able to the viewer.
|
||||
nofoldtabs - Suppress warning when a function can't be optimized
|
||||
because it generates a string or list with a tab.
|
||||
skippreproc + Skip preprocessor directives in the source as if they
|
||||
were comments. Not useful unless the script is itself
|
||||
the output of a preprocessor like GNU cpp, which inserts
|
||||
|
||||
Reference in New Issue
Block a user