commit b9aeea5396e01a4c708de33319284b5930f6b934
parent 2b1118d3e6947ca75a21165e8f56b662a1d0ce70
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 22 Nov 2020 09:18:16 -0500
parse: complete unlex TODOs
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/parse.c b/src/parse.c
@@ -74,7 +74,7 @@ parse_identifier(struct parser *par, struct identifier *ident)
i = ns;
break;
default:
- // TODO: Unlex
+ unlex(par->lex, &tok);
return;
}
}
@@ -120,7 +120,7 @@ parse_imports(struct parser *par, struct ast_subunit *subunit)
next = &imports->next;
break;
default:
- // TODO: unlex
+ unlex(par->lex, &tok);
return;
}
}