Browse Source

Config option for shebang comments

pull/1380/head
Sami Vaarala 8 years ago
parent
commit
c9a4f73fdf
  1. 8
      config/config-options/DUK_USE_SHEBANG_COMMENTS.yaml
  2. 1
      config/examples/low_memory.yaml

8
config/config-options/DUK_USE_SHEBANG_COMMENTS.yaml

@ -0,0 +1,8 @@
define: DUK_USE_SHEBANG_COMMENTS
introduced: 2.1.0
default: true
tags:
- ecmascript2015
description: >
Support parsing of a "shebang" comment ('#!...') on the first line of
source text.

1
config/examples/low_memory.yaml

@ -112,6 +112,7 @@ DUK_USE_ES7_EXP_OPERATOR: false # pulls in pow()
DUK_USE_ENCODING_BUILTINS: false
DUK_USE_ES6_UNICODE_ESCAPE: false
DUK_USE_HTML_COMMENTS: false
DUK_USE_SHEBANG_COMMENTS: false
DUK_USE_REFLECT_BUILTIN: false
DUK_USE_ES6: false
DUK_USE_SYMBOL_BUILTIN: false

Loading…
Cancel
Save