mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Declare parser_error_to_string conditionally (#2376)
Its implementation is only available if `JERRY_ENABLE_ERROR_MESSAGES` is defined. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
parent
71471a0416
commit
e1af56586c
@ -135,7 +135,9 @@ ecma_value_t parser_parse_script (const uint8_t *arg_list_p, size_t arg_list_siz
|
||||
const uint8_t *source_p, size_t source_size,
|
||||
bool is_strict, ecma_compiled_code_t **bytecode_data_p);
|
||||
|
||||
#ifdef JERRY_ENABLE_ERROR_MESSAGES
|
||||
const char *parser_error_to_string (parser_error_t);
|
||||
#endif /* JERRY_ENABLE_ERROR_MESSAGES */
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user