fix: small bugs to make it compile
This commit is contained in:
parent
c48d86c8de
commit
13018e0a03
10 changed files with 33 additions and 4 deletions
|
|
@ -32,7 +32,10 @@ static int main_loop(struct lexer_context *ctx, struct args_options *options,
|
|||
{
|
||||
int return_code = SUCCESS;
|
||||
// init parser
|
||||
int parser_init();
|
||||
if (!parser_init())
|
||||
{
|
||||
perror("parser initialization failed.");
|
||||
}
|
||||
|
||||
// Retrieve and build first AST
|
||||
struct ast *command_ast = get_ast(ctx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue