aineid / obj /b__meanings.adb
grosenthal's picture
rest of stuff
aaffe1f
raw
history blame
15.6 kB
pragma Ada_95;
pragma Source_File_Name (ada_main, Spec_File_Name => "b__meanings.ads");
pragma Source_File_Name (ada_main, Body_File_Name => "b__meanings.adb");
with Ada.Exceptions;
package body ada_main is
pragma Warnings (Off);
E138 : Short_Integer; pragma Import (Ada, E138, "system__os_lib_E");
E018 : Short_Integer; pragma Import (Ada, E018, "system__soft_links_E");
E028 : Short_Integer; pragma Import (Ada, E028, "system__exception_table_E");
E218 : Short_Integer; pragma Import (Ada, E218, "ada__containers_E");
E117 : Short_Integer; pragma Import (Ada, E117, "ada__io_exceptions_E");
E081 : Short_Integer; pragma Import (Ada, E081, "ada__strings_E");
E083 : Short_Integer; pragma Import (Ada, E083, "ada__strings__maps_E");
E086 : Short_Integer; pragma Import (Ada, E086, "ada__strings__maps__constants_E");
E096 : Short_Integer; pragma Import (Ada, E096, "ada__tags_E");
E116 : Short_Integer; pragma Import (Ada, E116, "ada__streams_E");
E054 : Short_Integer; pragma Import (Ada, E054, "interfaces__c_E");
E151 : Short_Integer; pragma Import (Ada, E151, "interfaces__c__strings_E");
E034 : Short_Integer; pragma Import (Ada, E034, "system__exceptions_E");
E119 : Short_Integer; pragma Import (Ada, E119, "system__finalization_root_E");
E114 : Short_Integer; pragma Import (Ada, E114, "ada__finalization_E");
E121 : Short_Integer; pragma Import (Ada, E121, "system__storage_pools_E");
E108 : Short_Integer; pragma Import (Ada, E108, "system__finalization_masters_E");
E104 : Short_Integer; pragma Import (Ada, E104, "system__storage_pools__subpools_E");
E011 : Short_Integer; pragma Import (Ada, E011, "ada__calendar_E");
E060 : Short_Integer; pragma Import (Ada, E060, "ada__calendar__time_zones_E");
E220 : Short_Integer; pragma Import (Ada, E220, "system__assertions_E");
E143 : Short_Integer; pragma Import (Ada, E143, "system__pool_global_E");
E141 : Short_Integer; pragma Import (Ada, E141, "system__file_control_block_E");
E230 : Short_Integer; pragma Import (Ada, E230, "ada__streams__stream_io_E");
E132 : Short_Integer; pragma Import (Ada, E132, "system__file_io_E");
E194 : Short_Integer; pragma Import (Ada, E194, "system__direct_io_E");
E022 : Short_Integer; pragma Import (Ada, E022, "system__secondary_stack_E");
E094 : Short_Integer; pragma Import (Ada, E094, "ada__strings__unbounded_E");
E009 : Short_Integer; pragma Import (Ada, E009, "ada__directories_E");
E147 : Short_Integer; pragma Import (Ada, E147, "system__regexp_E");
E228 : Short_Integer; pragma Import (Ada, E228, "system__strings__stream_ops_E");
E156 : Short_Integer; pragma Import (Ada, E156, "ada__text_io_E");
E161 : Short_Integer; pragma Import (Ada, E161, "banner_E");
E006 : Short_Integer; pragma Import (Ada, E006, "latin_utils__config_E");
E163 : Short_Integer; pragma Import (Ada, E163, "latin_utils__preface_E");
E191 : Short_Integer; pragma Import (Ada, E191, "latin_utils__inflections_package_E");
E158 : Short_Integer; pragma Import (Ada, E158, "latin_utils__strings_package_E");
E187 : Short_Integer; pragma Import (Ada, E187, "latin_utils__dictionary_package_E");
E203 : Short_Integer; pragma Import (Ada, E203, "support_utils__char_utils_E");
E199 : Short_Integer; pragma Import (Ada, E199, "support_utils__developer_parameters_E");
E207 : Short_Integer; pragma Import (Ada, E207, "support_utils__addons_package_E");
E208 : Short_Integer; pragma Import (Ada, E208, "support_utils__uniques_package_E");
E210 : Short_Integer; pragma Import (Ada, E210, "support_utils__word_parameters_E");
E205 : Short_Integer; pragma Import (Ada, E205, "support_utils__word_support_package_E");
E201 : Short_Integer; pragma Import (Ada, E201, "support_utils__line_stuff_E");
E215 : Short_Integer; pragma Import (Ada, E215, "words_engine__english_support_package_E");
E257 : Short_Integer; pragma Import (Ada, E257, "words_engine__initialization_E");
E252 : Short_Integer; pragma Import (Ada, E252, "words_engine__list_package_E");
E254 : Short_Integer; pragma Import (Ada, E254, "words_engine__list_sweep_E");
E217 : Short_Integer; pragma Import (Ada, E217, "words_engine__parse_E");
E235 : Short_Integer; pragma Import (Ada, E235, "words_engine__pearse_code_E");
E248 : Short_Integer; pragma Import (Ada, E248, "words_engine__roman_numerals_package_E");
E250 : Short_Integer; pragma Import (Ada, E250, "words_engine__trick_tables_E");
E242 : Short_Integer; pragma Import (Ada, E242, "words_engine__tricks_E");
E240 : Short_Integer; pragma Import (Ada, E240, "words_engine__word_package_E");
Local_Priority_Specific_Dispatching : constant String := "";
Local_Interrupt_States : constant String := "";
Is_Elaborated : Boolean := False;
procedure finalize_library is
begin
declare
procedure F1;
pragma Import (Ada, F1, "words_engine__parse__finalize_body");
begin
E217 := E217 - 1;
F1;
end;
declare
procedure F2;
pragma Import (Ada, F2, "words_engine__parse__finalize_spec");
begin
F2;
end;
E156 := E156 - 1;
declare
procedure F3;
pragma Import (Ada, F3, "ada__text_io__finalize_spec");
begin
F3;
end;
E009 := E009 - 1;
E147 := E147 - 1;
declare
procedure F4;
pragma Import (Ada, F4, "system__regexp__finalize_spec");
begin
F4;
end;
declare
procedure F5;
pragma Import (Ada, F5, "ada__directories__finalize_spec");
begin
F5;
end;
E094 := E094 - 1;
declare
procedure F6;
pragma Import (Ada, F6, "ada__strings__unbounded__finalize_spec");
begin
F6;
end;
E108 := E108 - 1;
E104 := E104 - 1;
declare
procedure F7;
pragma Import (Ada, F7, "system__file_io__finalize_body");
begin
E132 := E132 - 1;
F7;
end;
E194 := E194 - 1;
declare
procedure F8;
pragma Import (Ada, F8, "system__direct_io__finalize_spec");
begin
F8;
end;
E230 := E230 - 1;
declare
procedure F9;
pragma Import (Ada, F9, "ada__streams__stream_io__finalize_spec");
begin
F9;
end;
declare
procedure F10;
pragma Import (Ada, F10, "system__file_control_block__finalize_spec");
begin
E141 := E141 - 1;
F10;
end;
E143 := E143 - 1;
declare
procedure F11;
pragma Import (Ada, F11, "system__pool_global__finalize_spec");
begin
F11;
end;
declare
procedure F12;
pragma Import (Ada, F12, "system__storage_pools__subpools__finalize_spec");
begin
F12;
end;
declare
procedure F13;
pragma Import (Ada, F13, "system__finalization_masters__finalize_spec");
begin
F13;
end;
declare
procedure Reraise_Library_Exception_If_Any;
pragma Import (Ada, Reraise_Library_Exception_If_Any, "__gnat_reraise_library_exception_if_any");
begin
Reraise_Library_Exception_If_Any;
end;
end finalize_library;
procedure adafinal is
procedure s_stalib_adafinal;
pragma Import (C, s_stalib_adafinal, "system__standard_library__adafinal");
begin
if not Is_Elaborated then
return;
end if;
Is_Elaborated := False;
s_stalib_adafinal;
end adafinal;
type No_Param_Proc is access procedure;
procedure adainit is
Main_Priority : Integer;
pragma Import (C, Main_Priority, "__gl_main_priority");
Time_Slice_Value : Integer;
pragma Import (C, Time_Slice_Value, "__gl_time_slice_val");
WC_Encoding : Character;
pragma Import (C, WC_Encoding, "__gl_wc_encoding");
Locking_Policy : Character;
pragma Import (C, Locking_Policy, "__gl_locking_policy");
Queuing_Policy : Character;
pragma Import (C, Queuing_Policy, "__gl_queuing_policy");
Task_Dispatching_Policy : Character;
pragma Import (C, Task_Dispatching_Policy, "__gl_task_dispatching_policy");
Priority_Specific_Dispatching : System.Address;
pragma Import (C, Priority_Specific_Dispatching, "__gl_priority_specific_dispatching");
Num_Specific_Dispatching : Integer;
pragma Import (C, Num_Specific_Dispatching, "__gl_num_specific_dispatching");
Main_CPU : Integer;
pragma Import (C, Main_CPU, "__gl_main_cpu");
Interrupt_States : System.Address;
pragma Import (C, Interrupt_States, "__gl_interrupt_states");
Num_Interrupt_States : Integer;
pragma Import (C, Num_Interrupt_States, "__gl_num_interrupt_states");
Unreserve_All_Interrupts : Integer;
pragma Import (C, Unreserve_All_Interrupts, "__gl_unreserve_all_interrupts");
Detect_Blocking : Integer;
pragma Import (C, Detect_Blocking, "__gl_detect_blocking");
Default_Stack_Size : Integer;
pragma Import (C, Default_Stack_Size, "__gl_default_stack_size");
Leap_Seconds_Support : Integer;
pragma Import (C, Leap_Seconds_Support, "__gl_leap_seconds_support");
procedure Install_Handler;
pragma Import (C, Install_Handler, "__gnat_install_handler");
Handler_Installed : Integer;
pragma Import (C, Handler_Installed, "__gnat_handler_installed");
Finalize_Library_Objects : No_Param_Proc;
pragma Import (C, Finalize_Library_Objects, "__gnat_finalize_library_objects");
begin
if Is_Elaborated then
return;
end if;
Is_Elaborated := True;
Main_Priority := -1;
Time_Slice_Value := -1;
WC_Encoding := 'b';
Locking_Policy := ' ';
Queuing_Policy := ' ';
Task_Dispatching_Policy := ' ';
Priority_Specific_Dispatching :=
Local_Priority_Specific_Dispatching'Address;
Num_Specific_Dispatching := 0;
Main_CPU := -1;
Interrupt_States := Local_Interrupt_States'Address;
Num_Interrupt_States := 0;
Unreserve_All_Interrupts := 0;
Detect_Blocking := 0;
Default_Stack_Size := -1;
Leap_Seconds_Support := 0;
if Handler_Installed = 0 then
Install_Handler;
end if;
Finalize_Library_Objects := finalize_library'access;
System.Soft_Links'Elab_Spec;
System.Exception_Table'Elab_Body;
E028 := E028 + 1;
Ada.Containers'Elab_Spec;
E218 := E218 + 1;
Ada.Io_Exceptions'Elab_Spec;
E117 := E117 + 1;
Ada.Strings'Elab_Spec;
E081 := E081 + 1;
Ada.Strings.Maps'Elab_Spec;
Ada.Strings.Maps.Constants'Elab_Spec;
E086 := E086 + 1;
Ada.Tags'Elab_Spec;
Ada.Streams'Elab_Spec;
E116 := E116 + 1;
Interfaces.C'Elab_Spec;
Interfaces.C.Strings'Elab_Spec;
System.Exceptions'Elab_Spec;
E034 := E034 + 1;
System.Finalization_Root'Elab_Spec;
E119 := E119 + 1;
Ada.Finalization'Elab_Spec;
E114 := E114 + 1;
System.Storage_Pools'Elab_Spec;
E121 := E121 + 1;
System.Finalization_Masters'Elab_Spec;
System.Storage_Pools.Subpools'Elab_Spec;
Ada.Calendar'Elab_Spec;
Ada.Calendar'Elab_Body;
E011 := E011 + 1;
Ada.Calendar.Time_Zones'Elab_Spec;
E060 := E060 + 1;
System.Assertions'Elab_Spec;
E220 := E220 + 1;
System.Pool_Global'Elab_Spec;
E143 := E143 + 1;
System.File_Control_Block'Elab_Spec;
E141 := E141 + 1;
Ada.Streams.Stream_Io'Elab_Spec;
E230 := E230 + 1;
System.Direct_Io'Elab_Spec;
E194 := E194 + 1;
System.File_Io'Elab_Body;
E132 := E132 + 1;
E104 := E104 + 1;
System.Finalization_Masters'Elab_Body;
E108 := E108 + 1;
E151 := E151 + 1;
E054 := E054 + 1;
Ada.Tags'Elab_Body;
E096 := E096 + 1;
E083 := E083 + 1;
System.Soft_Links'Elab_Body;
E018 := E018 + 1;
System.Os_Lib'Elab_Body;
E138 := E138 + 1;
System.Secondary_Stack'Elab_Body;
E022 := E022 + 1;
Ada.Strings.Unbounded'Elab_Spec;
E094 := E094 + 1;
Ada.Directories'Elab_Spec;
System.Regexp'Elab_Spec;
E147 := E147 + 1;
Ada.Directories'Elab_Body;
E009 := E009 + 1;
System.Strings.Stream_Ops'Elab_Body;
E228 := E228 + 1;
Ada.Text_Io'Elab_Spec;
Ada.Text_Io'Elab_Body;
E156 := E156 + 1;
Latin_Utils.Config'Elab_Body;
E006 := E006 + 1;
E163 := E163 + 1;
E161 := E161 + 1;
Latin_Utils.Inflections_Package'Elab_Spec;
Latin_Utils.Inflections_Package'Elab_Body;
E191 := E191 + 1;
E158 := E158 + 1;
Latin_Utils.Dictionary_Package'Elab_Spec;
Latin_Utils.Dictionary_Package'Elab_Body;
E187 := E187 + 1;
E203 := E203 + 1;
Support_Utils.Developer_Parameters'Elab_Spec;
Support_Utils.Addons_Package'Elab_Spec;
Support_Utils.Addons_Package'Elab_Body;
E207 := E207 + 1;
Support_Utils.Uniques_Package'Elab_Spec;
E208 := E208 + 1;
Support_Utils.Word_Parameters'Elab_Spec;
Support_Utils.Word_Parameters'Elab_Body;
E210 := E210 + 1;
Support_Utils.Word_Support_Package'Elab_Spec;
E205 := E205 + 1;
Support_Utils.Line_Stuff'Elab_Spec;
Support_Utils.Line_Stuff'Elab_Body;
E201 := E201 + 1;
Support_Utils.Developer_Parameters'Elab_Body;
E199 := E199 + 1;
Words_Engine.English_Support_Package'Elab_Spec;
E215 := E215 + 1;
E254 := E254 + 1;
Words_Engine.Parse'Elab_Spec;
E235 := E235 + 1;
E248 := E248 + 1;
Words_Engine.Trick_Tables'Elab_Spec;
Words_Engine.Trick_Tables'Elab_Body;
E250 := E250 + 1;
Words_Engine.Word_Package'Elab_Spec;
E240 := E240 + 1;
E242 := E242 + 1;
Words_Engine.List_Package'Elab_Body;
E252 := E252 + 1;
E257 := E257 + 1;
Words_Engine.Parse'Elab_Body;
E217 := E217 + 1;
end adainit;
procedure Ada_Main_Program;
pragma Import (Ada, Ada_Main_Program, "_ada_meanings");
function main
(argc : Integer;
argv : System.Address;
envp : System.Address)
return Integer
is
procedure Initialize (Addr : System.Address);
pragma Import (C, Initialize, "__gnat_initialize");
procedure Finalize;
pragma Import (C, Finalize, "__gnat_finalize");
SEH : aliased array (1 .. 2) of Integer;
Ensure_Reference : aliased System.Address := Ada_Main_Program_Name'Address;
pragma Volatile (Ensure_Reference);
begin
gnat_argc := argc;
gnat_argv := argv;
gnat_envp := envp;
Initialize (SEH'Address);
adainit;
Ada_Main_Program;
adafinal;
Finalize;
return (gnat_exit_status);
end;
-- BEGIN Object file/option list
-- /home/ubuntu/whitakers-words/obj/banner.o
-- /home/ubuntu/whitakers-words/obj/process_input.o
-- /home/ubuntu/whitakers-words/obj/words_main.o
-- /home/ubuntu/whitakers-words/obj/meanings.o
-- -L/home/ubuntu/whitakers-words/obj/
-- -L/home/ubuntu/whitakers-words/obj/
-- -L/home/ubuntu/whitakers-words/
-- -L/home/ubuntu/whitakers-words/lib/words_engine-static/
-- -L/home/ubuntu/whitakers-words/lib/support_utils-static/
-- -L/home/ubuntu/whitakers-words/lib/latin_utils-static/
-- -L/usr/lib/gcc/x86_64-linux-gnu/4.9/adalib/
-- -shared
-- -lgnat-4.9
-- END Object file/option list
end ada_main;