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:
Sergio Abraham Martinez Rodriguez
2016-12-09 14:38:41 +00:00
committed by Zoltan Herczeg
parent 551aaa58e6
commit db05d85a9a
10 changed files with 56 additions and 1 deletions
+4
View File
@@ -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 */