Add feature to remove parser. (#1476)
Remove the parser so we can save space if we are only interested in running snapshots. Removing the parser enables the snapshot execution. JerryScript-DCO-1.0-Signed-off-by: Sergio Martinez sergio.martinez.rodriguez@intel.com
This commit is contained in:
committed by
Zoltan Herczeg
parent
551aaa58e6
commit
db05d85a9a
@@ -15,6 +15,8 @@
|
||||
|
||||
#include "js-parser-internal.h"
|
||||
|
||||
#ifndef JERRY_DISABLE_PARSER
|
||||
|
||||
/** \addtogroup parser Parser
|
||||
* @{
|
||||
*
|
||||
@@ -1528,3 +1530,5 @@ parser_parse_expression (parser_context_t *context_p, /**< context */
|
||||
* @}
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif /* !JERRY_DISABLE_PARSER */
|
||||
|
||||
Reference in New Issue
Block a user