Require JERRY_JS_PARSER macro to be defined (#1639)
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
committed by
László Langó
parent
ca2b057356
commit
6254748081
@@ -15,7 +15,7 @@
|
||||
|
||||
#include "js-parser-internal.h"
|
||||
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
|
||||
/** \addtogroup parser Parser
|
||||
* @{
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "common.h"
|
||||
#include "ecma-helpers.h"
|
||||
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
|
||||
/** \addtogroup parser Parser
|
||||
* @{
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "js-parser-internal.h"
|
||||
#include "lit-char-helpers.h"
|
||||
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
|
||||
/** \addtogroup parser Parser
|
||||
* @{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include "js-parser-internal.h"
|
||||
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
|
||||
/** \addtogroup parser Parser
|
||||
* @{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include "js-parser-internal.h"
|
||||
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
|
||||
/** \addtogroup mem Memory allocation
|
||||
* @{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include "js-parser-internal.h"
|
||||
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
|
||||
/** \addtogroup parser Parser
|
||||
* @{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include "js-parser-internal.h"
|
||||
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
|
||||
#ifdef JERRY_DEBUGGER
|
||||
#include "jcontext.h"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include "js-parser-internal.h"
|
||||
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
|
||||
/** \addtogroup parser Parser
|
||||
* @{
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "jerry-debugger.h"
|
||||
#include "js-parser-internal.h"
|
||||
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
|
||||
/** \addtogroup parser Parser
|
||||
* @{
|
||||
@@ -2369,7 +2369,7 @@ parser_parse_script (const uint8_t *source_p, /**< source code */
|
||||
bool is_strict, /**< strict mode */
|
||||
ecma_compiled_code_t **bytecode_data_p) /**< [out] JS bytecode */
|
||||
{
|
||||
#ifdef JERRY_JS_PARSER
|
||||
#if JERRY_JS_PARSER
|
||||
parser_error_location_t parser_error;
|
||||
|
||||
#ifdef JERRY_DEBUGGER
|
||||
|
||||
Reference in New Issue
Block a user