Merge branch 'master' of git-server.vd:jerry
This commit is contained in:
@@ -253,11 +253,14 @@ add_num_to_seen_tokens (num_and_token nat)
|
|||||||
uint8_t
|
uint8_t
|
||||||
lexer_get_strings (const char **strings)
|
lexer_get_strings (const char **strings)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
|
|
||||||
if (strings)
|
if (strings)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
for (i = 0; i < seen_names_count; i++)
|
for (i = 0; i < seen_names_count; i++)
|
||||||
|
{
|
||||||
strings[i] = seen_names[i].str;
|
strings[i] = seen_names[i].str;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return seen_names_count;
|
return seen_names_count;
|
||||||
}
|
}
|
||||||
@@ -276,7 +279,9 @@ lexer_get_nums (int *nums)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < seen_nums_count; i++)
|
for (i = 0; i < seen_nums_count; i++)
|
||||||
|
{
|
||||||
nums[i] = seen_nums[i].num;
|
nums[i] = seen_nums[i].num;
|
||||||
|
}
|
||||||
|
|
||||||
return seen_nums_count;
|
return seen_nums_count;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -319,7 +319,6 @@ parse_argument_list (argument_list_type alt, T_IDX obj)
|
|||||||
lhs = 0,
|
lhs = 0,
|
||||||
args[3+1/* +1 for stack protector */],
|
args[3+1/* +1 for stack protector */],
|
||||||
current_arg = 0;
|
current_arg = 0;
|
||||||
bool is_first_opcode = true;
|
|
||||||
|
|
||||||
switch (alt)
|
switch (alt)
|
||||||
{
|
{
|
||||||
@@ -361,6 +360,7 @@ parse_argument_list (argument_list_type alt, T_IDX obj)
|
|||||||
skip_newlines ();
|
skip_newlines ();
|
||||||
if (tok.type != close_tt)
|
if (tok.type != close_tt)
|
||||||
{
|
{
|
||||||
|
bool is_first_opcode = true;
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
if (is_first_opcode)
|
if (is_first_opcode)
|
||||||
|
|||||||
Reference in New Issue
Block a user