Fix typos in the documentation and related files (#4809)

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
Zsolt Borbély
2021-11-02 11:37:05 +01:00
committed by GitHub
parent 89e367bbfd
commit 6a995e2887
39 changed files with 173 additions and 168 deletions
+6 -6
View File
@@ -537,7 +537,7 @@ exit:
/**
* Evaluates an EcmaScript module.
*
* @return ECMA_VALUE_ERROR - if an error occured
* @return ECMA_VALUE_ERROR - if an error occurred
* ECMA_VALUE_EMPTY - otherwise
*/
ecma_value_t
@@ -610,7 +610,7 @@ ecma_module_evaluate (ecma_module_t *module_p) /**< module */
* Resolves an export and adds it to the modules namespace object, if the export name is not yet handled.
* Note: See 15.2.1.16.2 and 15.2.1.18
*
* @return ECMA_VALUE_ERROR - if an error occured
* @return ECMA_VALUE_ERROR - if an error occurred
* ECMA_VALUE_EMPTY - otherwise
*/
static ecma_value_t
@@ -713,7 +713,7 @@ ecma_module_heap_sort_shift_down (ecma_value_t *buffer_p, /**< array of items */
* Creates a namespace object for a module.
* Note: See 15.2.1.18
*
* @return ECMA_VALUE_ERROR - if an error occured
* @return ECMA_VALUE_ERROR - if an error occurred
* ECMA_VALUE_EMPTY - otherwise
*/
static ecma_value_t
@@ -925,7 +925,7 @@ exit:
/**
* Connects imported values to the current module scope.
*
* @return ECMA_VALUE_ERROR - if an error occured
* @return ECMA_VALUE_ERROR - if an error occurred
* ECMA_VALUE_EMPTY - otherwise
*/
static ecma_value_t
@@ -1043,7 +1043,7 @@ ecma_module_connect_imports (ecma_module_t *module_p)
* Initialize the current module by creating the local binding for the imported variables
* and verifying indirect exports.
*
* @return ECMA_VALUE_ERROR - if an error occured
* @return ECMA_VALUE_ERROR - if an error occurred
* ECMA_VALUE_EMPTY - otherwise
*/
ecma_value_t
@@ -1108,7 +1108,7 @@ typedef struct ecma_module_stack_item_t
/**
* Link module dependencies
*
* @return ECMA_VALUE_ERROR - if an error occured
* @return ECMA_VALUE_ERROR - if an error occurred
* ECMA_VALUE_UNDEFINED - otherwise
*/
ecma_value_t
+1 -1
View File
@@ -36,7 +36,7 @@ typedef struct
ecma_property_header_t header; /**< header of the property */
uint32_t max_property_count; /**< maximum property count (power of 2) */
uint32_t null_count; /**< number of NULLs in the map */
uint32_t unused_count; /**< number of unused entires in the map */
uint32_t unused_count; /**< number of unused entries in the map */
/*
* The hash is followed by max_property_count ecma_cpointer_t