preliminary work on the loop parsing
This commit is contained in:
parent
39c92585f1
commit
eaebcd7bdd
4 changed files with 18 additions and 2 deletions
5
parser.c
5
parser.c
|
|
@ -373,6 +373,11 @@ ast_node *parse_expression(parser *p)
|
|||
return left;
|
||||
}
|
||||
|
||||
static ast_node *parse_for(parser *p)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static ast_node *parse_statement(parser *p)
|
||||
{
|
||||
if (match(p, TOKEN_BREAK)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue