Commit b8daceaa authored by Maxime Perrotin's avatar Maxime Perrotin

Complete support for VHDL_BRAVE lanuguage

parent ac7e4dc9
...@@ -171,6 +171,7 @@ package Imported_Routines is ...@@ -171,6 +171,7 @@ package Imported_Routines is
procedure C_Set_Language_To_Scade; procedure C_Set_Language_To_Scade;
procedure C_Set_Language_To_Ada; procedure C_Set_Language_To_Ada;
procedure C_Set_Language_To_GUI; procedure C_Set_Language_To_GUI;
procedure C_Set_Language_To_VHDL_BRAVE;
procedure C_Set_Language_To_VHDL; procedure C_Set_Language_To_VHDL;
procedure C_Set_Language_To_System_C; procedure C_Set_Language_To_System_C;
procedure C_Set_Language_To_MicroPython; procedure C_Set_Language_To_MicroPython;
...@@ -266,6 +267,8 @@ private ...@@ -266,6 +267,8 @@ private
pragma Import (C, C_Set_Language_To_QGenC, "Set_Language_To_QGenC"); pragma Import (C, C_Set_Language_To_QGenC, "Set_Language_To_QGenC");
pragma Import (C, C_Set_Language_To_Scade, "Set_Language_To_Scade"); pragma Import (C, C_Set_Language_To_Scade, "Set_Language_To_Scade");
pragma Import (C, C_Set_Language_To_GUI, "Set_Language_To_GUI"); pragma Import (C, C_Set_Language_To_GUI, "Set_Language_To_GUI");
pragma Import (C, C_Set_Language_To_VHDL_BRAVE,
"Set_Language_To_VHDL_BRAVE");
pragma Import (C, C_Set_Language_To_VHDL, "Set_Language_To_VHDL"); pragma Import (C, C_Set_Language_To_VHDL, "Set_Language_To_VHDL");
pragma Import (C, C_Set_Language_To_System_C, "Set_Language_To_System_C"); pragma Import (C, C_Set_Language_To_System_C, "Set_Language_To_System_C");
pragma Import (C, C_Set_Language_To_MicroPython, pragma Import (C, C_Set_Language_To_MicroPython,
......
...@@ -257,7 +257,7 @@ void Set_Language_To_VHDL() ...@@ -257,7 +257,7 @@ void Set_Language_To_VHDL()
fv->language = vhdl; fv->language = vhdl;
} }
void Set_Language_To_VHDL_Brave() void Set_Language_To_VHDL_BRAVE()
{ {
if (NULL != fv) if (NULL != fv)
fv->language = vhdl_brave; fv->language = vhdl_brave;
......
...@@ -145,9 +145,9 @@ DECLARE_LIST (ASN1_Type) ...@@ -145,9 +145,9 @@ DECLARE_LIST (ASN1_Type)
typedef struct t_property { typedef struct t_property {
String *name; String *name;
String *value; String *value;
} Property; } AADL_Property;
DECLARE_LIST (Property) DECLARE_LIST (AADL_Property)
/* Type used to define a context parameter (functional state) */ /* Type used to define a context parameter (functional state) */
typedef struct t_contextparam { typedef struct t_contextparam {
...@@ -250,7 +250,7 @@ typedef struct t_fv { ...@@ -250,7 +250,7 @@ typedef struct t_fv {
struct t_FV_list *calling_threads; struct t_FV_list *calling_threads;
int thread_id; int thread_id;
Context_Parameter_list *context_parameters; Context_Parameter_list *context_parameters;
Property_list *properties; AADL_Property_list *properties;
bool artificial; bool artificial;
char *original_name; char *original_name;
bool timer; bool timer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment