aboutsummaryrefslogtreecommitdiff
path: root/jerry-ext/arg/arg-js-iterator-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'jerry-ext/arg/arg-js-iterator-helper.c')
-rw-r--r--jerry-ext/arg/arg-js-iterator-helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/jerry-ext/arg/arg-js-iterator-helper.c b/jerry-ext/arg/arg-js-iterator-helper.c
index ad8aa8db..c6ef2a4d 100644
--- a/jerry-ext/arg/arg-js-iterator-helper.c
+++ b/jerry-ext/arg/arg-js-iterator-helper.c
@@ -13,9 +13,10 @@
* limitations under the License.
*/
+#include "jerryscript.h"
+
#include "arg-internal.h"
#include "jerryscript-ext/arg.h"
-#include "jerryscript.h"
/**
* Pop the current JS argument from the iterator.
@@ -62,8 +63,7 @@ jerryx_arg_js_iterator_restore (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< th
jerry_value_t
jerryx_arg_js_iterator_peek (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< the JS arg iterator */
{
- return (js_arg_iter_p->js_arg_idx < js_arg_iter_p->js_arg_cnt ? *js_arg_iter_p->js_arg_p
- : jerry_create_undefined ());
+ return (js_arg_iter_p->js_arg_idx < js_arg_iter_p->js_arg_cnt ? *js_arg_iter_p->js_arg_p : jerry_create_undefined ());
} /* jerryx_arg_js_iterator_peek */
/**