frontend: add IR generation to compile command
This commit is contained in:
@@ -150,6 +150,7 @@ static enum ivy_status repl_create(struct repl **out)
|
||||
|
||||
int repl(const b_command *cmd, const b_arglist *args, const b_array *_)
|
||||
{
|
||||
#if 0
|
||||
b_printf(
|
||||
"[bold,bright_red]error[[E0384][reset,bold,white]: cannot "
|
||||
"assign twice to immutable variable `i`[reset]\n");
|
||||
@@ -169,6 +170,7 @@ int repl(const b_command *cmd, const b_arglist *args, const b_array *_)
|
||||
b_printf(
|
||||
"[bold,bright_blue] |[bold,bright_red] ^^^^^^ cannot "
|
||||
"assign twice to immutable variable[reset]\n");
|
||||
#endif
|
||||
|
||||
struct repl *repl = NULL;
|
||||
enum ivy_status status = repl_create(&repl);
|
||||
|
||||
Reference in New Issue
Block a user