Skip to content

Warning fix for ALL_IN_ONE. #921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jerry-core/parser/js/js-lexer.c
Original file line number Diff line number Diff line change
Expand Up @@ -2088,7 +2088,7 @@ lexer_decode_unicode_sequence (const uint8_t *source_p) /**< source pointer */
*/
int
lexer_same_identifiers (lexer_lit_location_t *left, /**< left identifier */
lexer_lit_location_t *right) /**< right identifier */
const lexer_lit_location_t *right) /**< right identifier */
{
const uint8_t *left_p;
const uint8_t *right_p;
Expand Down
2 changes: 1 addition & 1 deletion jerry-core/parser/js/js-parser-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ void lexer_construct_literal_object (parser_context_t *, lexer_lit_location_t *,
int lexer_construct_number_object (parser_context_t *, int, int);
void lexer_construct_function_object (parser_context_t *, uint32_t);
void lexer_construct_regexp_object (parser_context_t *, int);
int lexer_same_identifiers (lexer_lit_location_t *, lexer_lit_location_t *);
int lexer_same_identifiers (lexer_lit_location_t *, const lexer_lit_location_t *);

/* Parser functions. */

Expand Down