aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/ecma/base/ecma-globals.h
diff options
context:
space:
mode:
authorZoltan Herczeg <zherczeg.u-szeged@partner.samsung.com>2021-07-15 13:44:52 +0200
committerGitHub <noreply@github.com>2021-07-15 13:44:52 +0200
commit4be05a74ebf582cbd62874f017cd7c047cb91cc1 (patch)
treee73dd346fdcf7240d0424c11f82cd193347b2fc4 /jerry-core/ecma/base/ecma-globals.h
parent305741a608b888f1c6e0f38c3f93b5c784e6dabf (diff)
Remove ecma_parse_options_t in favor of jerry_parse_options_t (#4713)
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
Diffstat (limited to 'jerry-core/ecma/base/ecma-globals.h')
-rw-r--r--jerry-core/ecma/base/ecma-globals.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/jerry-core/ecma/base/ecma-globals.h b/jerry-core/ecma/base/ecma-globals.h
index 99bf1d38..e9bb2497 100644
--- a/jerry-core/ecma/base/ecma-globals.h
+++ b/jerry-core/ecma/base/ecma-globals.h
@@ -316,32 +316,6 @@ typedef struct ecma_native_pointer_chain_t
struct ecma_native_pointer_chain_t *next_p; /**< next in the list */
} ecma_native_pointer_chain_t;
-/**
- * Option bits for ecma_parse_options_t.
- */
-typedef enum
-{
- /* bit 0: ECMA_PARSE_STRICT_MODE */
- /* bit 1: ECMA_PARSE_MODULE */
- ECMA_PARSE_HAS_RESOURCE = (1 << 2), /**< resource_name_p and resource_name_length fields are valid */
- ECMA_PARSE_HAS_START = (1 << 3), /**< start_line and start_column fields are valid */
-} ecma_parse_option_feature_t;
-
-/**
- * Variable configuration options for parsing functions such as ecma_parse or ecma_parse_function.
- */
-typedef struct
-{
- uint32_t options; /**< combination of ecma_parse_option_feature_t values
- * which enables parsing features */
- const lit_utf8_byte_t *resource_name_p; /**< resource name (usually a file name)
- * if ECMA_PARSE_HAS_RESOURCE is set in options */
- size_t resource_name_length; /**< length of resource name
- * if ECMA_PARSE_HAS_RESOURCE is set in options */
- uint32_t start_line; /**< start line of the source code if ECMA_PARSE_HAS_START is set in options */
- uint32_t start_column; /**< start column of the source code if ECMA_PARSE_HAS_START is set in options */
-} ecma_parse_options_t;
-
#if JERRY_ESNEXT
/**