mirror of
https://github.com/kanaka/mal.git
synced 2024-11-10 12:47:45 +03:00
Ada: change *ARGV* and *host-language* to strings
This commit is contained in:
parent
7ae2311528
commit
9c38eb6d4b
@ -974,7 +974,7 @@ package body Core is
|
||||
procedure Init (Repl_Env : Envs.Env_Handle) is
|
||||
begin
|
||||
|
||||
Envs.Set (Repl_Env, "*host-language*", Types.New_Symbol_Mal_Type ("ada"));
|
||||
Envs.Set (Repl_Env, "*host-language*", Types.New_String_Mal_Type ("ada"));
|
||||
|
||||
Envs.Set (Repl_Env,
|
||||
"true?",
|
||||
|
@ -377,7 +377,7 @@ begin
|
||||
File_Processed := True;
|
||||
else
|
||||
Command_List.Append
|
||||
(Types.New_Symbol_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
(Types.New_String_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
end if;
|
||||
|
||||
end loop;
|
||||
|
@ -467,7 +467,7 @@ begin
|
||||
File_Processed := True;
|
||||
else
|
||||
Command_List.Append
|
||||
(Types.New_Symbol_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
(Types.New_String_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
end if;
|
||||
|
||||
end loop;
|
||||
|
@ -542,7 +542,7 @@ begin
|
||||
File_Processed := True;
|
||||
else
|
||||
Command_List.Append
|
||||
(Types.New_Symbol_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
(Types.New_String_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
end if;
|
||||
|
||||
end loop;
|
||||
|
@ -592,7 +592,7 @@ begin
|
||||
File_Processed := True;
|
||||
else
|
||||
Command_List.Append
|
||||
(Types.New_Symbol_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
(Types.New_String_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
end if;
|
||||
|
||||
end loop;
|
||||
|
@ -597,7 +597,7 @@ begin
|
||||
File_Processed := True;
|
||||
else
|
||||
Command_List.Append
|
||||
(Types.New_Symbol_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
(Types.New_String_Mal_Type (Ada.Command_Line.Argument (Cmd_Args)));
|
||||
end if;
|
||||
|
||||
end loop;
|
||||
|
Loading…
Reference in New Issue
Block a user