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
|
||||
* @{
|
||||
*
|
||||
@@ -75,3 +77,5 @@ const char * const cbc_ext_names[] =
|
||||
* @}
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif /* !JERRY_DISABLE_PARSER */
|
||||
|
||||
Reference in New Issue
Block a user