GnuCOBOL
2.0
A free COBOL compiler
|
Go to the source code of this file.
Data Structures | |
struct | cobc_reserved |
struct | cb_tree_common |
struct | cb_const |
struct | cb_direct |
struct | cb_debug |
struct | cb_debug_call |
struct | cb_integer |
struct | cb_string |
struct | cb_alphabet_name |
struct | cb_class_name |
struct | cb_locale_name |
struct | cb_system_name |
struct | cb_literal |
struct | cb_decimal |
struct | cb_picture |
struct | cb_key |
struct | cb_field |
struct | cb_para_label |
struct | cb_alter_id |
struct | cb_label |
struct | handler_struct |
struct | cb_alt_key |
struct | cb_file |
struct | cb_word |
struct | cb_reference |
struct | cb_binary_op |
struct | cb_funcall |
struct | cb_cast |
struct | cb_assign |
struct | cb_intrinsic_table |
struct | cb_intrinsic |
struct | cb_initialize |
struct | cb_search |
struct | cb_call |
struct | cb_cancel |
struct | cb_alter |
struct | cb_goto |
struct | cb_if |
struct | cb_perform_varying |
struct | cb_perform |
struct | cb_attr_struct |
struct | cb_statement |
struct | cb_continue |
struct | cb_set_attr |
struct | cb_list |
struct | cb_report |
struct | nested_list |
struct | cb_program |
struct | cb_func_prototype |
Typedefs | |
typedef struct cb_tree_common * | cb_tree |
#define CB_ADD_TO_CHAIN | ( | x, | |
y | |||
) | y = CB_BUILD_CHAIN (x, y) |
Definition at line 1854 of file tree.h.
Referenced by cb_build_address(), cb_build_identifier(), and yyparse().
Definition at line 26 of file tree.h.
Referenced by output_perform_until(), and yyparse().
#define CB_ALPHABET_ASCII 1 |
Definition at line 108 of file tree.h.
Referenced by cb_validate_program_environment(), output_file_allocation(), output_param(), and yyparse().
#define CB_ALPHABET_CUSTOM 3 |
Definition at line 110 of file tree.h.
Referenced by cb_validate_collating(), output_alphabet_name_definition(), output_file_allocation(), output_param(), and yyparse().
#define CB_ALPHABET_EBCDIC 2 |
Definition at line 109 of file tree.h.
Referenced by cb_validate_program_environment(), output_file_allocation(), output_param(), and yyparse().
#define CB_ALPHABET_NAME | ( | x | ) | (CB_TREE_CAST (CB_TAG_ALPHABET_NAME, struct cb_alphabet_name, x)) |
Definition at line 550 of file tree.h.
Referenced by cb_build_symbolic_chars(), cb_name_1(), cb_validate_collating(), cb_validate_program_environment(), output_internal_function(), output_param(), and yyparse().
#define CB_ALPHABET_NAME_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_ALPHABET_NAME) |
Definition at line 551 of file tree.h.
Referenced by cb_build_move(), cb_validate_collating(), cb_validate_program_environment(), output_param(), validate_inspect(), validate_move(), and yyparse().
#define CB_ALPHABET_NATIVE 0 |
Definition at line 107 of file tree.h.
Referenced by cb_validate_program_environment(), output_param(), and yyparse().
#define CB_ALTER | ( | x | ) | (CB_TREE_CAST (CB_TAG_ALTER, struct cb_alter, x)) |
Definition at line 1068 of file tree.h.
Referenced by output_stmt().
#define CB_ALTER_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_ALTER) |
#define CB_ASSIGN | ( | x | ) | (CB_TREE_CAST (CB_TAG_ASSIGN, struct cb_assign, x)) |
Definition at line 973 of file tree.h.
Referenced by output_stmt().
#define CB_ASSIGN_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_ASSIGN) |
Definition at line 25 of file tree.h.
Referenced by cb_build_write_advancing_lines(), cb_build_write_advancing_mnemonic(), cb_build_write_advancing_page(), output_perform_until(), and yyparse().
#define CB_BINARY_OP | ( | x | ) | (CB_TREE_CAST (CB_TAG_BINARY_OP, struct cb_binary_op, x)) |
Definition at line 936 of file tree.h.
Referenced by cb_build_cond(), cb_build_identifier(), cb_name_1(), decimal_expand(), expr_expand(), expr_reduce(), output_cond(), output_cond_debug(), output_integer(), output_long_integer(), output_param(), and search_set_keys().
#define CB_BINARY_OP_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_BINARY_OP) |
Definition at line 937 of file tree.h.
Referenced by cb_build_cond(), cb_build_identifier(), cb_emit_arithmetic(), expr_expand(), expr_reduce(), and output_call().
#define CB_BUILD_CAST_ADDR_OF_ADDR | ( | x | ) | cb_build_cast (CB_CAST_ADDR_OF_ADDR, x) |
Definition at line 1842 of file tree.h.
Referenced by cb_emit_allocate(), and cb_emit_free().
#define CB_BUILD_CAST_ADDRESS | ( | x | ) | cb_build_cast (CB_CAST_ADDRESS, x) |
Definition at line 1841 of file tree.h.
Referenced by cb_build_address(), cb_build_cond(), cb_build_memset(), cb_build_move_copy(), cb_build_move_literal(), cb_build_optim_add(), cb_build_optim_cond(), cb_build_optim_sub(), cb_check_field_debug(), cb_emit_free(), and cb_emit_sort_init().
#define CB_BUILD_CAST_LENGTH | ( | x | ) | cb_build_cast (CB_CAST_LENGTH, x) |
Definition at line 1843 of file tree.h.
Referenced by cb_build_identifier(), cb_build_memset(), cb_build_move_copy(), cb_build_move_literal(), and cb_check_field_debug().
#define CB_BUILD_CAST_PPOINTER | ( | x | ) | cb_build_cast (CB_CAST_PROGRAM_POINTER, x) |
Definition at line 1844 of file tree.h.
Referenced by cb_build_ppointer().
#define CB_BUILD_CHAIN | ( | x, | |
y | |||
) | cb_build_list (NULL, x, y) |
Definition at line 1852 of file tree.h.
Referenced by cb_check_lit_subs(), output_initialize(), output_initialize_compound(), output_initialize_one(), and yyparse().
#define CB_BUILD_FUNCALL_0 | ( | f | ) |
Definition at line 1795 of file tree.h.
Referenced by cb_build_inspect_region_start(), cb_emit_commit(), cb_emit_display(), cb_emit_inspect(), cb_emit_ready_trace(), cb_emit_reset_trace(), cb_emit_rollback(), cb_emit_string(), and cb_emit_unstring().
#define CB_BUILD_FUNCALL_1 | ( | f, | |
a1 | |||
) |
Definition at line 1799 of file tree.h.
Referenced by cb_build_move_num_zero(), cb_build_replacing_characters(), cb_build_tallying_characters(), cb_check_data_incompat(), cb_define_switch_name(), cb_emit_accept(), cb_emit_accept_arg_number(), cb_emit_accept_arg_value(), cb_emit_accept_command_line(), cb_emit_accept_date(), cb_emit_accept_date_yyyymmdd(), cb_emit_accept_day(), cb_emit_accept_day_of_week(), cb_emit_accept_day_yyyyddd(), cb_emit_accept_environment(), cb_emit_accept_escape_key(), cb_emit_accept_exception_status(), cb_emit_accept_mnemonic(), cb_emit_accept_name(), cb_emit_accept_time(), cb_emit_accept_user_name(), cb_emit_arg_number(), cb_emit_command_line(), cb_emit_env_name(), cb_emit_env_value(), cb_emit_move(), cb_emit_release(), cb_emit_return(), cb_emit_set_last_exception_to_off(), cb_emit_sort_finish(), cb_emit_stop_run(), cb_emit_string(), cb_emit_unstring(), cb_expr_shift_class(), decimal_expand(), and yyparse().
#define CB_BUILD_FUNCALL_10 | ( | f, | |
a1, | |||
a2, | |||
a3, | |||
a4, | |||
a5, | |||
a6, | |||
a7, | |||
a8, | |||
a9, | |||
a10 | |||
) |
Definition at line 1835 of file tree.h.
Referenced by cb_emit_accept(), and cb_gen_field_accept().
#define CB_BUILD_FUNCALL_2 | ( | f, | |
a1, | |||
a2 | |||
) |
Definition at line 1803 of file tree.h.
Referenced by cb_build_cond(), cb_build_converting(), cb_build_identifier(), cb_build_memset(), cb_build_move(), cb_build_move_copy(), cb_build_move_field(), cb_build_move_high(), cb_build_move_literal(), cb_build_move_low(), cb_build_move_num_zero(), cb_build_move_quote(), cb_build_move_space(), cb_build_move_zero(), cb_build_optim_add(), cb_build_optim_cond(), cb_build_optim_sub(), cb_build_replacing_all(), cb_build_replacing_first(), cb_build_replacing_leading(), cb_build_replacing_trailing(), cb_build_tallying_value(), cb_build_unstring_delimited(), cb_check_data_incompat(), cb_emit_accept_line_or_col(), cb_emit_delete(), cb_emit_delete_file(), cb_emit_divide(), cb_emit_free(), cb_emit_get_environment(), cb_emit_inspect(), cb_emit_set_on_off(), cb_emit_setenv(), cb_emit_sort_giving(), cb_emit_sort_init(), cb_emit_sort_using(), cb_emit_string(), cb_emit_unlock(), decimal_compute(), decimal_expand(), output_screen_from(), and output_screen_to().
#define CB_BUILD_FUNCALL_3 | ( | f, | |
a1, | |||
a2, | |||
a3 | |||
) |
Definition at line 1807 of file tree.h.
Referenced by cb_build_add(), cb_build_cond(), cb_build_div(), cb_build_identifier(), cb_build_memset(), cb_build_move_copy(), cb_build_move_literal(), cb_build_mul(), cb_build_optim_add(), cb_build_optim_sub(), cb_build_sub(), cb_build_unstring_into(), cb_check_field_debug(), cb_emit_display(), cb_emit_read(), cb_emit_sort_init(), cb_emit_unstring(), decimal_assign(), and emit_screen_display().
#define CB_BUILD_FUNCALL_4 | ( | f, | |
a1, | |||
a2, | |||
a3, | |||
a4 | |||
) |
Definition at line 1811 of file tree.h.
Referenced by cb_build_identifier(), cb_build_optim_cond(), cb_emit_accept(), cb_emit_allocate(), cb_emit_close(), cb_emit_divide(), cb_emit_open(), cb_emit_read(), cb_emit_rewrite(), and cb_emit_sort_init().
#define CB_BUILD_FUNCALL_5 | ( | f, | |
a1, | |||
a2, | |||
a3, | |||
a4, | |||
a5 | |||
) |
Definition at line 1815 of file tree.h.
Referenced by cb_emit_sort_init(), cb_emit_start(), and cb_emit_write().
#define CB_BUILD_FUNCALL_6 | ( | f, | |
a1, | |||
a2, | |||
a3, | |||
a4, | |||
a5, | |||
a6 | |||
) |
#define CB_BUILD_FUNCALL_7 | ( | f, | |
a1, | |||
a2, | |||
a3, | |||
a4, | |||
a5, | |||
a6, | |||
a7 | |||
) |
#define CB_BUILD_FUNCALL_8 | ( | f, | |
a1, | |||
a2, | |||
a3, | |||
a4, | |||
a5, | |||
a6, | |||
a7, | |||
a8 | |||
) |
Definition at line 1827 of file tree.h.
Referenced by emit_field_display().
#define CB_BUILD_FUNCALL_9 | ( | f, | |
a1, | |||
a2, | |||
a3, | |||
a4, | |||
a5, | |||
a6, | |||
a7, | |||
a8, | |||
a9 | |||
) |
#define CB_BUILD_NEGATION | ( | x | ) | cb_build_binary_op (x, '!', NULL) |
Definition at line 1847 of file tree.h.
Referenced by cb_build_cond(), cb_define_switch_name(), cb_expr_shift_class(), cb_expr_shift_sign(), evaluate_test(), and expr_reduce().
#define CB_BUILD_PAIR | ( | x, | |
y | |||
) | cb_build_list (x, y, NULL) |
Definition at line 1853 of file tree.h.
Referenced by cb_build_alter(), cb_pair_add(), emit_entry(), and yyparse().
#define CB_BUILD_PARENTHESIS | ( | x | ) | cb_build_binary_op (x, '@', NULL) |
Definition at line 1846 of file tree.h.
Referenced by cb_expr_shift().
#define CB_BUILD_STRING0 | ( | str | ) | cb_build_string (str, strlen ((char *)(str))) |
Definition at line 1849 of file tree.h.
Referenced by cb_build_identifier(), cb_check_data_incompat(), and decimal_expand().
#define CB_CALL | ( | x | ) | (CB_TREE_CAST (CB_TAG_CALL, struct cb_call, x)) |
Definition at line 1047 of file tree.h.
Referenced by output_stmt().
#define CB_CALL_BY_CONTENT 2 |
Definition at line 45 of file tree.h.
Referenced by output_call(), output_entry_function(), and yyparse().
#define CB_CALL_BY_REFERENCE 1 |
Definition at line 44 of file tree.h.
Referenced by cb_emit_call(), output_call(), output_entry_function(), and yyparse().
#define CB_CALL_BY_VALUE 3 |
Definition at line 46 of file tree.h.
Referenced by cb_emit_call(), output_call(), output_entry_function(), and yyparse().
#define CB_CALL_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_CALL) |
#define CB_CANCEL | ( | x | ) | (CB_TREE_CAST (CB_TAG_CANCEL, struct cb_cancel, x)) |
Definition at line 1057 of file tree.h.
Referenced by output_stmt().
#define CB_CANCEL_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_CANCEL) |
#define CB_CAST | ( | x | ) | (CB_TREE_CAST (CB_TAG_CAST, struct cb_cast, x)) |
Definition at line 962 of file tree.h.
Referenced by cb_emit_free(), cb_emit_set_to(), cb_tree_category(), expr_chk_cond(), output_integer(), output_long_integer(), output_param(), and output_stmt().
#define CB_CAST_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_CAST) |
Definition at line 963 of file tree.h.
Referenced by cb_emit_free(), cb_emit_set_to(), expr_chk_cond(), and output_call().
Definition at line 1194 of file tree.h.
Referenced by ambiguous_error(), begin_scope_of_program_name(), build_cond_88(), build_decimal_assign(), build_evaluate(), build_nested_special(), cb_build_binary_list(), cb_build_expr(), cb_build_field_tree(), cb_build_identifier(), cb_build_symbolic_chars(), cb_check_field_debug(), cb_check_lit_subs(), cb_check_needs_break(), cb_emit_arithmetic(), cb_emit_call(), cb_emit_display(), cb_emit_free(), cb_emit_goto(), cb_emit_initialize(), cb_emit_move(), cb_emit_move_corresponding(), cb_emit_set_false(), cb_emit_set_on_off(), cb_emit_set_to(), cb_emit_set_true(), cb_emit_set_up_down(), cb_emit_sort_giving(), cb_emit_sort_init(), cb_emit_sort_using(), cb_emit_string(), cb_find_defined_program_by_id(), cb_find_defined_program_by_name(), cb_list_append(), cb_list_length(), cb_list_map(), cb_list_reverse(), cb_name_1(), cb_ref(), cb_resolve_redefines(), cb_validate_88_item(), cb_validate_list(), cb_validate_program_body(), cb_validate_program_data(), cb_validate_program_environment(), codegen(), emit_entry(), finalize_file(), get_last_elt(), global_check(), initialize_type(), make_intrinsic(), output_call(), output_class_name_definition(), output_cond(), output_data(), output_entry_function(), output_file_error(), output_funcall(), output_funcall_debug(), output_goto(), output_initialize(), output_initialize_compound(), output_initialize_one(), output_internal_function(), output_param(), output_perform_until(), output_search_whens(), output_stmt(), validate_field_1(), yylex(), and yyparse().
#define CB_CHAIN_PAIR | ( | x, | |
y, | |||
z | |||
) | x = cb_pair_add (x, y, z) |
#define CB_CLASS_NAME | ( | x | ) | (CB_TREE_CAST (CB_TAG_CLASS_NAME, struct cb_class_name, x)) |
Definition at line 562 of file tree.h.
Referenced by cb_build_expr(), cb_name_1(), cb_validate_program_environment(), and codegen().
#define CB_CLASS_NAME_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_CLASS_NAME) |
#define CB_CONST | ( | x | ) | (CB_TREE_CAST (CB_TAG_CONST, struct cb_const, x)) |
Definition at line 476 of file tree.h.
Referenced by output_integer(), output_long_integer(), output_param(), and try_get_constant_data().
#define CB_CONST_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_CONST) |
Definition at line 477 of file tree.h.
Referenced by cb_emit_call(), cb_emit_move(), get_data_and_size_from_lit(), output_initialize_one(), and try_get_constant_data().
#define CB_CONTINUE | ( | x | ) | (CB_TREE_CAST (CB_TAG_CONTINUE, struct cb_continue, x)) |
#define CB_CONTINUE_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_CONTINUE) |
#define CB_CONV_NO_RET_UPD (1 << 2) |
Definition at line 131 of file tree.h.
Referenced by output_call(), and yyparse().
#define CB_CONV_STATIC_LINK (1 << 3) |
Definition at line 132 of file tree.h.
Referenced by cb_emit_call(), output_call(), and yyparse().
#define CB_CONV_STDCALL (1 << 6) |
Definition at line 135 of file tree.h.
Referenced by cb_emit_call(), output_call(), and yyparse().
#define CB_DEBUG | ( | x | ) | (CB_TREE_CAST (CB_TAG_DEBUG, struct cb_debug, x)) |
Definition at line 501 of file tree.h.
Referenced by output_stmt().
#define CB_DEBUG_CALL | ( | x | ) | (CB_TREE_CAST (CB_TAG_DEBUG_CALL, struct cb_debug_call, x)) |
Definition at line 511 of file tree.h.
Referenced by output_stmt().
#define CB_DEBUG_CALL_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_DEBUG_CALL) |
#define CB_DEBUG_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_DEBUG) |
#define CB_DECIMAL | ( | x | ) | (CB_TREE_CAST (CB_TAG_DECIMAL, struct cb_decimal, x)) |
Definition at line 613 of file tree.h.
Referenced by output_param().
#define CB_DECIMAL_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_DECIMAL) |
#define CB_DEVICE_CONSOLE 3 |
Definition at line 156 of file tree.h.
Referenced by cb_build_display_mnemonic(), cb_build_display_name(), cb_emit_accept_mnemonic(), cb_emit_accept_name(), and yyparse().
#define CB_DEVICE_SYSERR 2 |
Definition at line 155 of file tree.h.
Referenced by cb_build_display_mnemonic(), and cb_build_display_name().
#define CB_DEVICE_SYSIN 0 |
Definition at line 153 of file tree.h.
Referenced by cb_emit_accept_mnemonic(), and cb_emit_accept_name().
#define CB_DEVICE_SYSOUT 1 |
Definition at line 154 of file tree.h.
Referenced by cb_build_display_mnemonic(), and cb_build_display_name().
#define CB_DIRECT | ( | x | ) | (CB_TREE_CAST (CB_TAG_DIRECT, struct cb_direct, x)) |
Definition at line 488 of file tree.h.
Referenced by cb_build_direct(), and output_stmt().
#define CB_DIRECT_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_DIRECT) |
#define CB_FEATURE_C01 2 |
Definition at line 198 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C02 3 |
Definition at line 199 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C03 4 |
Definition at line 200 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C04 5 |
Definition at line 201 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C05 6 |
Definition at line 202 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C06 7 |
Definition at line 203 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C07 8 |
Definition at line 204 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C08 9 |
Definition at line 205 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C09 10 |
Definition at line 206 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C10 11 |
Definition at line 207 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C11 12 |
Definition at line 208 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_C12 13 |
Definition at line 209 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FEATURE_FORMFEED 0 |
Definition at line 196 of file tree.h.
Referenced by cb_build_write_advancing_mnemonic().
#define CB_FIELD | ( | x | ) | (CB_TREE_CAST (CB_TAG_FIELD, struct cb_field, x)) |
Definition at line 740 of file tree.h.
Referenced by ambiguous_error(), cb_add_const_var(), cb_build_address(), cb_build_binary_op(), cb_build_const_length(), cb_build_constant(), cb_build_debug_item(), cb_build_field_tree(), cb_build_identifier(), cb_build_implicit_field(), cb_build_index(), cb_build_length(), cb_build_length_1(), cb_build_perform_varying(), cb_build_symbolic_chars(), cb_check_field_debug(), cb_check_group_name(), cb_check_integer_value(), cb_emit_accept(), cb_emit_display(), cb_emit_rewrite(), cb_emit_set_to(), cb_emit_sort_init(), cb_emit_write(), cb_field_size(), cb_fits_int(), cb_fits_long_long(), cb_name_1(), cb_ref(), cb_tree_category(), cb_validate_one(), cb_validate_program_body(), cb_validate_program_data(), check_not_88_level(), emit_entry(), evaluate_test(), finalize_file(), global_check(), is_screen_field(), output(), output_attr(), output_call(), output_data(), output_goto(), output_param(), output_perform(), output_perform_until(), output_size(), valid_screen_pos(), value_has_picture_clause(), value_pic_has_no_scale(), warning_destination(), and yyparse().
#define CB_FIELD_ADD | ( | x, | |
y | |||
) | x = cb_field_add (x, y) |
Definition at line 1856 of file tree.h.
Referenced by cb_build_debug_item(), cb_build_index(), cb_build_registers(), cb_validate_program_data(), finalize_file(), and yyparse().
#define CB_FIELD_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_FIELD) |
Definition at line 741 of file tree.h.
Referenced by cb_build_address(), cb_build_cond(), cb_build_field_tree(), cb_build_identifier(), cb_build_perform_varying(), cb_check_field_debug(), cb_check_group_name(), cb_check_numeric_edited_name(), cb_check_numeric_name(), cb_emit_call(), cb_emit_display(), cb_emit_initialize(), cb_emit_set_false(), cb_emit_set_true(), cb_ref(), cb_resolve_redefines(), cb_validate_one(), cb_validate_program_data(), evaluate_test(), global_check(), is_screen_field(), output_call(), value_is_numeric_field(), and yyparse().
#define CB_FIELD_PTR | ( | x | ) | (CB_REFERENCE_P (x) ? CB_FIELD (cb_ref (x)) : CB_FIELD (x)) |
Definition at line 745 of file tree.h.
Referenced by build_cond_88(), build_store_option(), cb_build_add(), cb_build_cond(), cb_build_debug(), cb_build_div(), cb_build_identifier(), cb_build_move_copy(), cb_build_move_field(), cb_build_move_high(), cb_build_move_literal(), cb_build_move_low(), cb_build_move_num_zero(), cb_build_move_quote(), cb_build_move_space(), cb_build_move_zero(), cb_build_mul(), cb_build_optim_add(), cb_build_optim_cond(), cb_build_optim_sub(), cb_build_perform_varying(), cb_build_ppointer(), cb_build_program(), cb_build_registers(), cb_build_search_all(), cb_build_sub(), cb_check_data_incompat(), cb_check_index_p(), cb_chk_alpha_cond(), cb_chk_num_cond(), cb_emit_accept(), cb_emit_allocate(), cb_emit_call(), cb_emit_free(), cb_emit_release(), cb_emit_rewrite(), cb_emit_set_attribute(), cb_emit_set_false(), cb_emit_set_true(), cb_emit_sort_init(), cb_emit_start(), cb_emit_write(), cb_resolve_redefines(), cb_validate_program_body(), cb_validate_program_data(), check_picture_item(), check_valid_key(), decimal_expand(), emit_corresponding(), emit_move_corresponding(), expr_chk_cond(), finalize_file(), level_except_error(), level_redundant_error(), level_require_error(), output_file_allocation(), search_set_keys(), validate_field_1(), validate_inspect(), validate_move(), and yyparse().
#define CB_FILE | ( | x | ) | (CB_TREE_CAST (CB_TAG_FILE, struct cb_file, x)) |
Definition at line 858 of file tree.h.
Referenced by cb_emit_close(), cb_emit_delete(), cb_emit_delete_file(), cb_emit_open(), cb_emit_read(), cb_emit_release(), cb_emit_return(), cb_emit_rewrite(), cb_emit_sort_giving(), cb_emit_sort_init(), cb_emit_sort_using(), cb_emit_start(), cb_emit_unlock(), cb_emit_write(), cb_name_1(), cb_ref(), cb_validate_program_data(), finalize_file(), global_check(), output_ferror_stmt(), output_file_error(), output_internal_function(), output_param(), output_stmt(), and yyparse().
#define CB_FILE_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_FILE) |
Definition at line 859 of file tree.h.
Referenced by cb_emit_sort_finish(), cb_emit_sort_init(), cb_ref(), global_check(), output_call(), output_param(), validate_move(), and yyparse().
#define CB_FUNC_PROTOTYPE | ( | x | ) | (CB_TREE_CAST (CB_TAG_FUNC_PROTOTYPE, struct cb_func_prototype, x)) |
Definition at line 1339 of file tree.h.
Referenced by check_for_duplicate_prototype(), output_param(), and yylex().
#define CB_FUNC_PROTOTYPE_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_FUNC_PROTOTYPE) |
Definition at line 1340 of file tree.h.
Referenced by check_for_duplicate_prototype().
#define CB_FUNCALL | ( | x | ) | (CB_TREE_CAST (CB_TAG_FUNCALL, struct cb_funcall, x)) |
Definition at line 951 of file tree.h.
Referenced by cb_emit_display(), cb_emit_sort_giving(), cb_name_1(), output_funcall(), and output_funcall_debug().
#define CB_FUNCALL_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_FUNCALL) |
#define CB_FUNCTION_TYPE 1 |
Definition at line 42 of file tree.h.
Referenced by codegen(), decrement_depth(), emit_entry(), output_entry_function(), output_goto(), output_internal_function(), output_module_init(), set_up_program(), yylex(), and yyparse().
#define CB_GOTO | ( | x | ) | (CB_TREE_CAST (CB_TAG_GOTO, struct cb_goto, x)) |
Definition at line 1079 of file tree.h.
Referenced by output_stmt().
#define CB_GOTO_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_GOTO) |
Definition at line 1080 of file tree.h.
Referenced by build_evaluate(), and cb_check_needs_break().
#define CB_IF | ( | x | ) | (CB_TREE_CAST (CB_TAG_IF, struct cb_if, x)) |
Definition at line 1092 of file tree.h.
Referenced by output_search(), and output_stmt().
#define CB_IF_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_IF) |
#define CB_INDEX_P | ( | x | ) | cb_check_index_p (x) |
Definition at line 750 of file tree.h.
Referenced by cb_build_add(), cb_build_cond(), cb_build_div(), cb_build_move(), cb_build_mul(), and cb_build_sub().
#define CB_INITIALIZE | ( | x | ) | (CB_TREE_CAST (CB_TAG_INITIALIZE, struct cb_initialize, x)) |
Definition at line 1017 of file tree.h.
Referenced by output_stmt().
#define CB_INITIALIZE_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_INITIALIZE) |
#define CB_INTEGER | ( | x | ) | (CB_TREE_CAST (CB_TAG_INTEGER, struct cb_integer, x)) |
Definition at line 522 of file tree.h.
Referenced by build_store_option(), cb_build_const_length(), cb_emit_call(), cb_int_hex(), output_index(), output_integer(), output_long_integer(), and yyparse().
#define CB_INTEGER_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_INTEGER) |
Definition at line 523 of file tree.h.
Referenced by cb_build_const_length(), cb_emit_call(), and yyparse().
#define CB_INTRINSIC | ( | x | ) | (CB_TREE_CAST (CB_TAG_INTRINSIC, struct cb_intrinsic, x)) |
Definition at line 1001 of file tree.h.
Referenced by cb_emit_call(), cb_name_1(), cb_tree_category(), output_call_by_value_args(), and output_param().
#define CB_INTRINSIC_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_INTRINSIC) |
Definition at line 1002 of file tree.h.
Referenced by cb_build_length(), cb_build_move(), cb_emit_call(), and cb_emit_move().
#define CB_INVALID_TREE | ( | x | ) | (!(x) || CB_TREE (x) == cb_error_node) |
Definition at line 446 of file tree.h.
Referenced by cb_get_level(), cb_ref(), cb_validate_78_item(), and yyparse().
#define CB_LABEL | ( | x | ) | (CB_TREE_CAST (CB_TAG_LABEL, struct cb_label, x)) |
Definition at line 801 of file tree.h.
Referenced by ambiguous_error(), build_file(), build_report(), cb_build_section_name(), cb_init_constants(), cb_name_1(), cb_ref(), cb_validate_program_body(), emit_entry(), make_constant_label(), output_alter(), output_entry_function(), output_error_handler(), output_goto_1(), output_internal_function(), output_perform(), output_perform_once(), output_stmt(), and yyparse().
#define CB_LABEL_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_LABEL) |
Definition at line 802 of file tree.h.
Referenced by cb_build_section_name(), cb_ref(), and cb_validate_program_body().
#define CB_LIST | ( | x | ) | (CB_TREE_CAST (CB_TAG_LIST, struct cb_list, x)) |
Definition at line 1189 of file tree.h.
Referenced by end_scope_of_program_name().
#define CB_LIST_INIT | ( | x | ) | cb_build_list (NULL, x, NULL) |
Definition at line 1851 of file tree.h.
Referenced by cb_build_constant(), cb_build_debug_item(), cb_build_index(), cb_build_inspect_region_start(), cb_build_intrinsic(), cb_build_length(), cb_build_perform_varying(), cb_build_registers(), cb_emit_read(), cb_list_add(), cb_validate_program_data(), emit_default_displays_for_x_list(), finalize_file(), and yyparse().
#define CB_LIST_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_LIST) |
Definition at line 1190 of file tree.h.
Referenced by cb_emit_accept(), cb_gen_field_accept(), and cb_validate_program_environment().
#define CB_LITERAL | ( | x | ) | (CB_TREE_CAST (CB_TAG_LITERAL, struct cb_literal, x)) |
Definition at line 601 of file tree.h.
Referenced by cb_build_func_prototype(), cb_build_length(), cb_build_move_literal(), cb_build_program_id(), cb_build_replacing_characters(), cb_build_symbolic_chars(), cb_check_integer_value(), cb_check_lit_subs(), cb_emit_accept(), cb_emit_call(), cb_emit_display(), cb_field_size(), cb_fits_int(), cb_fits_long_long(), cb_get_int(), cb_get_long_long(), cb_get_u_long_long(), cb_name_1(), cb_validate_collating(), cb_validate_program_data(), cb_validate_program_environment(), check_78_replace(), check_picture_item(), clean_up_program(), codegen(), decimal_expand(), get_data_and_size_from_lit(), get_literal_or_word_name(), get_value(), literal_value(), lookup_literal(), output_attr(), output_bin_field(), output_call(), output_call_by_value_args(), output_cancel(), output_class_name_definition(), output_data(), output_funcall(), output_initialize_one(), output_size(), scan_z(), set_up_func_prototype(), set_up_program(), try_get_constant_data(), valid_screen_pos(), validate_inspect(), validate_move(), yylex(), and yyparse().
#define CB_LITERAL_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_LITERAL) |
Definition at line 602 of file tree.h.
Referenced by cb_build_func_prototype(), cb_build_identifier(), cb_build_intrinsic(), cb_build_length(), cb_build_locale_name(), cb_build_move(), cb_build_program_id(), cb_build_replacing_characters(), cb_build_write_advancing_lines(), cb_check_lit_subs(), cb_check_overlapping(), cb_chk_alpha_cond(), cb_emit_accept(), cb_emit_call(), cb_emit_display(), cb_emit_move(), cb_field_size(), cb_get_int(), cb_get_long_long(), cb_validate_program_environment(), check_78_replace(), clean_up_program(), get_data_and_size_from_lit(), get_literal_or_word_name(), move_warning(), output_call(), output_cancel(), output_funcall(), output_initialize_one(), set_up_program(), try_get_constant_data(), validate_inspect(), and yyparse().
#define CB_LOCALE_NAME | ( | x | ) | (CB_TREE_CAST (CB_TAG_LOCALE_NAME, struct cb_locale_name, x)) |
Definition at line 574 of file tree.h.
Referenced by cb_name_1(), and output_param().
#define CB_LOCALE_NAME_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_LOCALE_NAME) |
Definition at line 575 of file tree.h.
Referenced by cb_validate_program_environment(), and output_param().
#define CB_NAME | ( | x | ) | (CB_REFERENCE (x)->word->name) |
Definition at line 904 of file tree.h.
Referenced by ambiguous_error(), cb_build_assignment_name(), cb_build_display_name(), cb_build_func_prototype(), cb_build_intrinsic(), cb_build_program_id(), cb_emit_accept_name(), cb_emit_call(), cb_get_level(), cb_ref(), cb_resolve_redefines(), cb_validate_program_data(), clean_up_program(), file_error(), get_literal_or_word_name(), global_check(), set_up_program(), undefined_error(), and yyparse().
#define CB_NUMERIC_LITERAL_P | ( | x | ) | (CB_LITERAL_P (x) && CB_TREE_CATEGORY (x) == CB_CATEGORY_NUMERIC) |
Definition at line 603 of file tree.h.
Referenced by cb_build_locale_name(), cb_emit_call(), cb_validate_program_environment(), check_picture_item(), output_bin_field(), output_call(), output_class_name_definition(), and valid_screen_pos().
Definition at line 1204 of file tree.h.
Referenced by build_cond_88(), cb_emit_perform(), cb_emit_set_false(), cb_emit_set_true(), cb_emit_string(), cb_validate_program_environment(), get_line_and_column_from_pos(), output_class_name_definition(), output_perform_once(), and validate_field_1().
#define CB_PAIR_X | ( | x | ) | CB_PURPOSE (x) |
Definition at line 1205 of file tree.h.
Referenced by build_cond_88(), cb_build_intrinsic(), cb_emit_accept(), cb_emit_set_false(), cb_emit_set_true(), cb_emit_string(), cb_gen_field_accept(), cb_validate_program_environment(), evaluate_test(), get_line_and_column_from_pos(), make_intrinsic(), output_class_name_definition(), output_perform_once(), and yyparse().
Definition at line 1206 of file tree.h.
Referenced by build_cond_88(), cb_build_intrinsic(), cb_emit_accept(), cb_gen_field_accept(), cb_validate_program_environment(), evaluate_test(), get_line_and_column_from_pos(), make_intrinsic(), output_class_name_definition(), output_perform_once(), and yyparse().
#define CB_PERFORM | ( | x | ) | (CB_TREE_CAST (CB_TAG_PERFORM, struct cb_perform, x)) |
Definition at line 1118 of file tree.h.
Referenced by cb_build_perform_exit(), cb_build_perform_forever(), cb_build_perform_once(), cb_build_perform_times(), cb_build_perform_until(), cb_emit_perform(), output_stmt(), and yyparse().
#define CB_PERFORM_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_PERFORM) |
#define CB_PERFORM_VARYING | ( | x | ) | (CB_TREE_CAST (CB_TAG_PERFORM_VARYING, struct cb_perform_varying, x)) |
Definition at line 1116 of file tree.h.
Referenced by output_perform(), and output_perform_until().
#define CB_PICTURE | ( | x | ) | (CB_TREE_CAST (CB_TAG_PICTURE, struct cb_picture, x)) |
Definition at line 631 of file tree.h.
Referenced by cb_build_debug_item(), cb_build_implicit_field(), cb_build_registers(), cb_validate_program_data(), check_picture_item(), setup_parameters(), validate_field_1(), and yyparse().
#define CB_PICTURE_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_PICTURE) |
#define CB_PREFIX_ATTR "a_" /* Field attribute (cob_field_attr) */ |
Definition at line 30 of file tree.h.
Referenced by codegen(), output_alphabet_name_definition(), output_attr(), and output_bin_field().
#define CB_PREFIX_BASE "b_" /* Base address (unsigned char *) */ |
Definition at line 31 of file tree.h.
Referenced by codegen(), output_base(), output_entry_function(), output_integer(), output_internal_function(), and output_long_integer().
Definition at line 32 of file tree.h.
Referenced by codegen(), and output_param().
#define CB_PREFIX_DECIMAL "d_" /* Decimal number (cob_decimal) */ |
Definition at line 34 of file tree.h.
Referenced by codegen(), output_alphabet_name_definition(), output_internal_function(), output_param(), and output_size().
Definition at line 35 of file tree.h.
Referenced by output_file_allocation(), output_file_initialization(), output_internal_function(), and output_param().
#define CB_PREFIX_KEYS "k_" /* File keys (cob_file_key []) */ |
Definition at line 36 of file tree.h.
Referenced by output_file_allocation(), output_file_initialization(), and output_internal_function().
#define CB_PREFIX_LABEL "l_" /* Label */ |
Definition at line 37 of file tree.h.
Referenced by cb_emit_evaluate(), output_alter(), output_alter_check(), output_goto_1(), output_internal_function(), output_perform_call(), and output_stmt().
#define CB_PREFIX_SEQUENCE "s_" /* Collating sequence */ |
Definition at line 38 of file tree.h.
Referenced by output_alphabet_name_definition(), and output_param().
#define CB_PREFIX_STRING "st_" /* String */ |
Definition at line 39 of file tree.h.
Referenced by codegen(), output_internal_function(), output_section_info(), output_stmt(), and output_trace_info().
#define CB_PROGRAM | ( | x | ) | (CB_TREE_CAST (CB_TAG_PROGRAM, struct cb_program, x)) |
Definition at line 1328 of file tree.h.
Referenced by cb_find_defined_program_by_id(), cb_find_defined_program_by_name(), and end_scope_of_program_name().
#define CB_PROGRAM_TYPE 0 |
Definition at line 41 of file tree.h.
Referenced by codegen(), output_internal_function(), output_perform_exit(), set_up_program(), and yyparse().
Definition at line 1192 of file tree.h.
Referenced by build_decimal_assign(), build_nested_special(), cb_build_symbolic_chars(), cb_check_field_debug(), cb_emit_arithmetic(), cb_emit_divide(), cb_emit_sort_init(), cb_validate_program_body(), cb_validate_program_environment(), emit_entry(), output_entry_function(), output_internal_function(), and yyparse().
#define CB_PURPOSE_INT | ( | x | ) | (CB_INTEGER (CB_PURPOSE (x))->val) |
Definition at line 1197 of file tree.h.
Referenced by cb_build_expr(), cb_emit_call(), evaluate_test(), initialize_type(), output_call(), output_entry_function(), output_initialize_one(), and yyparse().
#define CB_REF_OR_FIELD_P | ( | x | ) | (CB_REFERENCE_P (x) || CB_FIELD_P (x)) |
Definition at line 743 of file tree.h.
Referenced by cb_build_add(), cb_build_binary_op(), cb_build_cond(), cb_build_div(), cb_build_intrinsic(), cb_build_length(), cb_build_mul(), cb_build_optim_add(), cb_build_optim_cond(), cb_build_optim_sub(), cb_build_sub(), cb_check_data_incompat(), cb_check_index_p(), cb_chk_alpha_cond(), cb_chk_num_cond(), cb_emit_accept(), cb_emit_display(), cb_emit_free(), cb_emit_release(), cb_emit_rewrite(), cb_emit_set_attribute(), cb_emit_write(), cb_validate_program_data(), expr_chk_cond(), output_call(), output_cond_debug(), output_funcall_debug(), search_set_keys(), and validate_inspect().
#define CB_REFERENCE | ( | x | ) | (CB_TREE_CAST (CB_TAG_REFERENCE, struct cb_reference, x)) |
Definition at line 901 of file tree.h.
Referenced by ambiguous_error(), cb_build_address(), cb_build_const_length(), cb_build_field_reference(), cb_build_field_tree(), cb_build_filler(), cb_build_identifier(), cb_build_length(), cb_build_move(), cb_check_field_debug(), cb_check_group_name(), cb_check_overlapping(), cb_define(), cb_emit_alter(), cb_emit_call(), cb_emit_display(), cb_emit_initialize(), cb_emit_move(), cb_emit_set_false(), cb_emit_set_true(), cb_field_size(), cb_fits_int(), cb_fits_long_long(), cb_name_1(), cb_ref(), cb_resolve_redefines(), cb_tree_category(), cb_validate_program_body(), evaluate_test(), global_check(), is_reference_with_value(), output(), output_alter(), output_attr(), output_call(), output_data(), output_figurative(), output_initialize(), output_initialize_compound(), output_initialize_literal(), output_initialize_one(), output_initialize_uniform(), output_param(), output_size(), output_stmt(), redefinition_error(), redefinition_warning(), undefined_error(), valid_screen_pos(), validate_inspect(), validate_move(), value_has_picture_clause(), value_is_numeric_field(), value_pic_has_no_scale(), warning_destination(), and yyparse().
#define CB_REFERENCE_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_REFERENCE) |
Definition at line 902 of file tree.h.
Referenced by cb_build_address(), cb_build_const_length(), cb_build_length(), cb_build_move(), cb_build_ppointer(), cb_check_group_name(), cb_check_numeric_edited_name(), cb_check_numeric_name(), cb_emit_allocate(), cb_emit_call(), cb_emit_initialize(), cb_emit_move(), cb_emit_set_false(), cb_emit_set_to(), cb_emit_set_true(), cb_validate_one(), cb_validate_program_data(), emit_default_displays_for_x_list(), evaluate_test(), is_reference_with_value(), is_screen_field(), output(), output_call(), output_figurative(), output_initialize_literal(), output_initialize_uniform(), search_set_keys(), set_up_func_prototype(), set_up_program(), validate_move(), and yyparse().
#define CB_REPORT | ( | x | ) | (CB_TREE_CAST (CB_TAG_REPORT, struct cb_report, x)) |
Definition at line 1228 of file tree.h.
Referenced by cb_validate_program_data(), and yyparse().
#define CB_REPORT_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_REPORT) |
#define CB_SEARCH | ( | x | ) | (CB_TREE_CAST (CB_TAG_SEARCH, struct cb_search, x)) |
Definition at line 1031 of file tree.h.
Referenced by output_stmt().
#define CB_SEARCH_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_SEARCH) |
#define CB_SET_ATTR | ( | x | ) | (CB_TREE_CAST (CB_TAG_SET_ATTR, struct cb_set_attr, x)) |
Definition at line 1176 of file tree.h.
Referenced by output_stmt().
#define CB_SET_ATTR_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_SET_ATTR) |
#define CB_SIZE_1 1 |
Definition at line 49 of file tree.h.
Referenced by cb_emit_call(), output_call_by_value_args(), output_entry_function(), and yyparse().
#define CB_SIZE_2 2 |
Definition at line 50 of file tree.h.
Referenced by cb_emit_call(), output_call_by_value_args(), output_entry_function(), and yyparse().
#define CB_SIZE_4 3 |
Definition at line 51 of file tree.h.
Referenced by cb_emit_call(), output_call_by_value_args(), output_entry_function(), and yyparse().
#define CB_SIZE_8 4 |
Definition at line 52 of file tree.h.
Referenced by cb_emit_call(), output_call_by_value_args(), output_entry_function(), and yyparse().
#define CB_SIZE_AUTO 0 |
Definition at line 48 of file tree.h.
Referenced by cb_emit_call(), output_call_by_value_args(), and yyparse().
#define CB_SIZE_UNSIGNED 8 |
Definition at line 53 of file tree.h.
Referenced by output_entry_function(), and yyparse().
Definition at line 1195 of file tree.h.
Referenced by output_entry_function(), and yyparse().
Definition at line 1199 of file tree.h.
Referenced by cb_emit_call(), output_call_by_value_args(), and output_entry_function().
#define CB_SIZES_INT_UNSIGNED | ( | x | ) | ((CB_LIST (x)->sizes) & CB_SIZE_UNSIGNED) |
Definition at line 1200 of file tree.h.
Referenced by cb_emit_call(), and output_call_by_value_args().
#define CB_STATEMENT | ( | x | ) | (CB_TREE_CAST (CB_TAG_STATEMENT, struct cb_statement, x)) |
Definition at line 1155 of file tree.h.
Referenced by build_evaluate(), cb_check_needs_break(), output_stmt(), and yyparse().
#define CB_STATEMENT_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_STATEMENT) |
Definition at line 1156 of file tree.h.
Referenced by build_evaluate(), and cb_check_needs_break().
#define CB_STRING | ( | x | ) | (CB_TREE_CAST (CB_TAG_STRING, struct cb_string, x)) |
#define CB_STRING_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_STRING) |
#define CB_SYSTEM_NAME | ( | x | ) | (CB_TREE_CAST (CB_TAG_SYSTEM_NAME, struct cb_system_name, x)) |
Definition at line 586 of file tree.h.
Referenced by cb_build_display_mnemonic(), cb_build_display_name(), cb_build_write_advancing_mnemonic(), cb_define_switch_name(), cb_emit_accept_mnemonic(), cb_emit_accept_name(), cb_emit_set_on_off(), and yyparse().
#define CB_SYSTEM_NAME_P | ( | x | ) | (CB_TREE_TAG (x) == CB_TAG_SYSTEM_NAME) |
Definition at line 587 of file tree.h.
Referenced by build_nested_special(), and yylex().
#define CB_TREE | ( | x | ) | ((struct cb_tree_common *) (x)) |
Definition at line 440 of file tree.h.
Referenced by ambiguous_error(), begin_implicit_statement(), begin_statement(), build_file(), build_report(), cb_build_alphabet_name(), cb_build_alphanumeric_literal(), cb_build_alter(), cb_build_assign(), cb_build_binary_op(), cb_build_call(), cb_build_cancel(), cb_build_cast(), cb_build_cast_int(), cb_build_cast_llint(), cb_build_class_name(), cb_build_comment(), cb_build_cond(), cb_build_continue(), cb_build_debug(), cb_build_debug_call(), cb_build_decimal(), cb_build_field(), cb_build_field_reference(), cb_build_field_tree(), cb_build_func_prototype(), cb_build_funcall(), cb_build_goto(), cb_build_if(), cb_build_initialize(), cb_build_label(), cb_build_list(), cb_build_locale_name(), cb_build_move(), cb_build_numeric_literal(), cb_build_numsize_literal(), cb_build_perform(), cb_build_perform_exit(), cb_build_perform_varying(), cb_build_picture(), cb_build_reference(), cb_build_replacing_characters(), cb_build_search(), cb_build_set_attribute(), cb_build_string(), cb_build_system_name(), cb_build_tallying_all(), cb_build_tallying_characters(), cb_build_tallying_leading(), cb_build_tallying_trailing(), cb_concat_literals(), cb_emit_allocate(), cb_emit_call(), cb_emit_close(), cb_emit_delete(), cb_emit_delete_file(), cb_emit_free(), cb_emit_goto(), cb_emit_initialize(), cb_emit_inspect(), cb_emit_move(), cb_emit_open(), cb_emit_read(), cb_emit_release(), cb_emit_rewrite(), cb_emit_set_attribute(), cb_emit_set_to(), cb_emit_sort_giving(), cb_emit_sort_using(), cb_emit_start(), cb_emit_write(), cb_int(), cb_resolve_redefines(), cb_tree_category(), cb_validate_78_item(), cb_validate_88_item(), cb_validate_program_data(), check_prototype_seen(), check_valid_key(), compute_size(), emit_entry(), evaluate_test(), initialize_type(), initialize_uniform_char(), make_constant(), make_constant_label(), make_intrinsic(), output_file_initialization(), output_screen_from(), output_screen_to(), output_section_info(), search_set_keys(), set_up_program(), set_up_use_file(), terminator_error(), validate_field_1(), validate_field_value(), validate_inspect(), warning_destination(), and yyparse().
#define CB_TREE_CATEGORY | ( | x | ) | cb_tree_category (CB_TREE (x)) |
Definition at line 443 of file tree.h.
Referenced by cb_build_binary_op(), cb_build_cond(), cb_build_move(), cb_build_move_field(), cb_build_move_high(), cb_build_move_literal(), cb_build_move_low(), cb_build_move_quote(), cb_build_move_space(), cb_build_move_zero(), cb_category_is_alpha(), cb_check_data_incompat(), cb_check_integer_value(), cb_check_numeric_edited_name(), cb_check_numeric_name(), cb_check_numeric_value(), cb_chk_alpha_cond(), cb_chk_num_cond(), cb_emit_inspect(), cb_tree_class(), cb_tree_type(), initialize_type(), output_call(), output_initialize_one(), and validate_move().
#define CB_TREE_CLASS | ( | x | ) | cb_tree_class (CB_TREE (x)) |
Definition at line 442 of file tree.h.
Referenced by cb_build_add(), cb_build_binary_op(), cb_build_cond(), cb_build_move(), cb_build_sub(), cb_chk_num_cond(), cb_emit_allocate(), cb_emit_call(), cb_emit_free(), cb_emit_set_to(), cb_name_1(), cb_validate_88_item(), codegen(), expr_reduce(), get_value(), literal_value(), lookup_literal(), output_attr(), output_call(), output_call_by_value_args(), output_data(), output_entry_function(), output_initialize_one(), output_stmt(), validate_move(), and yyparse().
Definition at line 441 of file tree.h.
Referenced by ambiguous_error(), cb_build_assignment_name(), cb_build_cond(), cb_check_integer_value(), cb_emit_display(), cb_emit_inspect(), cb_field_size(), cb_fits_int(), cb_fits_long_long(), cb_name_1(), cb_ref(), cb_tree_category(), cb_validate_program_body(), cobc_tree_cast_error(), decimal_expand(), make_intrinsic(), output_attr(), output_call(), output_call_by_value_args(), output_cond(), output_cond_debug(), output_data(), output_index(), output_integer(), output_long_integer(), output_param(), output_size(), output_stmt(), validate_inspect(), validate_move(), and yyparse().
#define CB_VALID_TREE | ( | x | ) | (x && CB_TREE (x) != cb_error_node) |
Definition at line 445 of file tree.h.
Referenced by cb_validate_88_item(), cb_validate_program_data(), emit_entry(), and yyparse().
Definition at line 1193 of file tree.h.
Referenced by ambiguous_error(), begin_scope_of_program_name(), build_cond_88(), build_decimal_assign(), build_evaluate(), build_nested_special(), cb_add_78(), cb_add_const_var(), cb_build_binary_list(), cb_build_expr(), cb_build_field_tree(), cb_build_identifier(), cb_build_intrinsic(), cb_build_section_name(), cb_build_symbolic_chars(), cb_check_field_debug(), cb_check_lit_subs(), cb_check_needs_break(), cb_emit_arithmetic(), cb_emit_call(), cb_emit_display(), cb_emit_divide(), cb_emit_free(), cb_emit_goto(), cb_emit_initialize(), cb_emit_move(), cb_emit_move_corresponding(), cb_emit_set_false(), cb_emit_set_on_off(), cb_emit_set_to(), cb_emit_set_true(), cb_emit_set_up_down(), cb_emit_sort_giving(), cb_emit_sort_init(), cb_emit_sort_using(), cb_emit_string(), cb_find_defined_program_by_id(), cb_find_defined_program_by_name(), cb_list_map(), cb_name_1(), cb_ref(), cb_resolve_redefines(), cb_validate_78_item(), cb_validate_88_item(), cb_validate_list(), cb_validate_program_body(), cb_validate_program_data(), cb_validate_program_environment(), check_picture_item(), codegen(), emit_entry(), evaluate_test(), finalize_file(), global_check(), make_intrinsic(), output_call(), output_class_name_definition(), output_cond(), output_data(), output_entry_function(), output_file_error(), output_funcall(), output_funcall_debug(), output_goto(), output_initialize_one(), output_internal_function(), output_param(), output_perform(), output_perform_until(), output_search_all(), output_search_whens(), output_stmt(), redefinition_error(), redefinition_warning(), valid_const_date_time_args(), validate_field_1(), validate_field_value(), warn_cannot_get_utc(), yylex(), and yyparse().
#define CB_WORD_COUNT | ( | x | ) | (CB_REFERENCE (x)->word->count) |
Definition at line 905 of file tree.h.
Referenced by cb_build_section_name(), cb_check_field_debug(), cb_define_system_name(), cb_ref(), cb_validate_program_data(), check_for_duplicate_prototype(), global_check(), yylex(), and yyparse().
#define CB_WORD_HASH_MASK (CB_WORD_HASH_SIZE - 1U) |
#define CB_WORD_ITEMS | ( | x | ) | (CB_REFERENCE (x)->word->items) |
Definition at line 906 of file tree.h.
Referenced by cb_build_section_name(), cb_check_field_debug(), yylex(), and yyparse().
#define CB_WORD_TABLE_SIZE (CB_WORD_HASH_SIZE * sizeof (struct cb_word)) |
Definition at line 871 of file tree.h.
Referenced by cb_build_program().
typedef struct cb_tree_common* cb_tree |
enum cb_cast_type |
Enumerator | |
---|---|
CB_CAST_INTEGER | |
CB_CAST_LONG_INT | |
CB_CAST_ADDRESS | |
CB_CAST_ADDR_OF_ADDR | |
CB_CAST_LENGTH | |
CB_CAST_PROGRAM_POINTER |
Definition at line 290 of file tree.h.
enum cb_category |
Definition at line 226 of file tree.h.
enum cb_class |
Enumerator | |
---|---|
CB_CLASS_UNKNOWN | |
CB_CLASS_ALPHABETIC | |
CB_CLASS_ALPHANUMERIC | |
CB_CLASS_BOOLEAN | |
CB_CLASS_INDEX | |
CB_CLASS_NATIONAL | |
CB_CLASS_NUMERIC | |
CB_CLASS_OBJECT | |
CB_CLASS_POINTER |
Definition at line 213 of file tree.h.
enum cb_intr_enum |
Definition at line 300 of file tree.h.
enum cb_perform_type |
Enumerator | |
---|---|
CB_PERFORM_EXIT | |
CB_PERFORM_ONCE | |
CB_PERFORM_TIMES | |
CB_PERFORM_UNTIL | |
CB_PERFORM_FOREVER |
Definition at line 408 of file tree.h.
enum cb_storage |
Enumerator | |
---|---|
CB_STORAGE_CONSTANT | |
CB_STORAGE_FILE | |
CB_STORAGE_WORKING | |
CB_STORAGE_LOCAL | |
CB_STORAGE_LINKAGE | |
CB_STORAGE_SCREEN | |
CB_STORAGE_REPORT | |
CB_STORAGE_COMMUNICATION |
Definition at line 243 of file tree.h.
Enumerator | |
---|---|
CB_DEVICE_NAME | |
CB_SWITCH_NAME | |
CB_FEATURE_NAME | |
CB_CALL_CONVENTION_NAME | |
CB_CODE_NAME | |
CB_COMPUTER_NAME | |
CB_ENTRY_CONVENTION_NAME | |
CB_EXTERNAL_LOCALE_NAME | |
CB_LIBRARY_NAME | |
CB_TEXT_NAME |
Definition at line 138 of file tree.h.
enum cb_tag |
Definition at line 61 of file tree.h.
enum cb_usage |
Definition at line 255 of file tree.h.
void ambiguous_error | ( | cb_tree | ) |
Definition at line 341 of file error.c.
References _, CB_CHAIN, cb_error_x(), CB_FIELD, CB_LABEL, cb_name(), CB_NAME, CB_REFERENCE, CB_TAG_FIELD, CB_TAG_LABEL, CB_TREE, CB_TREE_TAG, CB_VALUE, COB_NORMAL_BUFF, COB_NORMAL_MAX, cobc_main_malloc(), errnamebuff, cb_word::error, cb_word::items, cb_label::name, cb_word::name, cb_field::parent, and cb_label::section.
Referenced by cb_ref().
Definition at line 2344 of file tree.c.
References cb_file::access_mode, CB_CATEGORY_UNKNOWN, cb_define(), CB_LABEL, CB_TAG_FILE, cb_to_cname(), CB_TREE, cb_file::cname, COB_ACCESS_SEQUENTIAL, COB_ORG_SEQUENTIAL, current_program, cb_file::handler, cb_file::handler_prog, make_tree(), cb_file::name, and cb_file::organization.
Referenced by yyparse().
struct cb_literal* build_literal | ( | enum | cb_category, |
const void * | , | ||
const size_t | |||
) |
Definition at line 722 of file tree.c.
References CB_TAG_LITERAL, cobc_parse_malloc(), cb_literal::data, make_tree(), and cb_literal::size.
Referenced by cb_build_alphanumeric_literal(), cb_build_numeric_literal(), cb_build_numsize_literal(), and cb_validate_program_data().
Definition at line 2324 of file tree.c.
References CB_CATEGORY_UNKNOWN, cb_define(), CB_LABEL, CB_TAG_REPORT, cb_to_cname(), CB_TREE, cb_report::cname, COB_ACCESS_SEQUENTIAL, COB_ORG_SEQUENTIAL, current_program, make_tree(), and cb_report::name.
Referenced by yyparse().
void cb_add_78 | ( | struct cb_field * | ) |
Definition at line 4810 of file scanner.c.
References CB_VALUE, check_78_replace(), cb_level_78::chk_const, cob_u32_t, cobc_malloc(), const78ptr, current_program, cb_field::flag_is_global, cb_level_78::fld78, globlev78ptr, cb_level_78::globnext, cb_level_78::last, lev78ptr, cb_field::name, cb_level_78::name_len, cb_level_78::next, cb_level_78::pic_len, cb_level_78::pic_replace, cb_level_78::prog, and cb_field::values.
Referenced by cb_validate_78_item().
void cb_add_common_prog | ( | struct cb_program * | ) |
Definition at line 1469 of file tree.c.
References add_contained_prog(), cb_program::common_prog_list, and cb_program::nested_level.
Referenced by yyparse().
Definition at line 4015 of file typeck.c.
References build_store_option(), cb_build_binary_op(), CB_BUILD_FUNCALL_3, cb_build_move(), cb_build_optim_add(), CB_CLASS_POINTER, CB_FIELD_PTR, cb_fits_int(), cb_high, CB_INDEX_P, cb_int0, CB_REF_OR_FIELD_P, CB_TREE_CLASS, COB_POINTER_MANIP, cb_field::count, and optimize_defs.
Referenced by cb_build_perform_varying(), cb_emit_arithmetic(), cb_emit_set_up_down(), and yyparse().
Definition at line 1357 of file typeck.c.
References _, CB_ADD_TO_CHAIN, CB_BUILD_CAST_ADDRESS, cb_error_node, cb_error_x(), CB_FIELD, CB_FIELD_P, cb_list_length(), cb_one, cb_ref(), CB_REFERENCE, CB_REFERENCE_P, cb_warning_x(), cb_word::name, cb_reference::offset, cb_reference::subs, and cb_reference::word.
Referenced by cb_build_identifier(), and yyparse().
Definition at line 1605 of file tree.c.
References CB_CATEGORY_UNKNOWN, cb_define(), CB_TAG_ALPHABET_NAME, cb_to_cname(), CB_TREE, cb_alphabet_name::cname, make_tree(), cb_alphabet_name::name, and NULL.
Referenced by yyparse().
cb_tree cb_build_alphanumeric_literal | ( | const void * | , |
const size_t | |||
) |
Definition at line 1716 of file tree.c.
References build_literal(), CB_CATEGORY_ALPHANUMERIC, cb_source_file, cb_source_line, CB_TREE, cb_tree_common::source_file, and cb_tree_common::source_line.
Referenced by cb_build_assignment_name(), cb_build_registers(), cb_build_symbolic_chars(), cb_validate_collating(), finalize_file(), read_literal(), scan_define_options(), scan_x(), scan_z(), yylex(), and yyparse().
Definition at line 3101 of file tree.c.
References cb_program::alter_list, CB_BUILD_PAIR, CB_CATEGORY_UNKNOWN, cb_list_append(), CB_TAG_ALTER, CB_TREE, current_program, make_tree(), cb_alter::source, and cb_alter::target.
Referenced by cb_emit_alter().
Definition at line 3295 of file tree.c.
References lookup_intrinsic(), make_intrinsic(), and NULL.
Referenced by cb_build_length().
Definition at line 3014 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_ASSIGN, CB_TREE, make_tree(), cb_assign::val, and cb_assign::var.
Referenced by cb_build_length(), cb_build_move(), cb_build_move_literal(), cb_build_move_num_zero(), cb_build_optim_add(), and cb_build_optim_sub().
Definition at line 1276 of file typeck.c.
References _, CB_ASSIGN_IBM, CB_ASSIGN_MF, cb_build_alphanumeric_literal(), cb_error_node, cb_list_add(), CB_NAME, CB_TAG_LITERAL, CB_TAG_REFERENCE, CB_TREE_TAG, cb_warning(), current_program, cb_file::flag_ext_assign, NULL, cb_program::reference_list, and warningopt.
Referenced by yyparse().
Definition at line 2902 of file tree.c.
References cb_build_binary_op(), CB_CHAIN, and CB_VALUE.
Referenced by yyparse().
Definition at line 2827 of file tree.c.
References _, CB_CATEGORY_BOOLEAN, CB_CATEGORY_DATA_POINTER, CB_CATEGORY_NUMERIC, CB_CATEGORY_UNKNOWN, cb_check_numeric_value(), CB_CLASS_BOOLEAN, CB_CLASS_POINTER, cb_error_node, cb_error_x(), CB_FIELD, cb_ref(), CB_REF_OR_FIELD_P, CB_TAG_BINARY_OP, CB_TREE, CB_TREE_CATEGORY, CB_TREE_CLASS, COBC_ABORT, cobc_abort_pr(), make_tree(), cb_binary_op::op, cb_binary_op::x, and cb_binary_op::y.
Referenced by build_cond_88(), build_evaluate(), cb_build_add(), cb_build_binary_list(), cb_build_cond(), cb_build_div(), cb_build_length_1(), cb_build_mul(), cb_build_optim_add(), cb_build_optim_sub(), cb_build_search_all(), cb_build_sub(), cb_build_write_advancing_lines(), cb_expr_shift(), cb_expr_shift_sign(), evaluate_test(), expr_reduce(), and yyparse().
struct cb_picture* cb_build_binary_picture | ( | const char * | , |
const cob_u32_t | , | ||
const cob_u32_t | |||
) |
Definition at line 1783 of file tree.c.
References cb_picture::category, CB_CATEGORY_NUMERIC, CB_TAG_PICTURE, cobc_check_string(), cb_picture::digits, cb_picture::have_sign, make_tree(), cb_picture::orig, cb_picture::scale, sign, and cb_picture::size.
Referenced by validate_field_1().
cb_tree cb_build_call | ( | const cb_tree | , |
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cob_u32_t | , | ||
const int | |||
) |
Definition at line 3067 of file tree.c.
References cb_call::args, cb_call::call_returning, CB_CATEGORY_UNKNOWN, CB_TAG_CALL, CB_TREE, cb_call::convention, cb_call::is_system, make_tree(), cb_call::name, cb_call::stmt1, and cb_call::stmt2.
Referenced by cb_emit_call().
Definition at line 3088 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_CANCEL, CB_TREE, make_tree(), and cb_cancel::target.
Referenced by cb_emit_cancel().
Definition at line 2947 of file tree.c.
References cb_cast::cast_type, CB_CAST_INTEGER, CB_CATEGORY_NUMERIC, CB_CATEGORY_UNKNOWN, CB_TAG_CAST, CB_TREE, make_tree(), and cb_cast::val.
Definition at line 2964 of file tree.c.
References cb_cast::cast_type, CB_CAST_INTEGER, CB_CATEGORY_NUMERIC, CB_TAG_CAST, CB_TREE, make_tree(), and cb_cast::val.
Referenced by cb_build_identifier(), cb_build_move(), cb_build_optim_add(), cb_build_optim_cond(), cb_build_optim_sub(), cb_build_write_advancing_lines(), cb_emit_sort_init(), cb_emit_stop_run(), and output_goto().
Definition at line 2975 of file tree.c.
References cb_cast::cast_type, CB_CAST_LONG_INT, CB_CATEGORY_NUMERIC, CB_TAG_CAST, CB_TREE, make_tree(), and cb_cast::val.
Referenced by cb_build_move_literal(), cb_build_optim_cond(), decimal_expand(), and output_perform().
Definition at line 1622 of file tree.c.
References CB_CATEGORY_BOOLEAN, cb_define(), CB_TAG_CLASS_NAME, cb_to_cname(), CB_TREE, class_id, cb_class_name::cname, COB_MINI_BUFF, COB_MINI_MAX, cobc_main_malloc(), cobc_parse_strdup(), cb_class_name::list, make_tree(), cb_class_name::name, NULL, and scratch_buff.
Referenced by yyparse().
cb_tree cb_build_comment | ( | const char * | ) |
Definition at line 1540 of file tree.c.
References CB_CATEGORY_ALPHANUMERIC, cb_source_file, cb_source_line, CB_TAG_DIRECT, CB_TREE, cb_direct::line, and make_tree().
Referenced by build_evaluate(), cb_build_direct(), cb_emit_evaluate(), yylex(), and yyparse().
Definition at line 3737 of file typeck.c.
References _, cb_program::alphabet_name_list, build_cond_88(), cb_any, CB_BINARY_OP, CB_BINARY_OP_P, cb_build_binary_op(), CB_BUILD_CAST_ADDRESS, CB_BUILD_FUNCALL_2, CB_BUILD_FUNCALL_3, CB_BUILD_NEGATION, cb_build_optim_cond(), CB_CATEGORY_ALPHABETIC, CB_CATEGORY_ALPHANUMERIC, cb_chk_alpha_cond(), cb_chk_num_cond(), CB_CLASS_NUMERIC, CB_CLASS_POINTER, cb_error_node, cb_error_x(), cb_false, CB_FIELD_P, CB_FIELD_PTR, cb_field_size(), cb_fits_long_long(), cb_high, CB_INDEX_P, cb_int(), cb_list_reverse(), cb_low, cb_ref(), CB_REF_OR_FIELD_P, cb_space, CB_TAG_BINARY_OP, CB_TAG_CONST, CB_TAG_FUNCALL, CB_TAG_REFERENCE, CB_TREE, CB_TREE_CATEGORY, CB_TREE_CLASS, CB_TREE_TAG, cb_true, cb_zero, current_program, current_statement, d1, d2, decimal_alloc(), decimal_expand(), decimal_free(), dpush, cb_program::flag_debugging, cb_field::level, NULL, cb_binary_op::op, cb_binary_op::x, and cb_binary_op::y.
Referenced by build_evaluate(), cb_build_search_all(), and yyparse().
Definition at line 1730 of file typeck.c.
References _, cb_build_numeric_literal(), cb_error(), cb_error_node, CB_FIELD, cb_field_variable_size(), CB_INTEGER, CB_INTEGER_P, cb_ref(), CB_REFERENCE, CB_REFERENCE_P, cb_validate_field(), cb_field::flag_any_length, cb_field::level, cb_field::memory_size, cb_field::offset, cb_field::redefines, cb_field::rename_thru, and cb_field::size.
Referenced by yyparse().
Definition at line 2189 of file tree.c.
References cb_tree_common::category, cb_build_field(), CB_FIELD, CB_LIST_INIT, CB_STORAGE_CONSTANT, and cb_tree_category().
Referenced by build_nested_special(), cb_add_const_var(), cb_build_registers(), cb_build_symbolic_chars(), cb_define_switch_name(), and yyparse().
cb_tree cb_build_continue | ( | void | ) |
Definition at line 3214 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_CONTINUE, CB_TREE, and make_tree().
Referenced by cb_emit_continue().
Definition at line 5954 of file typeck.c.
References CB_BUILD_FUNCALL_2, cb_list_add(), and validate_inspect().
Referenced by yyparse().
Definition at line 1566 of file tree.c.
References CB_CATEGORY_ALPHANUMERIC, CB_FIELD_PTR, cb_source_file, cb_source_line, CB_TAG_DEBUG, CB_TREE, cobc_parse_strdup(), cb_debug::fld, make_tree(), NULL, cb_debug::size, cb_debug::target, and cb_debug::value.
Referenced by cb_build_perform_varying(), cb_check_field_debug(), cb_emit_close(), cb_emit_open(), cb_emit_perform(), cb_emit_read(), cb_emit_rewrite(), cb_emit_sort_input(), cb_emit_sort_output(), cb_emit_write(), emit_entry(), output_alter(), output_cond_debug(), output_file_error(), output_funcall_debug(), output_goto(), output_goto_1(), output_perform(), output_perform_call(), output_perform_until(), output_stmt(), and yyparse().
Definition at line 1590 of file tree.c.
References CB_CATEGORY_ALPHANUMERIC, cb_source_file, cb_source_line, CB_TAG_DEBUG_CALL, CB_TREE, make_tree(), and cb_debug_call::target.
Referenced by cb_build_perform_varying(), cb_check_field_debug(), cb_emit_close(), cb_emit_open(), cb_emit_read(), cb_emit_rewrite(), and cb_emit_write().
void cb_build_debug_item | ( | void | ) |
Definition at line 2243 of file typeck.c.
References cb_build_field_tree(), cb_build_filler(), cb_build_picture(), cb_build_reference(), CB_FIELD, CB_FIELD_ADD, CB_LIST_INIT, CB_PICTURE, cb_space, CB_STORAGE_WORKING, cb_validate_field(), current_program, NULL, and cb_program::working_storage.
Referenced by yyparse().
cb_tree cb_build_decimal | ( | const int | ) |
Definition at line 1770 of file tree.c.
References CB_CATEGORY_NUMERIC, CB_TAG_DECIMAL, CB_TREE, cb_decimal::id, and make_tree().
Referenced by decimal_alloc().
cb_tree cb_build_direct | ( | const char * | , |
const unsigned | int | ||
) |
Definition at line 1553 of file tree.c.
References cb_build_comment(), and CB_DIRECT.
Referenced by cb_check_needs_break(), and cb_emit_evaluate().
Definition at line 5340 of file typeck.c.
References _, CB_DEVICE_CONSOLE, CB_DEVICE_SYSERR, CB_DEVICE_SYSOUT, cb_error_node, cb_error_x(), cb_int0, cb_int1, cb_ref(), and CB_SYSTEM_NAME.
Referenced by yyparse().
Definition at line 5362 of file typeck.c.
References _, CB_DEVICE_CONSOLE, CB_DEVICE_SYSERR, CB_DEVICE_SYSOUT, cb_error_node, cb_error_x(), cb_int0, cb_int1, CB_NAME, CB_SYSTEM_NAME, cb_warning_x(), lookup_system_name(), and cb_file::name.
Referenced by yyparse().
Definition at line 3136 of file typeck.c.
References CB_CHAIN, CB_CLASS_NAME, cb_expr_finish(), cb_expr_init(), cb_expr_shift(), cb_expr_shift_class(), cb_expr_shift_sign(), CB_PURPOSE_INT, cb_ref(), CB_VALUE, current_statement, NULL, cb_statement::null_check, and cb_binary_op::op.
Referenced by yyparse().
Definition at line 2159 of file tree.c.
References CB_CATEGORY_UNKNOWN, cb_define(), cb_field_id, CB_STORAGE_WORKING, CB_TAG_FIELD, CB_TREE, CB_USAGE_DISPLAY, cb_field::ename, cb_field::id, make_tree(), cb_field::name, NULL, cb_field::occurs_max, cb_field::storage, and cb_field::usage.
Referenced by cb_build_constant(), cb_build_field_tree(), cb_build_implicit_field(), cb_build_index(), cb_build_registers(), cb_validate_program_data(), and finalize_file().
Definition at line 2604 of file tree.c.
References cb_tree_common::category, cb_build_reference(), CB_CATEGORY_UNKNOWN, CB_REFERENCE, CB_TREE, and cb_field::name.
Referenced by build_cond_88(), cb_build_identifier(), cb_build_length_1(), cb_emit_read(), cb_emit_return(), cb_emit_set_false(), cb_emit_set_true(), cb_validate_program_data(), emit_corresponding(), emit_move_corresponding(), finalize_file(), output_initial_values(), output_initialize(), output_initialize_compound(), output_param(), and output_screen_init().
cb_tree cb_build_field_tree | ( | cb_tree | , |
cb_tree | , | ||
struct cb_field * | , | ||
enum | cb_storage, | ||
struct cb_file * | , | ||
const int | |||
) |
Definition at line 90 of file field.c.
References _, cb_build_field(), cb_build_filler(), CB_CHAIN, cb_error_node, cb_error_x(), CB_FIELD, cb_field_founder(), CB_FIELD_P, cb_get_level(), cb_needs_01, CB_REFERENCE, CB_STORAGE_FILE, CB_TREE, CB_VALUE, cb_warning_x(), cb_field::children, cb_word::count, current_program, cb_field::flag_external, cb_file::flag_external, cb_field::flag_filler, cb_reference::flag_filler_ref, cb_file::flag_global, cb_program::flag_has_external, cb_field::flag_is_global, cb_field::flag_item_78, cb_field::flag_sign_leading, cb_field::flag_sign_separate, cb_field::indexes, cb_word::items, cb_field::level, NULL, cb_field::parent, redefinition_warning(), cb_field::sister, cb_field::storage, cb_field::usage, and cb_reference::word.
Referenced by cb_build_debug_item(), and yyparse().
cb_tree cb_build_filler | ( | void | ) |
Definition at line 2591 of file tree.c.
References cb_build_reference(), CB_REFERENCE, cb_source_line, filler_id, and cb_tree_common::source_line.
Referenced by cb_build_debug_item(), cb_build_field_tree(), cb_build_length(), and yyparse().
Definition at line 3265 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_LITERAL, CB_LITERAL_P, CB_NAME, CB_TAG_FUNC_PROTOTYPE, CB_TREE, check_prototype_seen(), cb_func_prototype::ext_name, make_tree(), and cb_func_prototype::name.
Referenced by set_up_func_prototype().
cb_tree cb_build_funcall | ( | const char * | , |
const int | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | |||
) |
Definition at line 2916 of file tree.c.
References cb_funcall::argc, cb_funcall::argv, CB_CATEGORY_BOOLEAN, CB_TAG_FUNCALL, CB_TREE, gen_screen_ptr, make_tree(), cb_funcall::name, cb_funcall::screenptr, and cb_funcall::varcnt.
Definition at line 3118 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_GOTO, CB_TREE, cb_goto::depending, make_tree(), and cb_goto::target.
Referenced by cb_emit_exit(), cb_emit_goto(), and yyparse().
Definition at line 1426 of file typeck.c.
References _, CB_ADD_TO_CHAIN, CB_BINARY_OP, CB_BINARY_OP_P, cb_build_address(), cb_build_cast_int(), CB_BUILD_CAST_LENGTH, cb_build_field_reference(), CB_BUILD_FUNCALL_2, CB_BUILD_FUNCALL_3, CB_BUILD_FUNCALL_4, cb_build_reference(), CB_BUILD_STRING0, CB_CHAIN, cb_check_integer_value(), cb_check_lit_subs(), cb_error_node, cb_error_x(), CB_EXCEPTION_ENABLE, CB_FIELD, cb_field_founder(), CB_FIELD_P, CB_FIELD_PTR, cb_get_int(), cb_int(), cb_int1, cb_list_add(), cb_list_length(), cb_list_reverse(), CB_LITERAL_P, cb_one, cb_ref(), CB_REFERENCE, CB_STORAGE_CONSTANT, CB_STORAGE_LINKAGE, CB_USAGE_NATIONAL, CB_VALUE, cb_warning_x(), cb_reference::check, cb_field::children, COB_EC_BOUND_REF_MOD, COB_EC_BOUND_SUBSCRIPT, COB_EC_DATA_PTR_NULL, COB_EC_PROGRAM_ARG_OMITTED, COB_MAX_WORDLEN, current_statement, cb_field::depending, cb_reference::flag_all, cb_field::flag_any_length, cb_field::flag_is_pdiv_opt, cb_field::flag_is_pdiv_parm, cb_field::flag_item_based, cb_statement::flag_no_based, cb_field::flag_occurs, cb_field::indexes, cb_reference::length, cb_field::mem_offset, cb_field::name, cb_word::name, NULL, cb_statement::null_check, cb_field::occurs_max, cb_field::occurs_min, cb_field::odo_level, cb_field::offset, cb_reference::offset, cb_field::parent, cb_field::redefines, cb_field::size, cb_field::storage, cb_reference::subs, unlikely, cb_field::usage, cb_field::values, and cb_reference::word.
Referenced by yyparse().
Definition at line 3132 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_IF, CB_TREE, cb_if::is_if, make_tree(), cb_if::stmt1, cb_if::stmt2, and cb_if::test.
Referenced by build_evaluate(), cb_build_if_check_break(), cb_emit_if(), and cb_emit_search_all().
Definition at line 5671 of file typeck.c.
References cb_build_if(), cb_check_needs_break(), and NULL.
Referenced by yyparse().
Definition at line 2175 of file tree.c.
References cb_build_field(), cb_build_picture(), CB_FIELD, CB_PICTURE, cb_validate_field(), and cb_field::pic.
Referenced by cb_validate_program_data(), and finalize_file().
Definition at line 1337 of file typeck.c.
References cb_build_field(), CB_FIELD, CB_FIELD_ADD, CB_LIST_INIT, CB_USAGE_INDEX, cb_validate_field(), current_program, cb_field::flag_indexed_by, cb_field::index_qual, cb_field::usage, cb_field::values, and cb_program::working_storage.
Referenced by cb_build_length(), cb_build_registers(), and yyparse().
cb_tree cb_build_initialize | ( | const cb_tree | , |
const cb_tree | , | ||
const cb_tree | , | ||
const unsigned | int, | ||
const unsigned | int, | ||
const unsigned | int | ||
) |
Definition at line 3028 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_INITIALIZE, CB_TREE, cob_u8_t, cb_initialize::flag_default, cb_initialize::flag_init_statement, cb_initialize::flag_no_filler_init, make_tree(), cb_initialize::rep, cb_initialize::val, and cb_initialize::var.
Referenced by cb_emit_allocate(), cb_emit_initialize(), and output_initial_values().
cb_tree cb_build_inspect_region_start | ( | void | ) |
Definition at line 5961 of file typeck.c.
References CB_BUILD_FUNCALL_0, and CB_LIST_INIT.
Referenced by yyparse().
Definition at line 3304 of file tree.c.
References _, cb_intrinsic_table::args, cb_build_length(), CB_CATEGORY_NUMERIC, CB_CATEGORY_NUMERIC_EDITED, cb_error_node, cb_error_x(), cb_get_int(), CB_INTR_ABS, CB_INTR_ACOS, CB_INTR_ANNUITY, CB_INTR_ASIN, CB_INTR_ATAN, CB_INTR_BOOLEAN_OF_INTEGER, CB_INTR_BYTE_LENGTH, CB_INTR_CHAR, CB_INTR_CHAR_NATIONAL, CB_INTR_COMBINED_DATETIME, CB_INTR_CONCATENATE, CB_INTR_COS, CB_INTR_CURRENCY_SYMBOL, CB_INTR_CURRENT_DATE, CB_INTR_DATE_OF_INTEGER, CB_INTR_DATE_TO_YYYYMMDD, CB_INTR_DAY_OF_INTEGER, CB_INTR_DAY_TO_YYYYDDD, CB_INTR_DISPLAY_OF, CB_INTR_E, CB_INTR_EXCEPTION_FILE, CB_INTR_EXCEPTION_FILE_N, CB_INTR_EXCEPTION_LOCATION, CB_INTR_EXCEPTION_LOCATION_N, CB_INTR_EXCEPTION_STATEMENT, CB_INTR_EXCEPTION_STATUS, CB_INTR_EXP, CB_INTR_EXP10, CB_INTR_FACTORIAL, CB_INTR_FORMATTED_CURRENT_DATE, CB_INTR_FORMATTED_DATE, CB_INTR_FORMATTED_DATETIME, CB_INTR_FORMATTED_TIME, CB_INTR_FRACTION_PART, CB_INTR_HIGHEST_ALGEBRAIC, CB_INTR_INTEGER, CB_INTR_INTEGER_OF_BOOLEAN, CB_INTR_INTEGER_OF_DATE, CB_INTR_INTEGER_OF_DAY, CB_INTR_INTEGER_OF_FORMATTED_DATE, CB_INTR_INTEGER_PART, CB_INTR_LENGTH, CB_INTR_LOCALE_COMPARE, CB_INTR_LOCALE_DATE, CB_INTR_LOCALE_TIME, CB_INTR_LOCALE_TIME_FROM_SECS, CB_INTR_LOG, CB_INTR_LOG10, CB_INTR_LOWER_CASE, CB_INTR_LOWEST_ALGEBRAIC, CB_INTR_MAX, CB_INTR_MEAN, CB_INTR_MEDIAN, CB_INTR_MIDRANGE, CB_INTR_MIN, CB_INTR_MOD, CB_INTR_MODULE_CALLER_ID, CB_INTR_MODULE_DATE, CB_INTR_MODULE_FORMATTED_DATE, CB_INTR_MODULE_ID, CB_INTR_MODULE_PATH, CB_INTR_MODULE_SOURCE, CB_INTR_MODULE_TIME, CB_INTR_MON_DECIMAL_POINT, CB_INTR_MON_THOUSANDS_SEP, CB_INTR_NATIONAL_OF, CB_INTR_NUM_DECIMAL_POINT, CB_INTR_NUM_THOUSANDS_SEP, CB_INTR_NUMVAL, CB_INTR_NUMVAL_C, CB_INTR_NUMVAL_F, CB_INTR_ORD, CB_INTR_ORD_MAX, CB_INTR_ORD_MIN, CB_INTR_PI, CB_INTR_PRESENT_VALUE, CB_INTR_RANDOM, CB_INTR_RANGE, CB_INTR_REM, CB_INTR_REVERSE, CB_INTR_SECONDS_FROM_FORMATTED_TIME, CB_INTR_SECONDS_PAST_MIDNIGHT, CB_INTR_SIGN, CB_INTR_SIN, CB_INTR_SQRT, CB_INTR_STANDARD_COMPARE, CB_INTR_STANDARD_DEVIATION, CB_INTR_STORED_CHAR_LENGTH, CB_INTR_SUBSTITUTE, CB_INTR_SUBSTITUTE_CASE, CB_INTR_SUM, CB_INTR_TAN, CB_INTR_TEST_DATE_YYYYMMDD, CB_INTR_TEST_DAY_YYYYDDD, CB_INTR_TEST_FORMATTED_DATETIME, CB_INTR_TEST_NUMVAL, CB_INTR_TEST_NUMVAL_C, CB_INTR_TEST_NUMVAL_F, CB_INTR_TRIM, CB_INTR_UPPER_CASE, CB_INTR_VARIANCE, CB_INTR_WHEN_COMPILED, cb_intr_whencomp, CB_INTR_YEAR_TO_YYYY, CB_LIST_INIT, cb_list_length(), CB_LITERAL_P, CB_NAME, CB_PAIR_X, CB_PAIR_Y, CB_REF_OR_FIELD_P, cb_tree_category(), CB_VALUE, current_program, cb_intrinsic_table::implemented, cb_intrinsic_table::intr_enum, iso_8601_func(), lookup_intrinsic(), make_intrinsic(), cb_program::max_call_param, cb_intrinsic_table::min_args, cb_intrinsic_table::name, NULL, cb_intrinsic_table::refmod, unlikely, valid_const_date_time_args(), and warn_cannot_get_utc().
Referenced by yyparse().
Definition at line 2988 of file tree.c.
References CB_CATEGORY_UNKNOWN, cb_define(), cb_id, CB_TAG_LABEL, CB_TREE, cobc_parse_malloc(), cb_label::id, make_tree(), cb_label::name, cb_para_label::next, cb_label::orig_name, cb_para_label::para, cb_label::para_label, cb_label::section, and cb_label::section_id.
Referenced by emit_entry(), make_constant_label(), and yyparse().
Definition at line 1781 of file typeck.c.
References cb_build_any_intrinsic(), cb_build_assign(), cb_build_filler(), cb_build_index(), cb_build_length_1(), cb_build_numeric_literal(), cb_emit, cb_error_node, CB_FIELD, cb_field_size(), cb_field_variable_size(), CB_INTRINSIC_P, CB_LIST_INIT, CB_LITERAL, CB_LITERAL_P, cb_ref(), CB_REF_OR_FIELD_P, CB_REFERENCE, CB_REFERENCE_P, CB_USAGE_LENGTH, cb_field::flag_any_length, NULL, and cb_literal::size.
Referenced by cb_build_intrinsic(), and yyparse().
Definition at line 1293 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_LIST, CB_TREE, cb_list::chain, make_tree(), cb_list::purpose, value, and cb_list::value.
Referenced by yyparse().
Definition at line 1645 of file tree.c.
References _, CB_CATEGORY_UNKNOWN, cb_define(), cb_error(), cb_error_node, CB_LITERAL_P, CB_NUMERIC_LITERAL_P, CB_TAG_LOCALE_NAME, cb_to_cname(), CB_TREE, cb_class_name::cname, cb_class_name::list, make_tree(), cb_class_name::name, and NULL.
Referenced by yyparse().
Definition at line 7333 of file typeck.c.
References CB_ALPHABET_NAME_P, cb_build_assign(), cb_build_cast_int(), CB_BUILD_FUNCALL_2, cb_build_move_field(), cb_build_move_high(), cb_build_move_literal(), cb_build_move_low(), cb_build_move_quote(), cb_build_move_space(), cb_build_move_zero(), CB_CATEGORY_NUMERIC, CB_CATEGORY_NUMERIC_EDITED, CB_CLASS_POINTER, cb_error_node, cb_high, CB_INDEX_P, CB_INTRINSIC_P, CB_LITERAL_P, cb_low, cb_null, cb_quote, CB_REFERENCE, CB_REFERENCE_P, cb_space, CB_TREE, CB_TREE_CATEGORY, CB_TREE_CLASS, cb_zero, check, cobc_parse_malloc(), cb_reference::flag_receiving, validate_move(), and value.
Referenced by cb_build_add(), cb_build_div(), cb_build_mul(), cb_build_sub(), cb_check_field_debug(), cb_emit_close(), cb_emit_move(), cb_emit_open(), cb_emit_read(), cb_emit_release(), cb_emit_return(), cb_emit_rewrite(), cb_emit_set_false(), cb_emit_set_to(), cb_emit_set_true(), cb_emit_write(), emit_move_corresponding(), and output_move().
cb_tree cb_build_numeric_literal | ( | const int | , |
const void * | , | ||
const int | |||
) |
Definition at line 1681 of file tree.c.
References build_literal(), CB_CATEGORY_NUMERIC, cb_source_file, cb_source_line, CB_TREE, cb_literal::scale, cb_literal::sign, cb_tree_common::source_file, and cb_tree_common::source_line.
Referenced by cb_build_const_length(), cb_build_length(), cb_emit_allocate(), cb_init_constants(), scan_b(), scan_define_options(), scan_floating_numeric(), scan_h(), scan_numeric(), scan_o(), yylex(), and yyparse().
cb_tree cb_build_numsize_literal | ( | const void * | , |
const size_t | , | ||
const int | |||
) |
Definition at line 1699 of file tree.c.
References build_literal(), CB_CATEGORY_NUMERIC, cb_source_file, cb_source_line, CB_TREE, cb_literal::sign, cb_tree_common::source_file, and cb_tree_common::source_line.
Referenced by cb_check_lit_subs().
cb_tree cb_build_perform | ( | const enum | cb_perform_type | ) |
Definition at line 3149 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_PERFORM, CB_TREE, make_tree(), and cb_perform::perform_type.
Referenced by cb_build_perform_exit(), cb_build_perform_forever(), cb_build_perform_once(), cb_build_perform_times(), and cb_build_perform_until().
Definition at line 7574 of file typeck.c.
References cb_build_perform(), CB_PERFORM, CB_PERFORM_EXIT, and CB_TREE.
Referenced by yyparse().
Definition at line 7561 of file typeck.c.
References cb_build_perform(), cb_error_node, CB_PERFORM, and CB_PERFORM_FOREVER.
Referenced by yyparse().
Definition at line 7523 of file typeck.c.
References cb_build_perform(), cb_error_node, CB_PERFORM, and CB_PERFORM_ONCE.
Referenced by cb_emit_sort_input(), cb_emit_sort_output(), and yyparse().
Definition at line 7536 of file typeck.c.
References cb_build_perform(), cb_check_integer_value(), cb_error_node, CB_PERFORM, and CB_PERFORM_TIMES.
Referenced by yyparse().
Definition at line 7550 of file typeck.c.
References cb_build_perform(), CB_PERFORM, and CB_PERFORM_UNTIL.
Referenced by yyparse().
Definition at line 3160 of file tree.c.
References cb_build_add(), cb_build_debug(), cb_build_debug_call(), CB_CATEGORY_UNKNOWN, cb_debug_contents, cb_debug_name, CB_FIELD, CB_FIELD_P, CB_FIELD_PTR, cb_list_add(), CB_LIST_INIT, cb_ref(), CB_TAG_PERFORM_VARYING, CB_TREE, current_program, current_statement, cb_program::flag_debugging, cb_statement::flag_in_debug, cb_perform_varying::from, make_tree(), cb_perform_varying::name, NULL, cb_perform_varying::step, and cb_perform_varying::until.
Referenced by yyparse().
cb_tree cb_build_picture | ( | const char * | ) |
Definition at line 1800 of file tree.c.
References _, cb_picture::category, CB_CATEGORY_ALPHABETIC, CB_CATEGORY_ALPHANUMERIC, CB_CATEGORY_ALPHANUMERIC_EDITED, CB_CATEGORY_NUMERIC, CB_CATEGORY_NUMERIC_EDITED, CB_CATEGORY_UNKNOWN, cb_error(), CB_TAG_PICTURE, CB_TREE, COB_MAX_DIGITS, COB_NATIONAL_SIZE, COB_SMALL_BUFF, cob_u32_t, cobc_check_string(), cobc_main_malloc(), cobc_parse_malloc(), cb_program::currency_symbol, current_program, cb_program::decimal_point, cb_picture::digits, cb_picture::have_sign, cb_picture::lenstr, make_tree(), cb_picture::orig, PIC_ALPHABETIC, PIC_ALPHABETIC_EDITED, PIC_ALPHANUMERIC, PIC_ALPHANUMERIC_EDITED, pic_buff, PIC_EDITED, PIC_NATIONAL, PIC_NATIONAL_EDITED, PIC_NUMERIC, PIC_NUMERIC_EDITED, cb_picture::real_digits, cb_picture::scale, cb_picture::size, and cb_picture::str.
Referenced by cb_build_debug_item(), cb_build_implicit_field(), cb_build_registers(), cb_validate_program_data(), check_picture_item(), scan_picture(), setup_parameters(), and validate_field_1().
Definition at line 1824 of file typeck.c.
References CB_BUILD_CAST_PPOINTER, cb_error_node, CB_FIELD_PTR, cb_ref(), CB_REFERENCE_P, and cb_field::count.
Referenced by yyparse().
struct cb_program* cb_build_program | ( | struct cb_program * | , |
const int | |||
) |
Definition at line 1400 of file tree.c.
References add_contained_prog(), cb_program::alphabet_name_list, cb_tree_common::category, CB_CATEGORY_UNKNOWN, cb_clear_real_field(), CB_FIELD_PTR, cb_flag_functions_all, cb_reset_78(), cb_reset_global_78(), cb_program::cb_return_code, CB_TAG_PROGRAM, CB_WORD_TABLE_SIZE, cb_program::class_name_list, cb_program::class_spec_list, cb_program::classification, cobc_cs_check, cobc_in_procedure, cobc_in_repository, cobc_parse_malloc(), cb_program::collating_sequence, cb_program::common, cb_program::currency_symbol, cb_program::decimal_point, cb_program::flag_console_is_crt, cb_program::flag_trailing_separate, cb_program::function_spec_list, functions_are_all, cb_program::global_file_list, cb_program::interface_spec_list, cb_program::locale_list, cb_program::mnemonic_spec_list, cb_program::nested_level, cb_program::nested_prog_list, cb_program::next_program, cb_program::numeric_separator, cb_program::program_spec_list, cb_program::property_spec_list, cb_program::symbolic_char_list, cb_tree_common::tag, toplev_count, cb_program::toplev_count, cb_program::user_spec_list, and cb_program::word_table.
Referenced by set_up_program(), and yyparse().
Definition at line 1190 of file typeck.c.
References cb_encode_program_id(), CB_LITERAL, CB_LITERAL_P, CB_NAME, cob_u8_t, cobc_check_valid_name(), cobc_strdup(), current_program, cb_program::orig_program_id, and cb_program::program_name.
Referenced by set_up_program(), and yyparse().
cb_tree cb_build_reference | ( | const char * | ) |
Definition at line 2572 of file tree.c.
References CB_CATEGORY_UNKNOWN, cb_source_file, cb_source_line, CB_TAG_REFERENCE, CB_TREE, lookup_word(), make_tree(), cb_tree_common::source_file, and cb_tree_common::source_line.
Referenced by build_nested_special(), cb_add_const_var(), cb_build_debug_item(), cb_build_field_reference(), cb_build_filler(), cb_build_identifier(), cb_build_registers(), cb_define_system_name(), cb_validate_program_data(), emit_entry(), finalize_file(), make_constant_label(), set_up_func_prototype(), yylex(), and yyparse().
void cb_build_registers | ( | void | ) |
Definition at line 1051 of file typeck.c.
References cb_build_alphanumeric_literal(), cb_build_constant(), cb_build_field(), cb_build_index(), cb_build_picture(), cb_build_reference(), cb_program::cb_call_params, CB_FIELD_ADD, CB_FIELD_PTR, cb_intr_whencomp, CB_LIST_INIT, CB_PICTURE, cb_program::cb_return_code, cb_program::cb_sort_return, CB_USAGE_BINARY, cb_validate_field(), cb_zero, current_program, cb_program::nested_level, NULL, and cb_program::working_storage.
Referenced by set_up_program(), and yyparse().
Definition at line 5926 of file typeck.c.
References CB_BUILD_FUNCALL_2, cb_list_add(), and validate_inspect().
Referenced by yyparse().
Definition at line 5916 of file typeck.c.
References _, CB_BUILD_FUNCALL_1, cb_error_x(), cb_list_add(), CB_LITERAL, CB_LITERAL_P, CB_TREE, and current_statement.
Referenced by yyparse().
Definition at line 5940 of file typeck.c.
References CB_BUILD_FUNCALL_2, cb_list_add(), and validate_inspect().
Referenced by yyparse().
Definition at line 5933 of file typeck.c.
References CB_BUILD_FUNCALL_2, cb_list_add(), and validate_inspect().
Referenced by yyparse().
Definition at line 5947 of file typeck.c.
References CB_BUILD_FUNCALL_2, cb_list_add(), and validate_inspect().
Referenced by yyparse().
cb_tree cb_build_search | ( | const int | , |
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | , | ||
const cb_tree | |||
) |
Definition at line 3049 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_SEARCH, CB_TREE, cb_search::end_stmt, cb_search::flag_all, make_tree(), cb_search::table, cb_search::var, and cb_search::whens.
Referenced by cb_emit_search(), and cb_emit_search_all().
Definition at line 1251 of file typeck.c.
References cb_error_node, CB_LABEL, CB_LABEL_P, CB_VALUE, CB_WORD_COUNT, CB_WORD_ITEMS, and redefinition_error().
Referenced by yyparse().
Definition at line 3226 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_SET_ATTR, CB_TREE, cb_set_attr::fld, make_tree(), cb_set_attr::val_off, and cb_set_attr::val_on.
Referenced by cb_emit_set_attribute().
struct cb_statement* cb_build_statement | ( | const char * | ) |
Definition at line 3201 of file tree.c.
References CB_CATEGORY_UNKNOWN, CB_TAG_STATEMENT, make_tree(), and cb_statement::name.
Referenced by begin_implicit_statement(), and begin_statement().
cb_tree cb_build_string | ( | const void * | , |
const size_t | |||
) |
Definition at line 1526 of file tree.c.
References CB_CATEGORY_ALPHANUMERIC, CB_TAG_STRING, CB_TREE, cb_string::data, make_tree(), and cb_string::size.
Referenced by cb_build_move_literal().
Definition at line 4058 of file typeck.c.
References build_store_option(), cb_build_binary_op(), CB_BUILD_FUNCALL_3, cb_build_move(), cb_build_optim_sub(), CB_CLASS_POINTER, CB_FIELD_PTR, cb_fits_int(), CB_INDEX_P, cb_int0, cb_int1, CB_REF_OR_FIELD_P, CB_TREE_CLASS, COB_POINTER_MANIP, cb_field::count, and optimize_defs.
Referenced by cb_emit_arithmetic(), cb_emit_set_up_down(), and yyparse().
Definition at line 2289 of file tree.c.
References cb_alphabet_name::alphachr, CB_ALPHABET_NAME, cb_build_alphanumeric_literal(), cb_build_constant(), CB_CHAIN, CB_FIELD, cb_get_int(), CB_LITERAL, CB_PURPOSE, cb_validate_78_item(), CB_VALUE, and NULL.
Referenced by cb_validate_program_environment().
cb_tree cb_build_system_name | ( | const enum | cb_system_name_category, |
const int | |||
) |
Definition at line 1667 of file tree.c.
References cb_system_name::category, CB_CATEGORY_UNKNOWN, CB_TAG_SYSTEM_NAME, CB_TREE, make_tree(), and cb_system_name::token.
Referenced by lookup_system_name().
cb_tree cb_build_tallying_all | ( | void | ) |
Definition at line 5874 of file typeck.c.
References _, cb_error_x(), CB_TREE, current_statement, inspect_func, and NULL.
Referenced by yyparse().
Definition at line 5863 of file typeck.c.
References _, CB_BUILD_FUNCALL_1, cb_error_x(), cb_list_add(), CB_TREE, current_statement, inspect_func, and NULL.
Referenced by yyparse().
Definition at line 5856 of file typeck.c.
References NULL.
Referenced by yyparse().
cb_tree cb_build_tallying_leading | ( | void | ) |
Definition at line 5885 of file typeck.c.
References _, cb_error_x(), CB_TREE, current_statement, inspect_func, and NULL.
Referenced by yyparse().
cb_tree cb_build_tallying_trailing | ( | void | ) |
Definition at line 5896 of file typeck.c.
References _, cb_error_x(), CB_TREE, current_statement, inspect_func, and NULL.
Referenced by yyparse().
Definition at line 5907 of file typeck.c.
References _, CB_BUILD_FUNCALL_2, cb_error_x(), cb_list_add(), cb_name(), inspect_func, and NULL.
Referenced by yyparse().
Definition at line 8578 of file typeck.c.
References CB_BUILD_FUNCALL_2, cb_error_node, and cb_validate_one().
Referenced by yyparse().
Definition at line 8587 of file typeck.c.
References CB_BUILD_FUNCALL_3, cb_error_node, cb_int0, cb_validate_one(), and NULL.
Referenced by yyparse().
Definition at line 8685 of file typeck.c.
References CB_BEFORE, cb_build_binary_op(), cb_build_cast_int(), cb_get_int(), cb_int(), cb_int_hex(), CB_LITERAL_P, COB_WRITE_AFTER, COB_WRITE_BEFORE, and COB_WRITE_LINES.
Referenced by yyparse().
Definition at line 8701 of file typeck.c.
References _, CB_BEFORE, cb_error_node, cb_error_x(), CB_FEATURE_C01, CB_FEATURE_C02, CB_FEATURE_C03, CB_FEATURE_C04, CB_FEATURE_C05, CB_FEATURE_C06, CB_FEATURE_C07, CB_FEATURE_C08, CB_FEATURE_C09, CB_FEATURE_C10, CB_FEATURE_C11, CB_FEATURE_C12, CB_FEATURE_FORMFEED, cb_int0, cb_int_hex(), cb_ref(), CB_SYSTEM_NAME, COB_WRITE_AFTER, COB_WRITE_BEFORE, COB_WRITE_CHANNEL, and COB_WRITE_PAGE.
Referenced by yyparse().
Definition at line 8738 of file typeck.c.
References CB_BEFORE, cb_int_hex(), COB_WRITE_AFTER, COB_WRITE_BEFORE, and COB_WRITE_PAGE.
Referenced by yyparse().
int cb_category_is_alpha | ( | cb_tree | ) |
Definition at line 843 of file tree.c.
References category_is_alphanumeric, and CB_TREE_CATEGORY.
Referenced by cb_emit_allocate(), and yyparse().
void cb_check_field_debug | ( | cb_tree | ) |
Definition at line 904 of file typeck.c.
References CB_BUILD_CAST_ADDRESS, CB_BUILD_CAST_LENGTH, cb_build_debug(), cb_build_debug_call(), CB_BUILD_FUNCALL_3, cb_build_move(), CB_CHAIN, cb_error_node, CB_FIELD, CB_FIELD_P, cb_int(), cb_list_add(), cb_list_reverse(), CB_PURPOSE, cb_ref(), CB_REFERENCE, CB_VALUE, CB_WORD_COUNT, CB_WORD_ITEMS, COB_MINI_BUFF, current_program, current_statement, cb_statement::debug_check, cb_program::debug_list, cb_statement::debug_nodups, cb_field::debug_section, cb_field::flag_all_debug, cb_field::name, NULL, and cb_field::size.
Referenced by yyparse().
size_t cb_check_index_p | ( | cb_tree | x | ) |
Definition at line 887 of file typeck.c.
References CB_FIELD_PTR, CB_REF_OR_FIELD_P, CB_USAGE_INDEX, cb_field::children, and cb_field::usage.
Definition at line 651 of file typeck.c.
References _, CB_CATEGORY_NUMERIC, cb_error_node, cb_error_x(), cb_name(), and CB_TREE_CATEGORY.
Referenced by cb_build_binary_op(), cb_emit_arithmetic(), and cb_emit_goto().
void cb_clear_real_field | ( | void | ) |
Definition at line 1439 of file field.c.
References NULL.
Referenced by cb_build_program(), and yyparse().
Definition at line 1729 of file tree.c.
References _, cb_tree_common::category, CB_CATEGORY_ALPHANUMERIC, cb_error_node, cb_error_x(), CB_TREE, concat_literals(), cb_literal::data, NULL, cb_literal::size, cb_tree_common::source_file, and cb_tree_common::source_line.
Referenced by yyparse().
Definition at line 1367 of file tree.c.
References cb_list_add(), CB_REFERENCE, cb_word::count, cb_word::items, cb_word::name, cb_tree_common::source_file, and cb_tree_common::source_line.
Referenced by build_file(), build_nested_special(), build_report(), cb_build_alphabet_name(), cb_build_class_name(), cb_build_field(), cb_build_label(), cb_build_locale_name(), cb_define_system_name(), set_up_func_prototype(), set_up_program(), and yyparse().
Definition at line 1228 of file typeck.c.
References _, cb_build_constant(), CB_BUILD_FUNCALL_1, CB_BUILD_NEGATION, cb_error_node, cb_error_x(), cb_int(), CB_SWITCH_NAME, CB_SYSTEM_NAME, NULL, and value.
Referenced by yyparse().
void cb_emit_accept | ( | cb_tree | , |
cb_tree | , | ||
struct cb_attr_struct * | |||
) |
Definition at line 4341 of file typeck.c.
References _, cb_attr_struct::bgc, CB_BUILD_FUNCALL_1, CB_BUILD_FUNCALL_10, CB_BUILD_FUNCALL_4, cb_emit, cb_error_x(), CB_FIELD, CB_FIELD_PTR, cb_gen_field_accept(), cb_int(), CB_LIST_P, CB_LITERAL, CB_LITERAL_P, cb_null, CB_PAIR_X, CB_PAIR_Y, cb_ref(), CB_REF_OR_FIELD_P, CB_STORAGE_SCREEN, cb_validate_one(), cb_program::crt_status, current_program, cb_attr_struct::dispattrs, cb_attr_struct::fgc, cb_program::flag_screen, gen_screen_ptr, line, NULL, output_screen_from(), output_screen_to(), cb_attr_struct::prompt, cb_attr_struct::scroll, cb_field::size, cb_attr_struct::size_is, cb_field::storage, cb_attr_struct::timeout, and valid_screen_pos().
Referenced by yyparse().
void cb_emit_accept_arg_number | ( | cb_tree | ) |
Definition at line 4596 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_arg_value | ( | cb_tree | ) |
Definition at line 4605 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_command_line | ( | cb_tree | ) |
Definition at line 4566 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_date | ( | cb_tree | ) |
Definition at line 4512 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_date_yyyymmdd | ( | cb_tree | ) |
Definition at line 4521 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_day | ( | cb_tree | ) |
Definition at line 4530 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_day_of_week | ( | cb_tree | ) |
Definition at line 4548 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_day_yyyyddd | ( | cb_tree | ) |
Definition at line 4539 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_environment | ( | cb_tree | ) |
Definition at line 4587 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_escape_key | ( | cb_tree | ) |
Definition at line 4485 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_exception_status | ( | cb_tree | ) |
Definition at line 4494 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_line_or_col | ( | cb_tree | , |
const int | |||
) |
Definition at line 4476 of file typeck.c.
References CB_BUILD_FUNCALL_2, cb_emit, cb_int(), and cb_validate_one().
Referenced by yyparse().
Definition at line 4614 of file typeck.c.
References _, CB_BUILD_FUNCALL_1, CB_DEVICE_CONSOLE, CB_DEVICE_SYSIN, cb_emit, cb_error_node, cb_error_x(), cb_name(), cb_ref(), CB_SYSTEM_NAME, and cb_validate_one().
Referenced by yyparse().
Definition at line 4635 of file typeck.c.
References _, CB_BUILD_FUNCALL_1, CB_DEVICE_CONSOLE, CB_DEVICE_SYSIN, cb_emit, cb_error_x(), cb_name(), CB_NAME, CB_SYSTEM_NAME, cb_validate_one(), cb_warning_x(), and lookup_system_name().
Referenced by yyparse().
void cb_emit_accept_time | ( | cb_tree | ) |
Definition at line 4557 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_accept_user_name | ( | cb_tree | ) |
Definition at line 4503 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
Definition at line 4668 of file typeck.c.
References _, CB_BUILD_CAST_ADDR_OF_ADDR, CB_BUILD_FUNCALL_4, cb_build_initialize(), cb_build_numeric_literal(), cb_category_is_alpha(), CB_CLASS_NUMERIC, CB_CLASS_POINTER, cb_emit, cb_error_x(), CB_FIELD_PTR, CB_REFERENCE_P, CB_TREE, CB_TREE_CLASS, cb_true, cb_validate_one(), current_statement, cb_field::flag_item_based, cb_statement::handler2, cb_field::memory_size, and NULL.
Referenced by yyparse().
Definition at line 4733 of file typeck.c.
References cb_build_alter(), cb_emit, cb_error_node, and CB_REFERENCE.
Referenced by yyparse().
void cb_emit_arg_number | ( | cb_tree | ) |
Definition at line 5124 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
Definition at line 3465 of file typeck.c.
References build_decimal_assign(), CB_BINARY_OP_P, cb_build_add(), cb_build_div(), cb_build_mul(), cb_build_sub(), CB_CHAIN, cb_check_data_incompat(), cb_check_numeric_edited_name(), cb_check_numeric_name(), cb_check_numeric_value(), cb_emit_list, cb_error_node, cb_list_map(), CB_PURPOSE, cb_validate_list(), cb_validate_one(), and CB_VALUE.
Referenced by yyparse().
Definition at line 4748 of file typeck.c.
References _, cb_build_call(), CB_CALL_BY_REFERENCE, CB_CALL_BY_VALUE, CB_CATEGORY_ALPHANUMERIC, CB_CHAIN, CB_CLASS_NUMERIC, CB_CLASS_POINTER, CB_CONST_P, CB_CONV_STATIC_LINK, CB_CONV_STDCALL, cb_emit, cb_error_node, cb_error_x(), CB_FIELD_P, CB_FIELD_PTR, cb_get_int(), cb_get_long_long(), CB_INTEGER, CB_INTEGER_P, CB_INTRINSIC, CB_INTRINSIC_P, cb_list_length(), CB_LITERAL, CB_LITERAL_P, CB_NAME, cb_null, CB_NUMERIC_LITERAL_P, CB_PURPOSE_INT, CB_REFERENCE, CB_REFERENCE_P, CB_SIZE_1, CB_SIZE_2, CB_SIZE_4, CB_SIZE_8, CB_SIZE_AUTO, CB_SIZES_INT, CB_SIZES_INT_UNSIGNED, CB_TREE, CB_TREE_CLASS, CB_VALUE, cb_warning(), cb_warning_x(), cob_s64_t, cob_u32_t, current_program, current_statement, cb_field::flag_any_length, cb_field::level, cb_program::max_call_param, NULL, sign, system_table::syst_name, system_table::syst_params, value, and warningopt.
Referenced by yyparse().
void cb_emit_cancel | ( | cb_tree | ) |
Definition at line 4977 of file typeck.c.
References cb_build_cancel(), cb_emit, and cb_validate_one().
Referenced by yyparse().
Definition at line 4988 of file typeck.c.
References _, cb_build_debug(), cb_build_debug_call(), CB_BUILD_FUNCALL_4, cb_build_move(), cb_emit, cb_error_node, cb_error_x(), CB_FILE, cb_int0, cb_ref(), cb_space, CB_TREE, COB_ORG_SORT, current_program, current_statement, cb_file::debug_section, file, cb_statement::file, cb_file::file_status, cb_program::flag_debugging, cb_file::flag_fl_debug, cb_statement::flag_in_debug, cb_file::name, NULL, and cb_file::organization.
Referenced by yyparse().
void cb_emit_command_line | ( | cb_tree | ) |
Definition at line 5133 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_commit | ( | void | ) |
Definition at line 5023 of file typeck.c.
References CB_BUILD_FUNCALL_0, and cb_emit.
Referenced by yyparse().
void cb_emit_continue | ( | void | ) |
Definition at line 5031 of file typeck.c.
References cb_build_continue(), and cb_emit.
Referenced by yyparse().
void cb_emit_delete | ( | cb_tree | ) |
Definition at line 5039 of file typeck.c.
References _, CB_BUILD_FUNCALL_2, cb_emit, cb_error_node, cb_error_x(), CB_FILE, cb_ref(), CB_TREE, COB_ORG_LINE_SEQUENTIAL, COB_ORG_SORT, current_program, current_statement, file, cb_statement::file, cb_file::file_status, cb_statement::flag_callback, cb_program::flag_debugging, cb_file::flag_fl_debug, cb_statement::flag_in_debug, and cb_file::organization.
Referenced by yyparse().
void cb_emit_delete_file | ( | cb_tree | ) |
Definition at line 5076 of file typeck.c.
References _, CB_BUILD_FUNCALL_2, cb_emit, cb_error_node, cb_error_x(), CB_FILE, cb_ref(), CB_TREE, COB_ORG_SORT, current_program, current_statement, cb_file::file_status, cb_statement::flag_callback, cb_program::flag_debugging, cb_file::flag_fl_debug, cb_statement::flag_in_debug, and cb_file::organization.
Referenced by yyparse().
void cb_emit_display | ( | cb_tree | , |
cb_tree | , | ||
cb_tree | , | ||
cb_tree | , | ||
struct cb_attr_struct * | |||
) |
Definition at line 5236 of file typeck.c.
References _, CB_BUILD_FUNCALL_0, CB_BUILD_FUNCALL_3, CB_CHAIN, cb_emit, cb_error_node, cb_error_x(), CB_FIELD, CB_FIELD_P, CB_FUNCALL, cb_list_length(), CB_LITERAL, CB_LITERAL_P, cb_low, cb_name(), cb_null, cb_ref(), CB_REF_OR_FIELD_P, CB_REFERENCE, cb_space, CB_STORAGE_SCREEN, CB_TAG_CONST, CB_TAG_INTEGER, CB_TAG_INTRINSIC, CB_TAG_LITERAL, CB_TAG_REFERENCE, CB_TAG_STRING, CB_TREE_TAG, cb_validate_list(), CB_VALUE, COB_SCREEN_BELL, COB_SCREEN_ERASE_EOL, COB_SCREEN_ERASE_EOS, COB_SCREEN_NO_DISP, emit_field_display(), emit_screen_display(), gen_screen_ptr, initialize_attrs(), output_screen_from(), validate_attrs(), and value.
Referenced by emit_default_device_display(), emit_default_screen_display(), and yyparse().
void cb_emit_display_omitted | ( | cb_tree | , |
struct cb_attr_struct * | |||
) |
Definition at line 5217 of file typeck.c.
References initialize_attrs(), and validate_attrs().
Referenced by yyparse().
Definition at line 5399 of file typeck.c.
References build_store_option(), CB_BUILD_FUNCALL_2, CB_BUILD_FUNCALL_4, cb_check_numeric_edited_name(), cb_emit, cb_int0, CB_PURPOSE, cb_validate_one(), and CB_VALUE.
Referenced by yyparse().
void cb_emit_env_name | ( | cb_tree | ) |
Definition at line 5106 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
void cb_emit_env_value | ( | cb_tree | ) |
Definition at line 5115 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, and cb_validate_one().
Referenced by yyparse().
Definition at line 5571 of file typeck.c.
References build_evaluate(), cb_build_comment(), cb_build_direct(), cb_emit, cb_id, CB_PREFIX_LABEL, and cobc_parse_strdup().
Referenced by yyparse().
void cb_emit_exit | ( | const unsigned | int | ) |
Definition at line 5653 of file typeck.c.
References cb_build_goto(), cb_emit, cb_int1, and NULL.
Referenced by yyparse().
void cb_emit_free | ( | cb_tree | ) |
Definition at line 5588 of file typeck.c.
References _, CB_BUILD_CAST_ADDR_OF_ADDR, CB_BUILD_CAST_ADDRESS, CB_BUILD_FUNCALL_2, CB_CAST, CB_CAST_P, CB_CHAIN, CB_CLASS_POINTER, cb_emit, cb_error_x(), CB_FIELD_PTR, CB_REF_OR_FIELD_P, CB_TREE, CB_TREE_CLASS, cb_validate_list(), CB_VALUE, current_statement, cb_field::flag_item_based, and NULL.
Referenced by yyparse().
Definition at line 4575 of file typeck.c.
References CB_BUILD_FUNCALL_2, cb_emit, and cb_validate_one().
Referenced by yyparse().
Definition at line 5629 of file typeck.c.
References _, cb_build_goto(), CB_CHAIN, cb_check_data_incompat(), cb_check_numeric_value(), cb_emit, cb_error_node, cb_error_x(), CB_TREE, CB_VALUE, cb_verify(), current_statement, and NULL.
Referenced by yyparse().
Definition at line 5665 of file typeck.c.
References cb_build_if(), and cb_emit.
Referenced by yyparse().
Definition at line 5682 of file typeck.c.
References _, cb_build_initialize(), CB_CHAIN, cb_emit, cb_error_x(), CB_FIELD_P, CB_REFERENCE, CB_REFERENCE_P, CB_TREE, cb_true, cb_validate_list(), CB_VALUE, current_statement, and NULL.
Referenced by yyparse().
Definition at line 5805 of file typeck.c.
References _, CB_BUILD_FUNCALL_0, CB_BUILD_FUNCALL_2, CB_CATEGORY_ALPHABETIC, CB_CATEGORY_ALPHANUMERIC, CB_CATEGORY_NATIONAL, cb_emit, cb_emit_list, cb_error_x(), CB_TAG_INTRINSIC, CB_TAG_LITERAL, CB_TAG_REFERENCE, CB_TREE, CB_TREE_CATEGORY, CB_TREE_TAG, and current_statement.
Referenced by yyparse().
Definition at line 7416 of file typeck.c.
References _, CB_BUILD_FUNCALL_1, cb_build_move(), CB_CHAIN, cb_check_data_incompat(), CB_CONST_P, cb_emit, cb_error_x(), CB_INTRINSIC_P, cb_list_length(), CB_LITERAL_P, cb_name(), CB_REFERENCE, CB_REFERENCE_P, CB_TREE, cb_validate_list(), cb_validate_one(), CB_VALUE, current_statement, cb_reference::offset, and cb_reference::subs.
Referenced by yyparse().
Definition at line 4175 of file typeck.c.
References _, CB_CHAIN, cb_check_group_name(), cb_validate_one(), CB_VALUE, cb_warning_x(), and emit_move_corresponding().
Referenced by yyparse().
Definition at line 7461 of file typeck.c.
References _, cb_build_debug(), cb_build_debug_call(), CB_BUILD_FUNCALL_4, cb_build_move(), cb_emit, cb_error_node, cb_error_x(), CB_FILE, cb_int(), cb_int0, cb_ref(), cb_space, CB_TREE, COB_OPEN_I_O, COB_ORG_LINE_SEQUENTIAL, COB_ORG_SORT, current_program, current_statement, cb_file::debug_section, file, cb_statement::file, cb_file::file_status, cb_program::flag_debugging, cb_file::flag_fl_debug, cb_statement::flag_in_debug, cb_file::name, NULL, cb_file::organization, and cb_file::sharing.
Referenced by yyparse().
Definition at line 7509 of file typeck.c.
References cb_build_debug(), cb_emit, cb_error_node, CB_PAIR_P, CB_PERFORM, current_program, current_statement, cb_program::flag_debugging, cb_statement::flag_in_debug, and NULL.
Referenced by yyparse().
Definition at line 7586 of file typeck.c.
References _, cb_file::access_mode, cb_build_debug(), cb_build_debug_call(), cb_build_field_reference(), CB_BUILD_FUNCALL_3, CB_BUILD_FUNCALL_4, cb_build_move(), cb_emit, cb_error_node, cb_error_x(), CB_FILE, cb_int(), cb_int1, cb_int2, cb_int3, cb_int4, cb_list_add(), CB_LIST_INIT, cb_ref(), CB_TREE, cb_warning(), COB_ACCESS_DYNAMIC, COB_ACCESS_SEQUENTIAL, COB_EC_I_O_AT_END, COB_ORG_INDEXED, COB_ORG_RELATIVE, COB_ORG_SORT, COB_READ_IGNORE_LOCK, COB_READ_LOCK, COB_READ_NEXT, COB_READ_NO_LOCK, COB_READ_PREVIOUS, COB_READ_WAIT_LOCK, current_program, current_statement, cb_file::debug_section, file, cb_statement::file, cb_file::file_status, cb_program::flag_debugging, cb_file::flag_fl_debug, cb_statement::flag_in_debug, cb_statement::handler3, cb_statement::handler_id, cb_file::key, cb_file::name, NULL, cb_file::organization, and cb_file::record.
Referenced by yyparse().
void cb_emit_ready_trace | ( | void | ) |
Definition at line 7690 of file typeck.c.
References CB_BUILD_FUNCALL_0, and cb_emit.
Referenced by yyparse().
Definition at line 7780 of file typeck.c.
References _, CB_BUILD_FUNCALL_1, cb_build_move(), cb_emit, cb_error_x(), CB_FIELD_PTR, CB_FILE, cb_ref(), CB_REF_OR_FIELD_P, CB_STORAGE_FILE, CB_TREE, cb_validate_one(), COB_ORG_SORT, current_statement, file, cb_field::file, cb_statement::file, and cb_field::storage.
Referenced by yyparse().
void cb_emit_reset_trace | ( | void | ) |
Definition at line 7699 of file typeck.c.
References CB_BUILD_FUNCALL_0, and cb_emit.
Referenced by yyparse().
Definition at line 7818 of file typeck.c.
References cb_build_field_reference(), CB_BUILD_FUNCALL_1, cb_build_move(), cb_emit, cb_error_node, CB_FILE, cb_ref(), cb_validate_one(), current_statement, file, cb_statement::file, and cb_statement::handler3.
Referenced by yyparse().
Definition at line 7707 of file typeck.c.
References _, cb_build_debug(), cb_build_debug_call(), CB_BUILD_FUNCALL_4, cb_build_move(), cb_emit, cb_error_node, cb_error_x(), CB_FIELD, CB_FIELD_PTR, CB_FILE, cb_int(), cb_int1, cb_ref(), CB_REF_OR_FIELD_P, CB_STORAGE_FILE, CB_TREE, cb_validate_one(), COB_EC_I_O_INVALID_KEY, COB_LOCK_AUTOMATIC, COB_ORG_INDEXED, COB_ORG_LINE_SEQUENTIAL, COB_ORG_RELATIVE, COB_ORG_SORT, COB_WRITE_LOCK, current_program, current_statement, cb_file::debug_section, file, cb_statement::file, cb_file::file_status, cb_program::flag_debugging, cb_statement::flag_in_debug, cb_statement::handler_id, cb_file::lock_mode, cb_file::name, NULL, and cb_file::organization.
Referenced by yyparse().
void cb_emit_rollback | ( | void | ) |
Definition at line 7844 of file typeck.c.
References CB_BUILD_FUNCALL_0, and cb_emit.
Referenced by yyparse().
Definition at line 7965 of file typeck.c.
References cb_build_search(), cb_check_needs_break(), cb_emit, cb_error_node, cb_list_reverse(), and cb_validate_one().
Referenced by yyparse().
Definition at line 7985 of file typeck.c.
References cb_build_if(), cb_build_search(), cb_build_search_all(), cb_check_needs_break(), cb_emit, cb_error_node, cb_validate_one(), and NULL.
Referenced by yyparse().
void cb_emit_set_attribute | ( | cb_tree | , |
const int | , | ||
const int | |||
) |
Definition at line 8207 of file typeck.c.
References _, cb_build_set_attribute(), cb_emit, cb_error_x(), CB_FIELD_PTR, cb_ref(), CB_REF_OR_FIELD_P, CB_STORAGE_SCREEN, CB_TREE, cb_validate_one(), current_statement, and cb_field::storage.
Referenced by yyparse().
void cb_emit_set_false | ( | cb_tree | ) |
Definition at line 8171 of file typeck.c.
References _, cb_build_field_reference(), cb_build_move(), CB_CHAIN, cb_emit, cb_error_node, cb_error_x(), CB_FIELD_P, CB_FIELD_PTR, CB_PAIR_P, CB_PAIR_X, CB_REFERENCE, CB_REFERENCE_P, CB_VALUE, cb_field::false_88, cb_field::level, cb_field::parent, and value.
Referenced by yyparse().
void cb_emit_set_last_exception_to_off | ( | void | ) |
Definition at line 8124 of file typeck.c.
References CB_BUILD_FUNCALL_2, CB_CHAIN, cb_emit, cb_int(), cb_ref(), CB_SYSTEM_NAME, cb_validate_list(), CB_VALUE, and cb_system_name::token.
Referenced by yyparse().
Definition at line 8019 of file typeck.c.
References _, cb_cast::cast_type, cb_build_move(), CB_CAST, CB_CAST_ADDRESS, CB_CAST_P, CB_CAST_PROGRAM_POINTER, CB_CHAIN, cb_check_data_incompat(), CB_CLASS_INDEX, CB_CLASS_NUMERIC, CB_CLASS_POINTER, CB_CLASS_UNKNOWN, cb_emit, cb_error_node, cb_error_x(), CB_FIELD, cb_name(), cb_ref(), CB_REFERENCE_P, CB_STORAGE_LINKAGE, CB_TREE, CB_TREE_CLASS, cb_tree_class(), CB_USAGE_PROGRAM_POINTER, cb_validate_list(), cb_validate_one(), CB_VALUE, current_statement, and cb_cast::val.
Referenced by yyparse().
void cb_emit_set_true | ( | cb_tree | ) |
Definition at line 8139 of file typeck.c.
References _, cb_build_field_reference(), cb_build_move(), CB_CHAIN, cb_emit, cb_error_node, cb_error_x(), CB_FIELD_P, CB_FIELD_PTR, CB_PAIR_P, CB_PAIR_X, CB_REFERENCE, CB_REFERENCE_P, CB_VALUE, cb_field::level, cb_field::parent, value, and cb_field::values.
Referenced by yyparse().
Definition at line 8106 of file typeck.c.
References cb_build_add(), cb_build_sub(), CB_CHAIN, cb_emit, cb_int0, cb_validate_list(), cb_validate_one(), and CB_VALUE.
Referenced by yyparse().
Definition at line 8013 of file typeck.c.
References CB_BUILD_FUNCALL_2, and cb_emit.
Referenced by yyparse().
void cb_emit_sort_finish | ( | cb_tree | ) |
Definition at line 8356 of file typeck.c.
References CB_BUILD_FUNCALL_1, cb_emit, CB_FILE_P, and cb_ref().
Referenced by yyparse().
Definition at line 8319 of file typeck.c.
References _, CB_BUILD_FUNCALL_2, CB_CHAIN, cb_emit, cb_error_x(), CB_FILE, CB_FUNCALL, cb_list_length(), cb_ref(), CB_TREE, cb_validate_list(), CB_VALUE, COB_ORG_SORT, and current_statement.
Referenced by yyparse().
Definition at line 8237 of file typeck.c.
References _, CB_BUILD_CAST_ADDRESS, cb_build_cast_int(), CB_BUILD_FUNCALL_2, CB_BUILD_FUNCALL_3, CB_BUILD_FUNCALL_4, CB_BUILD_FUNCALL_5, CB_CHAIN, cb_emit, cb_error_node, cb_error_x(), CB_FIELD, CB_FIELD_PTR, CB_FILE, CB_FILE_P, cb_int(), cb_list_length(), CB_PURPOSE, cb_ref(), cb_program::cb_sort_return, cb_validate_list(), CB_VALUE, COB_ORG_SORT, current_program, cb_field::depending, cb_field::name, NULL, cb_field::occurs_max, cb_field::offset, and cb_field::parent.
Referenced by yyparse().
void cb_emit_sort_input | ( | cb_tree | ) |
Definition at line 8309 of file typeck.c.
References cb_build_debug(), cb_build_perform_once(), cb_emit, current_program, current_statement, cb_program::flag_debugging, cb_statement::flag_in_debug, and NULL.
Referenced by yyparse().
void cb_emit_sort_output | ( | cb_tree | ) |
Definition at line 8340 of file typeck.c.
References cb_build_debug(), cb_build_perform_once(), cb_emit, current_program, current_statement, cb_program::flag_debugging, cb_statement::flag_in_debug, cb_statement::flag_merge, and NULL.
Referenced by yyparse().
Definition at line 8293 of file typeck.c.
References _, CB_BUILD_FUNCALL_2, CB_CHAIN, cb_emit, cb_error_x(), CB_FILE, cb_ref(), CB_TREE, cb_validate_list(), CB_VALUE, COB_ORG_SORT, and current_statement.
Referenced by yyparse().
Definition at line 8414 of file typeck.c.
References _, cb_file::access_mode, CB_BUILD_FUNCALL_5, cb_emit, cb_error_node, cb_error_x(), CB_FIELD_PTR, CB_FILE, cb_ref(), CB_TREE, cb_validate_one(), check_valid_key(), COB_ACCESS_RANDOM, COB_ORG_INDEXED, COB_ORG_RELATIVE, current_program, current_statement, cb_statement::file, cb_file::file_status, cb_statement::flag_callback, cb_program::flag_debugging, cb_file::flag_fl_debug, cb_statement::flag_in_debug, cb_file::key, and cb_file::organization.
Referenced by yyparse().
void cb_emit_stop_run | ( | cb_tree | ) |
Definition at line 8482 of file typeck.c.
References cb_build_cast_int(), CB_BUILD_FUNCALL_1, and cb_emit.
Referenced by yyparse().
Definition at line 8490 of file typeck.c.
References CB_BUILD_FUNCALL_0, CB_BUILD_FUNCALL_1, CB_BUILD_FUNCALL_2, CB_CHAIN, cb_emit, cb_int0, CB_PAIR_P, CB_PAIR_X, cb_validate_one(), CB_VALUE, and NULL.
Referenced by yyparse().
void cb_emit_unlock | ( | cb_tree | ) |
Definition at line 8535 of file typeck.c.
References CB_BUILD_FUNCALL_2, cb_emit, cb_error_node, CB_FILE, cb_ref(), current_statement, file, cb_statement::file, and cb_file::file_status.
Referenced by yyparse().
Definition at line 8552 of file typeck.c.
References CB_BUILD_FUNCALL_0, CB_BUILD_FUNCALL_1, CB_BUILD_FUNCALL_3, cb_emit, cb_emit_list, cb_int(), cb_list_length(), cb_validate_list(), and cb_validate_one().
Referenced by yyparse().
Definition at line 8604 of file typeck.c.
References _, cb_build_debug(), cb_build_debug_call(), CB_BUILD_FUNCALL_5, cb_build_move(), cb_emit, cb_error_node, cb_error_x(), CB_FIELD, CB_FIELD_PTR, CB_FILE, cb_int(), cb_int0, cb_int1, cb_int_hex(), cb_ref(), CB_REF_OR_FIELD_P, CB_STORAGE_FILE, CB_TREE, cb_validate_one(), COB_EC_I_O_EOP, COB_EC_I_O_INVALID_KEY, COB_LOCK_AUTOMATIC, COB_ORG_INDEXED, COB_ORG_LINE_SEQUENTIAL, COB_ORG_RELATIVE, COB_ORG_SORT, COB_WRITE_AFTER, COB_WRITE_BEFORE, COB_WRITE_LINES, COB_WRITE_LOCK, current_program, current_statement, cb_file::debug_section, file, cb_statement::file, cb_file::file_status, cb_program::flag_debugging, cb_statement::flag_in_debug, cb_file::flag_line_adv, cb_statement::handler1, cb_statement::handler_id, cb_file::lock_mode, cb_file::name, NULL, and cb_file::organization.
Referenced by yyparse().
char* cb_encode_program_id | ( | const char * | ) |
Definition at line 1132 of file typeck.c.
References COB_FOLD_LOWER, COB_FOLD_UPPER, COB_MINI_BUFF, cob_u8_t, cobc_check_string(), hexval, likely, NULL, unlikely, and valid_char.
Referenced by cb_build_program_id(), emit_entry(), output_call(), output_cancel(), process_filename(), and user_func_upper().
void cb_error_x | ( | cb_tree | , |
const char * | , | ||
... | |||
) |
Definition at line 233 of file error.c.
References _, cobc_too_many_errors(), errorcount, print_error(), cb_tree_common::source_file, and cb_tree_common::source_line.
Referenced by ambiguous_error(), begin_scope_of_program_name(), cb_build_address(), cb_build_binary_op(), cb_build_cond(), cb_build_display_mnemonic(), cb_build_display_name(), cb_build_field_tree(), cb_build_identifier(), cb_build_intrinsic(), cb_build_replacing_characters(), cb_build_tallying_all(), cb_build_tallying_characters(), cb_build_tallying_leading(), cb_build_tallying_trailing(), cb_build_tallying_value(), cb_build_write_advancing_mnemonic(), cb_check_group_name(), cb_check_integer_value(), cb_check_numeric_edited_name(), cb_check_numeric_name(), cb_check_numeric_value(), cb_concat_literals(), cb_define_switch_name(), cb_emit_accept(), cb_emit_accept_mnemonic(), cb_emit_accept_name(), cb_emit_allocate(), cb_emit_call(), cb_emit_close(), cb_emit_delete(), cb_emit_delete_file(), cb_emit_display(), cb_emit_free(), cb_emit_goto(), cb_emit_initialize(), cb_emit_inspect(), cb_emit_move(), cb_emit_open(), cb_emit_read(), cb_emit_release(), cb_emit_rewrite(), cb_emit_set_attribute(), cb_emit_set_false(), cb_emit_set_to(), cb_emit_set_true(), cb_emit_sort_giving(), cb_emit_sort_init(), cb_emit_sort_using(), cb_emit_start(), cb_emit_write(), cb_expr_finish(), cb_get_level(), cb_resolve_redefines(), cb_validate_88_item(), cb_validate_collating(), cb_validate_one(), cb_validate_program_body(), cb_validate_program_data(), cb_validate_program_environment(), check_for_duplicate_prototype(), check_picture_item(), check_valid_key(), compute_size(), emit_entry(), evaluate_test(), file_error(), group_error(), level_except_error(), level_redundant_error(), level_require_error(), redefinition_error(), search_set_keys(), terminator_error(), undefined_error(), valid_const_date_time_args(), validate_field_1(), validate_field_clauses(), validate_inspect(), validate_move(), warn_cannot_get_utc(), and yyparse().
Definition at line 2212 of file tree.c.
References NULL, and cb_field::sister.
Definition at line 2227 of file tree.c.
References cb_field::parent.
Referenced by cb_build_field_tree(), cb_build_identifier(), cb_check_overlapping(), cb_ref(), check_valid_key(), finalize_file(), and global_check().
Definition at line 2274 of file tree.c.
References cb_field::parent.
Referenced by output_size().
unsigned int cb_field_variable_address | ( | const struct cb_field * | ) |
Definition at line 2255 of file tree.c.
References cb_field_variable_size(), cb_field::children, cb_field::depending, cb_field::parent, and cb_field::sister.
Definition at line 2239 of file tree.c.
References cb_field_variable_size(), cb_field::children, cb_field::depending, NULL, and cb_field::sister.
Referenced by cb_build_const_length(), cb_build_length(), cb_build_length_1(), cb_build_move_field(), cb_build_move_literal(), cb_check_overlapping(), cb_chk_alpha_cond(), cb_field_variable_address(), cb_field_variable_size(), finalize_file(), and validate_field_1().
struct cb_program* cb_find_defined_program_by_id | ( | const char * | ) |
Definition at line 4905 of file scanner.c.
References CB_CHAIN, CB_PROGRAM, CB_VALUE, defined_prog_list, NULL, and cb_program::orig_program_id.
Referenced by check_prototype_seen().
struct cb_program* cb_find_defined_program_by_name | ( | const char * | ) |
Definition at line 4882 of file scanner.c.
References CB_CHAIN, CB_PROGRAM, CB_VALUE, defined_prog_list, NULL, and cb_program::program_name.
Referenced by yylex().
int cb_fits_int | ( | const cb_tree | ) |
Definition at line 914 of file tree.c.
References CB_FIELD, cb_fits_int(), CB_LITERAL, CB_REFERENCE, CB_TAG_FIELD, CB_TAG_INTEGER, CB_TAG_LITERAL, CB_TAG_REFERENCE, CB_TREE_TAG, CB_USAGE_BINARY, CB_USAGE_COMP_5, CB_USAGE_COMP_6, CB_USAGE_COMP_X, CB_USAGE_DISPLAY, CB_USAGE_INDEX, CB_USAGE_LENGTH, CB_USAGE_PACKED, cb_field::children, cb_literal::data, cb_picture::digits, cb_field::pic, cb_literal::scale, cb_picture::scale, cb_literal::sign, cb_literal::size, cb_field::size, cb_field::usage, and value.
Referenced by cb_build_add(), cb_build_move_literal(), cb_build_sub(), cb_fits_int(), output_bin_field(), output_call(), and output_integer().
int cb_fits_long_long | ( | const cb_tree | ) |
Definition at line 991 of file tree.c.
References CB_FIELD, cb_fits_long_long(), CB_LITERAL, CB_REFERENCE, CB_TAG_FIELD, CB_TAG_INTEGER, CB_TAG_LITERAL, CB_TAG_REFERENCE, CB_TREE_TAG, CB_USAGE_BINARY, CB_USAGE_COMP_5, CB_USAGE_COMP_6, CB_USAGE_COMP_X, CB_USAGE_DISPLAY, CB_USAGE_INDEX, CB_USAGE_LENGTH, CB_USAGE_PACKED, cb_field::children, cob_s64_t, cb_literal::data, cb_picture::digits, cb_field::pic, cb_literal::scale, cb_picture::scale, cb_literal::sign, cb_literal::size, cb_field::size, cb_field::usage, and value.
Referenced by cb_build_cond(), cb_build_optim_cond(), cb_fits_long_long(), and output_long_integer().
int cb_get_int | ( | const cb_tree | ) |
Definition at line 1101 of file tree.c.
References _, cb_error(), CB_LITERAL, CB_LITERAL_P, check_lit_length(), COBC_ABORT, cobc_abort_pr(), cb_literal::data, cb_literal::sign, cb_literal::size, and unlikely.
Referenced by cb_build_identifier(), cb_build_intrinsic(), cb_build_move_literal(), cb_build_symbolic_chars(), cb_build_write_advancing_lines(), cb_check_overlapping(), cb_emit_call(), cb_field_size(), get_value(), literal_value(), output_call(), output_index(), output_integer(), validate_inspect(), and yyparse().
int cb_get_level | ( | cb_tree | ) |
Definition at line 46 of file field.c.
References _, cb_error_x(), CB_INVALID_TREE, CB_NAME, cb_field::level, and cb_field::name.
Referenced by cb_build_field_tree(), and yyparse().
Definition at line 1175 of file tree.c.
References _, cb_error(), CB_LITERAL, CB_LITERAL_P, check_lit_length(), cob_s64_t, COBC_ABORT, cobc_abort_pr(), cb_literal::data, cb_literal::sign, cb_literal::size, and unlikely.
Referenced by cb_emit_call(), output_call(), output_call_by_value_args(), output_long_integer(), and validate_move().
struct cb_field* cb_get_real_field | ( | void | ) |
Definition at line 1445 of file field.c.
References last_real_field.
Referenced by yyparse().
Definition at line 1223 of file tree.c.
References _, cb_error(), CB_LITERAL, check_lit_length(), cob_u64_t, cb_literal::data, cb_literal::size, and unlikely.
Referenced by output_call(), and output_call_by_value_args().
void cb_init_constants | ( | void | ) |
Definition at line 1259 of file tree.c.
References cb_build_numeric_literal(), CB_CATEGORY_ALPHANUMERIC, CB_CATEGORY_BOOLEAN, CB_CATEGORY_DATA_POINTER, CB_CATEGORY_NUMERIC, CB_CATEGORY_UNKNOWN, cb_const_subs, cb_high, cb_int(), CB_LABEL, cb_low, COB_MAX_SUBSCRIPTS, make_constant(), make_constant_label(), and NULL.
Referenced by process_translate().
void cb_init_tallying | ( | void | ) |
Definition at line 5849 of file typeck.c.
References inspect_func, and NULL.
Referenced by yyparse().
void cb_insert_common_prog | ( | struct cb_program * | , |
struct cb_program * | |||
) |
Definition at line 1479 of file tree.c.
References add_contained_prog(), and cb_program::nested_prog_list.
Referenced by process_translate().
cb_tree cb_int | ( | const int | ) |
Definition at line 1488 of file tree.c.
References cb_tree_common::category, CB_CATEGORY_NUMERIC, CB_TAG_INTEGER, CB_TREE, cobc_main_malloc(), cb_integer::common, int_node_table, int_node::n, int_node::next, int_node::node, cb_tree_common::tag, and cb_integer::val.
Referenced by build_store_option(), cb_build_cond(), cb_build_identifier(), cb_build_length_1(), cb_build_memset(), cb_build_move_literal(), cb_build_optim_cond(), cb_build_write_advancing_lines(), cb_check_field_debug(), cb_define_switch_name(), cb_emit_accept(), cb_emit_accept_line_or_col(), cb_emit_open(), cb_emit_read(), cb_emit_rewrite(), cb_emit_set_on_off(), cb_emit_sort_init(), cb_emit_unstring(), cb_emit_write(), cb_gen_field_accept(), cb_init_constants(), cb_int_hex(), emit_field_display(), and yyparse().
cb_tree cb_int_hex | ( | const int | ) |
Definition at line 1514 of file tree.c.
References cb_int(), and CB_INTEGER.
Referenced by cb_build_write_advancing_lines(), cb_build_write_advancing_mnemonic(), cb_build_write_advancing_page(), and cb_emit_write().
Definition at line 1315 of file tree.c.
References cb_list_append(), and CB_LIST_INIT.
Referenced by begin_implicit_statement(), begin_scope_of_program_name(), build_evaluate(), cb_build_assignment_name(), cb_build_converting(), cb_build_identifier(), cb_build_perform_varying(), cb_build_replacing_all(), cb_build_replacing_characters(), cb_build_replacing_first(), cb_build_replacing_leading(), cb_build_replacing_trailing(), cb_build_tallying_characters(), cb_build_tallying_value(), cb_check_field_debug(), cb_check_needs_break(), cb_define(), cb_emit_read(), codegen(), emit_default_displays_for_x_list(), set_up_func_prototype(), set_up_use_file(), validate_field_1(), and yyparse().
Definition at line 1305 of file tree.c.
References CB_CHAIN, get_last_elt(), and NULL.
Referenced by build_decimal_assign(), cb_build_alter(), cb_list_add(), cb_pair_add(), emit_entry(), and yyparse().
void cb_list_intrinsics | ( | void | ) |
Definition at line 3052 of file reserved.c.
References _, cb_intrinsic_table::args, cob_free(), cob_malloc(), cb_intrinsic_table::implemented, cb_intrinsic_table::min_args, and NUM_INTRINSICS.
Referenced by process_command_line().
int cb_list_length | ( | cb_tree | ) |
Definition at line 1342 of file tree.c.
References CB_CHAIN.
Referenced by cb_build_address(), cb_build_identifier(), cb_build_intrinsic(), cb_emit_call(), cb_emit_display(), cb_emit_move(), cb_emit_sort_giving(), cb_emit_sort_init(), cb_emit_unstring(), contains_only_screen_field(), output_error_handler(), output_internal_function(), output_param(), and yyparse().
void cb_list_mnemonics | ( | void | ) |
Definition at line 3101 of file reserved.c.
References _, cb_intrinsic_table::category, EXT_SYSTEM_TAB_SIZE, res_get_feature(), and SYSTEM_TAB_SIZE.
Referenced by process_command_line().
void cb_list_reserved | ( | void | ) |
Definition at line 2989 of file reserved.c.
References _, initialize_reserved_words_if_needed(), num_reserved_words, and cb_intrinsic_table::token.
Referenced by process_command_line().
Definition at line 1327 of file tree.c.
References CB_CHAIN, and NULL.
Referenced by build_decimal_assign(), cb_build_cond(), cb_build_identifier(), cb_check_field_debug(), cb_emit_search(), cb_name_1(), cb_validate_program_body(), cb_validate_program_data(), process_translate(), and yyparse().
void cb_list_system | ( | void | ) |
Definition at line 833 of file typeck.c.
References _, system_table::syst_name, and system_table::syst_params.
Referenced by process_command_line().
char* cb_name | ( | cb_tree | ) |
Definition at line 735 of file tree.c.
References cb_name_1(), COB_NORMAL_BUFF, and cobc_parse_malloc().
Referenced by ambiguous_error(), build_nested_special(), cb_build_tallying_value(), cb_check_group_name(), cb_check_integer_value(), cb_check_numeric_edited_name(), cb_check_numeric_name(), cb_check_numeric_value(), cb_emit_accept_mnemonic(), cb_emit_accept_name(), cb_emit_display(), cb_emit_move(), cb_emit_set_to(), cb_validate_collating(), cb_validate_program_body(), cb_validate_program_data(), cb_validate_program_environment(), check_picture_item(), cobc_tree_cast_error(), compute_size(), emit_entry(), group_error(), level_except_error(), level_redundant_error(), level_require_error(), validate_field_1(), warning_destination(), and yyparse().
Definition at line 1321 of file tree.c.
References CB_BUILD_PAIR, and cb_list_append().
Definition at line 2653 of file tree.c.
References ambiguous_error(), CB_CHAIN, cb_error_node, CB_FIELD, cb_field_founder(), CB_FIELD_P, CB_FILE, CB_FILE_P, CB_INVALID_TREE, CB_LABEL, CB_LABEL_P, CB_NAME, cb_ref(), CB_REFERENCE, CB_TAG_FIELD, CB_TAG_LABEL, CB_TREE_TAG, CB_VALUE, CB_WORD_COUNT, cb_reference::chain, current_program, cb_word::error, file, cb_reference::flag_alter_code, cb_program::flag_gen_error, global_check(), cb_reference::hashval, cb_word::items, likely, cb_field::name, cb_label::name, cb_word::name, cb_program::nested_level, cb_word::next, cb_program::next_program, NULL, cb_reference::offset, cb_field::parent, undefined_error(), cb_reference::value, cb_reference::word, and cb_program::word_table.
Referenced by cb_build_address(), cb_build_binary_op(), cb_build_cond(), cb_build_const_length(), cb_build_display_mnemonic(), cb_build_expr(), cb_build_identifier(), cb_build_length(), cb_build_length_1(), cb_build_perform_varying(), cb_build_ppointer(), cb_build_write_advancing_mnemonic(), cb_check_field_debug(), cb_check_group_name(), cb_check_integer_value(), cb_check_numeric_edited_name(), cb_check_numeric_name(), cb_emit_accept(), cb_emit_accept_mnemonic(), cb_emit_close(), cb_emit_delete(), cb_emit_delete_file(), cb_emit_display(), cb_emit_open(), cb_emit_read(), cb_emit_release(), cb_emit_return(), cb_emit_rewrite(), cb_emit_set_attribute(), cb_emit_set_on_off(), cb_emit_set_to(), cb_emit_sort_finish(), cb_emit_sort_giving(), cb_emit_sort_init(), cb_emit_sort_using(), cb_emit_start(), cb_emit_unlock(), cb_emit_write(), cb_ref(), cb_validate_collating(), cb_validate_one(), cb_validate_program_body(), cb_validate_program_data(), cb_validate_program_environment(), check_for_duplicate_prototype(), check_not_88_level(), check_valid_key(), emit_default_displays_for_x_list(), emit_entry(), finalize_file(), global_check(), is_screen_field(), output(), output_call(), output_goto(), output_goto_1(), output_module_init(), output_param(), output_perform(), output_perform_once(), output_perform_until(), output_search_whens(), validate_inspect(), and yyparse().
void cb_reset_78 | ( | void | ) |
Definition at line 4771 of file scanner.c.
References cobc_free(), const78ptr, globlev78ptr, cb_level_78::next, cb_level_78::not_const, and NULL.
Referenced by cb_build_program().
void cb_reset_global_78 | ( | void | ) |
Definition at line 4794 of file scanner.c.
References cobc_free(), const78ptr, cb_level_78::next, and NULL.
Referenced by cb_build_program().
Definition at line 247 of file field.c.
References _, CB_CHAIN, cb_error_x(), CB_FIELD_P, CB_FIELD_PTR, CB_NAME, CB_REFERENCE, CB_TREE, CB_VALUE, cb_reference::chain, cb_field::children, cb_word::items, cb_field::level, cb_field::name, NULL, cb_field::parent, cb_field::redefines, cb_field::sister, cb_reference::subs, undefined_error(), and cb_reference::word.
Referenced by yyparse().
void cb_set_system_names | ( | void | ) |
Definition at line 2637 of file tree.c.
References cb_define_system_name().
Referenced by yyparse().
char* cb_to_cname | ( | const char * | ) |
Definition at line 705 of file tree.c.
References cob_u8_t, cobc_parse_strdup(), and copy.
Referenced by build_file(), build_report(), cb_build_alphabet_name(), cb_build_class_name(), cb_build_locale_name(), and yyparse().
enum cb_category cb_tree_category | ( | cb_tree | ) |
Definition at line 745 of file tree.c.
References _, cb_cast::cast_type, cb_tree_common::category, cb_picture::category, CB_CAST, CB_CAST_ADDR_OF_ADDR, CB_CAST_ADDRESS, CB_CAST_PROGRAM_POINTER, CB_CATEGORY_ALPHANUMERIC, CB_CATEGORY_BOOLEAN, CB_CATEGORY_DATA_POINTER, CB_CATEGORY_PROGRAM_POINTER, CB_CATEGORY_UNKNOWN, CB_FIELD, CB_INTRINSIC, CB_REFERENCE, CB_TAG_ALPHABET_NAME, CB_TAG_BINARY_OP, CB_TAG_CAST, CB_TAG_FIELD, CB_TAG_INTRINSIC, CB_TAG_LOCALE_NAME, CB_TAG_REFERENCE, CB_TREE, cb_tree_category(), CB_TREE_TAG, CB_USAGE_POINTER, CB_USAGE_PROGRAM_POINTER, cb_field::children, COBC_ABORT, cobc_abort_pr(), cb_field::level, cb_reference::offset, cb_field::pic, cb_field::redefines, cb_field::rename_thru, cb_field::usage, and cb_reference::value.
Referenced by cb_build_constant(), cb_build_intrinsic(), cb_tree_category(), and yyparse().
Definition at line 836 of file tree.c.
References category_to_class_table, and CB_TREE_CATEGORY.
Referenced by cb_emit_set_to().
Definition at line 849 of file tree.c.
References _, CB_CATEGORY_ALPHABETIC, CB_CATEGORY_ALPHANUMERIC, CB_CATEGORY_ALPHANUMERIC_EDITED, CB_CATEGORY_DATA_POINTER, CB_CATEGORY_NUMERIC, CB_CATEGORY_NUMERIC_EDITED, CB_CATEGORY_OBJECT_REFERENCE, CB_CATEGORY_PROGRAM_POINTER, CB_TREE_CATEGORY, CB_USAGE_BINARY, CB_USAGE_COMP_5, CB_USAGE_COMP_6, CB_USAGE_COMP_X, CB_USAGE_DISPLAY, CB_USAGE_DOUBLE, CB_USAGE_FLOAT, CB_USAGE_FP_BIN128, CB_USAGE_FP_BIN32, CB_USAGE_FP_BIN64, CB_USAGE_FP_DEC128, CB_USAGE_FP_DEC64, CB_USAGE_INDEX, CB_USAGE_LENGTH, CB_USAGE_LONG_DOUBLE, CB_USAGE_PACKED, cb_field::children, COB_TYPE_ALPHANUMERIC, COB_TYPE_ALPHANUMERIC_EDITED, COB_TYPE_GROUP, COB_TYPE_NUMERIC_BINARY, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_DOUBLE, COB_TYPE_NUMERIC_EDITED, COB_TYPE_NUMERIC_FLOAT, COB_TYPE_NUMERIC_FP_BIN128, COB_TYPE_NUMERIC_FP_BIN32, COB_TYPE_NUMERIC_FP_BIN64, COB_TYPE_NUMERIC_FP_DEC128, COB_TYPE_NUMERIC_FP_DEC64, COB_TYPE_NUMERIC_L_DOUBLE, COB_TYPE_NUMERIC_PACKED, COBC_ABORT, cobc_abort_pr(), COBC_DUMB_ABORT, and cb_field::usage.
Referenced by initialize_type(), initialize_uniform_char(), and output_attr().
void cb_unput_dot | ( | void | ) |
Definition at line 1415 of file field.c.
References cb_add_78(), CB_INVALID_TREE, CB_TREE, CB_VALUE, cob_u32_t, cb_field::flag_occurs, last_real_field, level_except_error(), level_require_error(), cb_field::pic, and cb_field::values.
Referenced by cb_add_const_var(), cb_build_symbolic_chars(), and yyparse().
void cb_validate_88_item | ( | struct cb_field * | ) |
Definition at line 1386 of file field.c.
References _, CB_CHAIN, CB_CLASS_NUMERIC, cb_error_x(), cb_high, cb_low, cb_quote, cb_space, CB_TREE, CB_TREE_CLASS, CB_VALID_TREE, CB_VALUE, cb_field::flag_occurs, level_except_error(), level_require_error(), cb_field::parent, cb_field::pic, and cb_field::values.
Referenced by yyparse().
void cb_validate_field | ( | struct cb_field * | ) |
Definition at line 1338 of file field.c.
References CB_STORAGE_LINKAGE, CB_STORAGE_LOCAL, cb_field::children, compute_size(), cb_field::count, cb_field::flag_base, cb_field::flag_invalid, cb_field::flag_is_global, cb_field::flag_is_verified, cb_field::flag_item_78, cb_field::flag_item_based, cb_field::flag_local, cb_field::memory_size, occur_align_size, cb_field::occurs_max, cb_field::redefines, setup_parameters(), cb_field::sister, cb_field::size, cb_field::storage, validate_field_1(), and validate_field_value().
Referenced by cb_build_const_length(), cb_build_debug_item(), cb_build_implicit_field(), cb_build_index(), cb_build_registers(), cb_validate_program_data(), finalize_file(), and yyparse().
void cb_validate_program_body | ( | struct cb_program * | ) |
Definition at line 2554 of file typeck.c.
References _, cb_program::all_procedure, cb_label::alter_gotos, cb_program::alter_gotos, cb_program::alter_list, CB_CHAIN, cb_error_node, cb_error_x(), CB_FIELD, CB_FIELD_PTR, CB_LABEL, CB_LABEL_P, cb_list_reverse(), cb_name(), CB_PURPOSE, cb_ref(), CB_REFERENCE, CB_TAG_FIELD, CB_TAG_FILE, CB_TAG_LABEL, CB_TREE_TAG, CB_VALUE, cb_warning_x(), cobc_cs_check, cobc_parse_malloc(), current_paragraph, current_program, current_section, cb_program::debug_list, cb_program::exec_list, cb_program::file_list, cb_program::flag_debugging, cb_label::flag_first_is_goto, cb_alter_id::goto_id, cb_label::id, cb_program::label_list, cb_field::memory_size, cb_field::name, cb_label::name, cb_alter_id::next, cb_field::size, and value.
Referenced by clean_up_program(), set_up_program(), and yyparse().
void cb_validate_program_data | ( | struct cb_program * | ) |
Definition at line 2344 of file typeck.c.
References _, build_literal(), CB_ASSIGN_MF, cb_build_field(), cb_build_field_reference(), cb_build_implicit_field(), cb_build_picture(), cb_build_reference(), CB_CATEGORY_ALPHANUMERIC, CB_CHAIN, cb_depend_check, cb_error(), cb_error_node, cb_error_x(), CB_FIELD, CB_FIELD_ADD, CB_FIELD_P, CB_FIELD_PTR, CB_FILE, CB_LIST_INIT, cb_list_reverse(), CB_LITERAL, cb_name(), CB_NAME, cb_needs_01, CB_PICTURE, cb_ref(), CB_REF_OR_FIELD_P, CB_REFERENCE_P, CB_REPORT, CB_STORAGE_LINKAGE, CB_STORAGE_LOCAL, CB_STORAGE_WORKING, CB_TREE, CB_USAGE_DISPLAY, CB_USAGE_UNSIGNED_INT, CB_VALID_TREE, cb_validate_field(), CB_VALUE, cb_warning(), CB_WORD_COUNT, cb_zero, check_level_78(), cb_report::cname, COB_MINI_BUFF, COB_MINI_MAX, COB_SMALL_BUFF, cb_program::crt_status, current_program, cb_program::cursor_pos, cb_field::depending, cb_program::file_list, finalize_file(), cb_file::flag_finalized, cb_field::flag_is_global, cb_field::flag_no_init, cb_field::flag_odo_relative, cb_report::line_counter, cb_field::name, cb_report::name, NULL, cb_field::odo_level, cb_report::page_counter, cb_field::parent, cb_field::pic, cb_file::record_depending, cb_field::redefines, redefinition_error(), cb_program::reference_list, cb_program::report_list, cb_field::sister, cb_field::storage, cb_field::usage, cb_field::values, and cb_program::working_storage.
Referenced by yyparse().
void cb_validate_program_environment | ( | struct cb_program * | ) |
Definition at line 1891 of file typeck.c.
References _, cb_program::alphabet_name_list, cb_alphabet_name::alphabet_type, cb_alphabet_name::alphachr, CB_ALPHABET_ASCII, CB_ALPHABET_EBCDIC, CB_ALPHABET_NAME, CB_ALPHABET_NAME_P, CB_ALPHABET_NATIVE, cb_build_symbolic_chars(), CB_CHAIN, CB_CLASS_NAME, cb_error_node, cb_error_x(), cb_high, cb_int1, CB_LIST_P, CB_LITERAL, CB_LITERAL_P, CB_LOCALE_NAME_P, cb_low, cb_name(), cb_norm_high, cb_norm_low, CB_NUMERIC_LITERAL_P, CB_PAIR_P, CB_PAIR_X, CB_PAIR_Y, CB_PURPOSE, cb_ref(), cb_validate_collating(), CB_VALUE, cb_warning_x(), cb_program::class_name_list, cb_program::classification, cob_refer_ascii, cob_refer_ebcdic, cb_program::collating_sequence, current_program, cb_alphabet_name::custom_list, get_value(), cb_alphabet_name::high_val_char, cb_class_name::list, cb_alphabet_name::low_val_char, NULL, cb_program::symbolic_char_list, and cb_alphabet_name::values.
Referenced by yyparse().
void cb_warning_x | ( | cb_tree | , |
const char * | , | ||
... | |||
) |
Definition at line 222 of file error.c.
References _, print_error(), cb_tree_common::source_file, cb_tree_common::source_line, and warningcount.
Referenced by cb_build_address(), cb_build_display_name(), cb_build_field_tree(), cb_build_identifier(), cb_check_overlapping(), cb_emit_accept_name(), cb_emit_call(), cb_emit_corresponding(), cb_emit_move_corresponding(), cb_validate_program_body(), cb_validate_program_environment(), check_for_duplicate_prototype(), check_picture_item(), check_prototype_redefines_current_func(), check_prototype_seen(), compute_size(), move_warning(), redefinition_warning(), terminator_warning(), undefined_error(), valid_const_date_time_args(), validate_field_1(), validate_move(), warn_cannot_get_utc(), warning_destination(), and yyparse().
struct cb_field* check_level_78 | ( | const char * | ) |
Definition at line 4858 of file scanner.c.
References cb_level_78::fld78, cb_field::name, cb_level_78::next, and NULL.
Referenced by cb_validate_program_data().
DECLNORET void cobc_tree_cast_error | ( | const cb_tree | , |
const char * | , | ||
const int | , | ||
const enum | cb_tag | ||
) |
Definition at line 619 of file cobc.c.
References _, cb_name(), CB_TREE_TAG, cobc_abort_pr(), cobc_abort_terminate(), and cobc_enum_explain().
void codegen | ( | struct cb_program * | , |
const int | |||
) |
Definition at line 7448 of file codegen.c.
References _, cb_program::alphabet_name_list, attr_list_reverse(), base_cache_cmp(), call_list::callname, CB_CHAIN, CB_CLASS_NAME, CB_CLASS_NUMERIC, CB_FUNCTION_TYPE, cb_list_add(), CB_LITERAL, cb_local_file, CB_NEED_HIGH, CB_NEED_LOW, CB_NEED_QUOTE, CB_NEED_SPACE, CB_NEED_ZERO, CB_PREFIX_ATTR, CB_PREFIX_BASE, CB_PREFIX_CONST, CB_PREFIX_FIELD, CB_PREFIX_STRING, CB_PROGRAM_TYPE, cb_source_file, cb_storage_file, cb_storage_file_name, CB_TREE_CLASS, CB_VALUE, CB_XSTRINGIFY, cb_program::class_name_list, COB_ALIGN, cob_gen_optim(), COB_INSIDE_SIZE, COB_KEYWORD_INLINE, COB_MAX_SUBSCRIPTS, COB_MINI_BUFF, COB_MINI_MAX, COB_OPTIM_MAX, COB_OPTIM_MIN, COB_TYPE_ALPHANUMERIC, COB_TYPE_ALPHANUMERIC_ALL, cob_u32_t, cobc_flag_main, cobc_main_malloc(), codegen(), field_list::curr_prog, base_list::curr_prog, cb_literal::data, attr_list::digits, cb_program::entry_list, excp_current_paragraph, excp_current_program_id, excp_current_section, field_list::f, base_list::f, field_cache_cmp(), cb_program::flag_chained, cb_program::flag_debugging, cb_field::flag_filler, cb_program::flag_global_use, cb_field::flag_local, cb_program::flag_main, cb_program::flag_recursive, attr_list::flags, gen_alt_ebcdic, gen_custom, gen_dynamic, gen_ebcdic_ascii, gen_figurative, gen_full_ebcdic, gen_if_level, gen_native, gen_nested_tab, i_counters, string_list::id, attr_list::id, literal_list::id, cb_field::id, inside_check, inside_stack, last_line, last_segment, list_cache_sort(), literal_list_reverse(), cb_literal::llit, local_filename::local_fp, cb_program::local_include, local_mem, cb_program::local_storage, local_working_mem, lookup_attr(), loop_counter, cb_program::max_call_param, cb_field::memory_size, cb_field::name, need_save_exception, needs_exit_prog, needs_unifunc, cb_program::nested_level, nested_list::nested_prog, cb_program::nested_prog_list, string_list::next, attr_list::next, literal_list::next, field_list::next, call_list::next, base_list::next, nested_list::next, cb_program::next_program, non_nested_count, NULL, num_cob_fields, optimize_defs, cb_program::orig_program_id, output(), output_attr(), output_class_name_definition(), output_entry_function(), output_field(), output_header(), output_indent_level, output_internal_function(), output_local(), output_main_function(), output_newline(), output_size(), output_storage(), output_string(), output_target, PACKAGE_VERSION, param_id, cb_program::parameter_list, PATCH_LEVEL, attr_list::pic, cb_program::prog_type, progid, cb_program::program_id, attr_list::scale, cb_literal::sign, cb_literal::size, cb_field::special_index, stack_id, string_buffer, string_id, string_list_reverse(), string_list::text, cb_program::toplev_count, attr_list::type, working_mem, literal_list::x, field_list::x, and yyout.
Referenced by codegen(), and process_translate().
Definition at line 2409 of file tree.c.
References _, cb_file::alt_key_list, cb_file::assign, cb_build_alphanumeric_literal(), cb_build_field(), cb_build_field_reference(), cb_build_implicit_field(), cb_build_reference(), CB_CHAIN, cb_error(), CB_FIELD, CB_FIELD_ADD, cb_field_founder(), CB_FIELD_PTR, cb_field_variable_size(), CB_FILE, CB_LIST_INIT, cb_ref(), CB_USAGE_UNSIGNED_INT, cb_validate_field(), CB_VALUE, COB_MINI_BUFF, COB_MINI_MAX, COB_ORG_INDEXED, COB_ORG_LINE_SEQUENTIAL, cobc_main_malloc(), cb_field::count, current_program, cb_field::file, cb_program::file_list, cb_field::flag_external, cb_file::flag_external, cb_file::flag_fileid, cb_file::flag_finalized, cb_program::flag_has_external, cb_field::flag_is_global, cb_file::flag_line_adv, cb_alt_key::key, cb_file::key, cb_file::linage, cb_file::linage_ctr, MAX_FD_RECORD, cb_field::name, cb_file::name, cb_alt_key::next, NULL, cb_field::occurs_min, cb_field::offset, cb_file::organization, cb_file::record, cb_file::record_max, cb_file::record_min, cb_field::redefines, cb_file::same_clause, scratch_buff, cb_field::sister, cb_field::size, cb_file::special, and cb_program::working_storage.
Referenced by cb_validate_program_data(), and yyparse().
void group_error | ( | cb_tree | , |
const char * | |||
) |
Definition at line 398 of file error.c.
References _, cb_error_x(), and cb_name().
Referenced by validate_field_1().
void level_except_error | ( | cb_tree | , |
const char * | |||
) |
Definition at line 441 of file error.c.
References _, cb_error_x(), CB_FIELD_PTR, cb_name(), cb_field::flag_item_78, and cb_field::level.
Referenced by cb_validate_78_item(), cb_validate_88_item(), and validate_field_1().
void level_redundant_error | ( | cb_tree | , |
const char * | |||
) |
Definition at line 405 of file error.c.
References _, cb_error_x(), CB_FIELD_PTR, cb_name(), cb_field::flag_item_78, and cb_field::level.
Referenced by validate_field_1().
void level_require_error | ( | cb_tree | , |
const char * | |||
) |
Definition at line 423 of file error.c.
References _, cb_error_x(), CB_FIELD_PTR, cb_name(), cb_field::flag_item_78, and cb_field::level.
Referenced by cb_validate_78_item(), cb_validate_88_item(), check_picture_item(), and validate_field_1().
struct cb_intrinsic_table* lookup_intrinsic | ( | const char * | , |
const int | , | ||
const int | |||
) |
Definition at line 2976 of file reserved.c.
References cb_intrinsic_table::implemented, intrinsic_comp(), NULL, and NUM_INTRINSICS.
Referenced by cb_build_any_intrinsic(), cb_build_intrinsic(), cobc_deciph_funcs(), and yylex().
struct cobc_reserved* lookup_reserved_word | ( | const char * | ) |
Definition at line 2910 of file reserved.c.
References _, CB_CS_PROGRAM_ID, cb_error(), cobc_cs_check, cobc_force_literal, cobc_in_procedure, cobc_in_repository, cobc_reserved::context_sens, cobc_reserved::context_set, cobc_reserved::context_test, create_dummy_reserved(), FUNCTION_ID, initialize_reserved_words_if_needed(), INTRINSIC, NULL, num_reserved_words, PROGRAM_ID, REPOSITORY, reserve_comp(), cobc_reserved::token, and unlikely.
Referenced by yylex().
cb_tree lookup_system_name | ( | const char * | ) |
Definition at line 2860 of file reserved.c.
References cb_build_system_name(), cob_strcasecmp(), EXT_SYSTEM_TAB_SIZE, NULL, SYSTEM_TAB_SIZE, and cobc_reserved::token.
Referenced by cb_build_display_name(), cb_define_system_name(), cb_emit_accept_name(), and yyparse().
void redefinition_error | ( | cb_tree | ) |
Definition at line 284 of file error.c.
References _, cb_error_x(), CB_REFERENCE, CB_VALUE, cb_word::items, and cb_word::name.
Referenced by cb_build_section_name(), cb_validate_program_data(), check_for_duplicate_prototype(), and yyparse().
Definition at line 297 of file error.c.
References _, CB_REFERENCE, CB_VALUE, cb_warning_x(), cb_word::items, cb_word::name, and NULL.
Referenced by cb_build_field_tree().
void undefined_error | ( | cb_tree | ) |
Definition at line 317 of file error.c.
References _, cb_error_x(), CB_NAME, CB_REFERENCE, cb_warning_x(), cb_reference::chain, COB_NORMAL_BUFF, COB_NORMAL_MAX, cobc_main_malloc(), errnamebuff, and cb_reference::flag_optional.
Referenced by cb_ref(), and cb_resolve_redefines().
Definition at line 2360 of file tree.c.
References cb_file::access_mode, cb_file::alt_key_list, cb_file::assign, CB_FILE_ERR_INVALID, CB_FILE_ERR_INVALID_FT, CB_FILE_ERR_REQUIRED, COB_ACCESS_DYNAMIC, COB_ACCESS_RANDOM, COB_ACCESS_SEQUENTIAL, COB_ORG_INDEXED, COB_ORG_RELATIVE, COB_ORG_SORT, file_error(), cb_file::flag_fileid, cb_file::key, NULL, and cb_file::organization.
Referenced by yyparse().
Definition at line 6167 of file typeck.c.
References _, cb_literal::all, CB_ALPHABET_NAME_P, CB_CATEGORY_ALPHABETIC, CB_CATEGORY_ALPHANUMERIC, CB_CATEGORY_ALPHANUMERIC_EDITED, CB_CATEGORY_BOOLEAN, CB_CATEGORY_NUMERIC, CB_CATEGORY_NUMERIC_EDITED, cb_check_overlapping(), CB_CLASS_NUMERIC, CB_CLASS_POINTER, CB_ERROR, cb_error_x(), CB_FIELD_PTR, cb_field_size(), CB_FILE_P, cb_get_long_long(), cb_high, CB_LITERAL, cb_low, cb_quote, CB_REFERENCE, CB_REFERENCE_P, cb_space, CB_TAG_BINARY_OP, CB_TAG_CONST, CB_TAG_FIELD, CB_TAG_FUNCALL, CB_TAG_INTEGER, CB_TAG_INTRINSIC, CB_TAG_LITERAL, CB_TAG_REFERENCE, CB_TREE_CATEGORY, CB_TREE_CLASS, CB_TREE_TAG, CB_USAGE_BINARY, CB_USAGE_COMP_5, CB_USAGE_COMP_X, CB_USAGE_DOUBLE, CB_USAGE_FLOAT, CB_USAGE_FP_BIN128, CB_USAGE_FP_BIN32, CB_USAGE_FP_BIN64, CB_USAGE_FP_DEC128, CB_USAGE_FP_DEC64, CB_USAGE_LONG_DOUBLE, cb_warning_x(), cb_zero, cb_field::children, COB_S64_C, cob_s64_t, COBC_ABORT, cobc_abort_pr(), count_pic_alphanumeric_edited(), cb_literal::data, cb_picture::digits, cb_field::flag_real_binary, cb_picture::have_sign, move_warning(), overlapping, cb_field::pic, cb_literal::scale, cb_picture::scale, cb_literal::sign, cb_literal::size, cb_picture::size, cb_field::size, cb_tree_common::source_line, suppress_warn, cb_field::usage, value, and warningopt.
Referenced by cb_build_move(), and validate_field_value().
cb_tree cb_any |
Definition at line 121 of file tree.c.
Referenced by cb_build_cond(), evaluate_test(), and yyparse().
cb_tree cb_debug_contents |
Definition at line 88 of file typeck.c.
Referenced by cb_build_perform_varying(), emit_entry(), output_alter(), output_cond_debug(), output_file_error(), output_funcall_debug(), output_goto(), output_goto_1(), output_perform(), output_perform_until(), output_stmt(), and yyparse().
cb_tree cb_debug_line |
Definition at line 83 of file typeck.c.
Referenced by output_stmt().
cb_tree cb_debug_name |
Definition at line 84 of file typeck.c.
Referenced by cb_build_perform_varying(), output_alter(), output_cond_debug(), output_funcall_debug(), output_goto(), output_goto_1(), output_perform(), output_perform_call(), output_perform_until(), and output_stmt().
cb_tree cb_depend_check |
Definition at line 36 of file field.c.
Referenced by cb_validate_program_data().
cb_tree cb_error_node |
Definition at line 140 of file tree.c.
Referenced by build_cond_88(), build_evaluate(), cb_build_address(), cb_build_assignment_name(), cb_build_binary_op(), cb_build_cond(), cb_build_const_length(), cb_build_display_mnemonic(), cb_build_display_name(), cb_build_field_tree(), cb_build_identifier(), cb_build_intrinsic(), cb_build_length(), cb_build_locale_name(), cb_build_move(), cb_build_perform_forever(), cb_build_perform_once(), cb_build_perform_times(), cb_build_ppointer(), cb_build_section_name(), cb_build_unstring_delimited(), cb_build_unstring_into(), cb_build_write_advancing_mnemonic(), cb_check_data_incompat(), cb_check_field_debug(), cb_check_group_name(), cb_check_integer_value(), cb_check_lit_subs(), cb_check_numeric_edited_name(), cb_check_numeric_name(), cb_check_numeric_value(), cb_concat_literals(), cb_define_switch_name(), cb_emit_accept_mnemonic(), cb_emit_alter(), cb_emit_arithmetic(), cb_emit_call(), cb_emit_close(), cb_emit_delete(), cb_emit_delete_file(), cb_emit_display(), cb_emit_goto(), cb_emit_open(), cb_emit_perform(), cb_emit_read(), cb_emit_return(), cb_emit_rewrite(), cb_emit_search(), cb_emit_search_all(), cb_emit_set_false(), cb_emit_set_to(), cb_emit_set_true(), cb_emit_sort_init(), cb_emit_start(), cb_emit_unlock(), cb_emit_write(), cb_expr_finish(), cb_ref(), cb_validate_one(), cb_validate_program_body(), cb_validate_program_data(), cb_validate_program_environment(), check_not_88_level(), check_picture_item(), check_valid_key(), emit_entry(), expr_reduce(), make_intrinsic(), output_move(), output_stmt(), scan_b(), scan_floating_numeric(), scan_h(), scan_numeric(), scan_o(), scan_x(), scan_z(), search_set_keys(), validate_inspect(), yylex(), and yyparse().
cb_tree cb_false |
Definition at line 123 of file tree.c.
Referenced by cb_build_cond(), evaluate_test(), output_cond(), and yyparse().
cb_tree cb_high |
Definition at line 129 of file tree.c.
Referenced by cb_build_add(), cb_build_cond(), cb_build_move(), cb_build_move_high(), cb_init_constants(), cb_validate_88_item(), cb_validate_collating(), cb_validate_program_environment(), check_78_replace(), literal_value(), output_class_name_definition(), output_funcall(), output_initialize_one(), validate_move(), and yyparse().
cb_tree cb_i[16] |
Definition at line 139 of file tree.c.
Referenced by output_initialize(), output_initialize_compound(), and output_initialize_one().
cb_tree cb_int0 |
Definition at line 133 of file tree.c.
Referenced by cb_build_add(), cb_build_display_mnemonic(), cb_build_display_name(), cb_build_move_num_zero(), cb_build_optim_add(), cb_build_optim_sub(), cb_build_sub(), cb_build_unstring_into(), cb_build_write_advancing_mnemonic(), cb_emit_close(), cb_emit_divide(), cb_emit_open(), cb_emit_set_last_exception_to_off(), cb_emit_set_up_down(), cb_emit_string(), cb_emit_write(), decimal_expand(), get_default_display_device(), get_line_and_column_from_pos(), output_param(), and yyparse().
cb_tree cb_int1 |
Definition at line 134 of file tree.c.
Referenced by bit_set_attr(), cb_build_display_mnemonic(), cb_build_display_name(), cb_build_identifier(), cb_build_sub(), cb_emit_exit(), cb_emit_read(), cb_emit_rewrite(), cb_emit_write(), cb_validate_program_environment(), emit_default_device_display(), emit_default_screen_display(), error_if_no_advancing_in_screen_display(), output_goto(), output_initialize_compound(), output_internal_function(), output_param(), and yyparse().
cb_tree cb_int2 |
Definition at line 135 of file tree.c.
Referenced by cb_emit_read(), and yyparse().
cb_tree cb_int3 |
Definition at line 136 of file tree.c.
Referenced by cb_emit_read(), and yyparse().
cb_tree cb_int4 |
Definition at line 137 of file tree.c.
Referenced by cb_emit_read(), and yyparse().
cb_tree cb_intr_whencomp |
Definition at line 142 of file tree.c.
Referenced by cb_build_intrinsic(), and cb_build_registers().
cb_tree cb_low |
Definition at line 128 of file tree.c.
Referenced by cb_build_cond(), cb_build_move(), cb_build_move_low(), cb_emit_display(), cb_init_constants(), cb_validate_88_item(), cb_validate_collating(), cb_validate_program_environment(), check_78_replace(), literal_value(), output_class_name_definition(), output_funcall(), output_initialize_one(), validate_move(), and yyparse().
size_t cb_needs_01 |
Definition at line 37 of file field.c.
Referenced by cb_build_field_tree(), cb_validate_program_data(), and yyparse().
cb_tree cb_norm_high |
Definition at line 131 of file tree.c.
Referenced by cb_build_move_high(), cb_validate_program_environment(), get_value(), literal_value(), output_param(), and yyparse().
cb_tree cb_norm_low |
Definition at line 130 of file tree.c.
Referenced by cb_build_move_low(), cb_validate_program_environment(), get_value(), literal_value(), output_param(), and yyparse().
cb_tree cb_null |
Definition at line 124 of file tree.c.
Referenced by cb_build_move(), cb_emit_accept(), cb_emit_call(), cb_emit_display(), check_78_replace(), contains_only_screen_field(), emit_default_screen_display(), expr_chk_cond(), get_default_display_device(), get_value(), literal_value(), output_call(), output_class_name_definition(), output_data(), output_initialize_one(), output_integer(), output_long_integer(), output_stmt(), and yyparse().
cb_tree cb_one |
Definition at line 126 of file tree.c.
Referenced by cb_build_address(), cb_build_identifier(), and yyparse().
cb_tree cb_quote |
Definition at line 132 of file tree.c.
Referenced by cb_build_move(), cb_build_move_quote(), cb_validate_88_item(), check_78_replace(), get_value(), literal_value(), output_class_name_definition(), output_initialize_one(), output_param(), validate_move(), and yyparse().
cb_tree cb_space |
Definition at line 127 of file tree.c.
Referenced by cb_build_cond(), cb_build_debug_item(), cb_build_move(), cb_build_move_space(), cb_emit_close(), cb_emit_display(), cb_emit_open(), cb_validate_88_item(), check_78_replace(), get_value(), literal_value(), output_class_name_definition(), output_funcall(), output_goto_1(), output_initialize_one(), output_param(), output_stmt(), validate_move(), and yyparse().
cb_tree cb_standard_error_handler |
Definition at line 144 of file tree.c.
Referenced by output_error_handler(), and output_section_info().
cb_tree cb_true |
Definition at line 122 of file tree.c.
Referenced by cb_build_cond(), cb_emit_allocate(), cb_emit_initialize(), evaluate_test(), output_cond(), output_initial_values(), and yyparse().
cb_tree cb_zero |
Definition at line 125 of file tree.c.
Referenced by cb_build_cond(), cb_build_move(), cb_build_move_num_zero(), cb_build_move_zero(), cb_build_registers(), cb_check_integer_value(), cb_expr_shift(), cb_expr_shift_sign(), cb_validate_program_data(), check_78_replace(), decimal_expand(), get_value(), literal_value(), output_class_name_definition(), output_funcall(), output_initialize_one(), output_integer(), output_long_integer(), output_param(), output_stmt(), validate_move(), and yyparse().
unsigned int cobc_cs_check |
Definition at line 182 of file parser.c.
Referenced by cb_build_program(), cb_error(), cb_validate_program_body(), lookup_reserved_word(), yylex(), and yyparse().
unsigned int cobc_force_literal |
Definition at line 181 of file parser.c.
Referenced by clear_initial_values(), lookup_reserved_word(), and yylex().
unsigned int cobc_in_procedure |
Definition at line 179 of file parser.c.
Referenced by cb_build_program(), clear_initial_values(), lookup_reserved_word(), yylex(), and yyparse().
unsigned int cobc_in_repository |
Definition at line 180 of file parser.c.
Referenced by cb_build_program(), cb_error(), clear_initial_values(), lookup_reserved_word(), yylex(), and yyparse().
unsigned int gen_screen_ptr |
Definition at line 146 of file tree.c.
Referenced by cb_build_funcall(), cb_emit_accept(), and cb_emit_display().
int non_const_word |
Definition at line 178 of file parser.c.
Referenced by clear_initial_values(), yylex(), and yyparse().