Scanner rework. (#3038)
The scanner was an on-demand tool of the parser, which was triggered by certain statements. After the rework, the scanner runs only once, and collects all information. This information is passed to the parser. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
committed by
Dániel Bátyai
parent
6221b670d1
commit
fbde788d1f
@@ -52,8 +52,9 @@ parser_malloc (parser_context_t *context_p, /**< context */
|
||||
/**
|
||||
* Free memory allocated by parser_malloc.
|
||||
*/
|
||||
void parser_free (void *ptr, /**< pointer to free */
|
||||
size_t size) /**< size of the memory block */
|
||||
inline void JERRY_ATTR_ALWAYS_INLINE
|
||||
parser_free (void *ptr, /**< pointer to free */
|
||||
size_t size) /**< size of the memory block */
|
||||
{
|
||||
jmem_heap_free_block (ptr, size);
|
||||
} /* parser_free */
|
||||
|
||||
Reference in New Issue
Block a user