feat(parser): redirections
This commit is contained in:
parent
04ff7376eb
commit
8a5c589742
17 changed files with 78 additions and 108 deletions
|
|
@ -66,7 +66,7 @@ static bool init_firsts_map(void)
|
|||
if (firsts_map == NULL)
|
||||
{
|
||||
perror("Internal error: couldn't create the firsts_map (is your memory "
|
||||
"full ?)");
|
||||
"full ?)");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -161,7 +161,7 @@ struct firsts_list *first(enum rule rule)
|
|||
if (firsts_map == NULL || firsts_map[rule].tokens == NULL)
|
||||
{
|
||||
perror("Internal error: attempted to get the firsts of a rule without "
|
||||
"properly initializing the firsts map");
|
||||
"properly initializing the firsts map");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue