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
@@ -16,6 +16,8 @@
#include "common.h"
#include "ecma-helpers.h"
#ifndef JERRY_DISABLE_PARSER
/** \addtogroup parser Parser
* @{
*
@@ -133,3 +135,5 @@ util_print_literal (lexer_literal_t *literal_p) /**< literal */
* @}
* @}
*/
#endif /* !JERRY_DISABLE_PARSER */