diff --git a/website/guide/compiling.html b/website/guide/compiling.html index e38fd438..4f4b1714 100644 --- a/website/guide/compiling.html +++ b/website/guide/compiling.html @@ -28,7 +28,7 @@ final internal features based on feature requests, compiler features, and platform features.
The available feature options can be found in duk_features.h
.
-The table below summarizes the available options (in no particular order):
Override default traceback collection depth. The default is currently 10. | |
DUK_OPT_NO_REGEXP_SUPPORT | +Disable support for regular expressions. Regexp literals are treated as a
+ SyntaxError , RegExp constructor and prototype functions throw
+ an error, String.prototype.replace() throws an error if given
+ a regexp search value, String.prototype.split() throws an error
+ if given a regexp separator value, String.prototype.search()
+ and String.prototype.match() throw an error unconditionally. |
+
DUK_OPT_NO_STRICT_UTF8_SOURCE | +Disable strict UTF-8 parsing of source code. When disabled, non-shortest + encodings (normally invalid UTF-8) are accepted as valid source code + characters. | +
DUK_OPT_NO_OCTAL_SUPPORT | +Disable optional octal number support (Ecmascript E5/E5.1 + Annex B). | +
DUK_OPT_NO_SOURCE_NONBMP | +Disable accurate Unicode support for non-BMP characters in source code. + Non-BMP characters are then always accepted as identifier characters. | +
DUK_OPT_NO_BROWSER_LIKE | +Disable browser-like functions. Makes print() and
+ alert() throw an error. This option is confusing when
+ used with the Duktape command line tool, as the command like tool
+ will immediately panic. |
+
DUK_OPT_NO_SECTION_B | +Disable optional features in Ecmascript specification
+ Annex B.
+ Causes escape() , unescape() , and
+ String.prototype.substr() to throw an error. |
+
DUK_OPT_NO_FILE_IO | Disable use of ANSI C file I/O which might be a portability issue on some
platforms. Causes duk_eval_file() to throw an error,
|