NAPA Compiler V4.50
Author: Yves Leduc, yves.leduc.be@gmail.com
|
Go to the source code of this file.
Macros | |
#define | EXTERN extern |
#define | INSTRUCTION(x) |
#define | NOT_INSTRUCTION(x) |
Functions | |
void | line_parsing (void) |
void | check_version (const char *str) |
char * | get_node (char *str, char *nodnam, long *pseudo) |
void | get_var (char *str, const char *instruction) |
void | get_event (const char *str) |
void | get_post (char *str) |
void | get_header (char *str) |
void | get_directive (char *str1) |
void | get_nominal (char *str) |
void | get_decimate (char *str) |
void | get_interpolate (char *str) |
void | get_drop (char *str) |
void | get_command_line (char *str) |
void | get_update (char *str, const char *instruction) |
void | get_output (char *str) |
void | get_input (char *str) |
void | get_void (char *str) |
void | get_alias (char *str) |
void | get_terminate (char *str) |
void | get_synchronize (char *str) |
void | get_init (char *str) |
void | get_declare (char *str) |
void | get_assert (char *str) |
void | get_gateway (char *str) |
void | get_stuck (char *str) |
void | get_inject (char *str) |
void | get_call (char *str) |
void | get_restart (const char *str) |
void | get_debug (char *str) |
void | get_ping (char *str) |
void | get_comment (const char *str) |
void | get_fs_ts (char *str, long fs1ts0) |
void | get_sampling (char *str) |
void | get_interlude (char *str) |
void | get_random_seed (const char *str) |
void | get_title (char *str) |
void | get_export (const char *str) |
void | get_array (const char *variant, char *str) |
void | get_format (char *str) |
void | read_doub_format (char *str) |
void | read_int_format (char *str) |
void | read_hex_format (char *str) |
void | read_str_format (char *str) |
void | get_opcode (char *str) |
void | get_dump (char *str) |
void | get_load (char *str) |
void | get_data (char *str, const char *buffer, char *cell) |
char * | process_gen (char *str, long *pseudo, char *cell) |
void | process_cell (char *str, const char *nodnam, long *pseudo, char *cell) |
long | process_width (const char *brc, const char *tok, const char *instr) |
void | rearrange_data_interfaces (char *data_if, char *inst_if, const unsigned long *mlin, const unsigned long *mfil) |
void | record_cell_nam (const char *nam, long cur_depth, unsigned long *mlin, const unsigned long *mfil) |
void | record_file_nam (long d, const unsigned long *mlin, const unsigned long *mfil) |
void | inspect_short_form (const char *instruction, char *string, const char *tok) |
void | trap_unconsistencies (void) |
#define INSTRUCTION | ( | x | ) |
Definition at line 73 of file lp.c.
Referenced by get_update(), get_var(), and line_parsing().
#define NOT_INSTRUCTION | ( | x | ) |
Definition at line 74 of file lp.c.
Referenced by get_update(), and line_parsing().
void check_version | ( | const char * | str | ) |
Definition at line 551 of file lp.c.
References NAPA_COMPILER_VERSION, print_error_banner_and_exit(), print_error_location(), print_warning_location(), and STDERR.
Referenced by line_parsing().
void get_alias | ( | char * | str | ) |
Definition at line 2404 of file lp.c.
References alias_id(), Alias_List, array_id(), Array_List, directive_id(), Directive_List, ERROR, get_sign_and_token(), increment_alias_number(), is_a_keyword(), is_an_identifier(), ISEMPTY, ISNOTEMPTY, LENGTH, MAXDEPTH, node_id(), Node_List, Num_Aliases, print_error_location(), print_location(), print_warning_location(), record_id(), Record_List, STDERR, strcpy_alloc(), STRLENGTH, UNDEFINED, var_id(), Var_List, and WARNING.
Referenced by line_parsing().
void get_array | ( | const char * | variant, |
char * | str ) |
Definition at line 3695 of file lp.c.
References alias_id(), Alias_List, ANALOG_DATA_TYPE, array_id(), Array_List, DIGITAL_DATA_TYPE, directive_id(), get_token(), get_token_between_braces(), HEX_DATA_TYPE, increment_array_number(), increment_record_number(), is_an_identifier(), ISEMPTY, ISNOTEMPTY, MAXDEPTH, node_id(), Node_List, Num_Arrays, Num_Records, Pointer_Flag, print_error_location(), print_location(), process_array_error(), process_variable_error(), record_id(), Record_List, resolve_pathnames(), STDERR, strcpy_alloc(), STRING_DATA_TYPE, STRLENGTH, UNDEFINED, UNKNOWN_KIND, UNKNOWN_TYPE, var_id(), and Var_List.
Referenced by line_parsing().
void get_assert | ( | char * | str | ) |
Definition at line 2804 of file lp.c.
References Assert_Flag, C_syntax_checker(), clean_parentheses(), get_token_between_braces(), increment_assert_number(), increment_update_number(), ISEMPTY, MAXDEPTH, Num_Asserts, Num_Segments, Num_Updates, print_error_location(), print_warning_location(), resolve_pathnames(), Segment_List, STDERR, strcpy_alloc(), STRLENGTH, and Update_List.
Referenced by line_parsing().
void get_call | ( | char * | str | ) |
Definition at line 3039 of file lp.c.
References Call_Flag, increment_call_number(), increment_update_number(), ISEMPTY, MAXDEPTH, Num_Calls, Num_Segments, Num_Updates, print_error_location(), resolve_pathnames(), Segment_List, STDERR, strcpy_alloc(), STRLENGTH, Update_Flag, and Update_List.
Referenced by line_parsing().
void get_command_line | ( | char * | str | ) |
Definition at line 2069 of file lp.c.
References Cmdline_Flag, cmdline_id(), Cmdline_List, get_sign_and_token(), increment_cmdline_number(), is_an_identifier(), ISEMPTY, ISNOTEMPTY, MAXDEPTH, Num_Cmdlines, print_error_location(), print_location(), print_warning_location(), STDERR, strcpy_alloc(), STRLENGTH, and UNDEFINED.
Referenced by line_parsing().
void get_comment | ( | const char * | str | ) |
Definition at line 3254 of file lp.c.
References Comment_Flag, Comment_String, increment_comment_number(), ISNOTEMPTY, LINLENGTH, Num_Comments, print_error_banner_and_exit(), print_error_location(), and STDERR.
Referenced by line_parsing().
void get_data | ( | char * | str, |
const char * | buffer, | ||
char * | cell ) |
Definition at line 4309 of file lp.c.
References build_pathname(), Cell_Name_Prefix, Cell_Num_Parms, Cell_Plist, constant_type(), Cur_Fil_Name, Cur_Lib_Name, Expand_Flag, extract_directory(), f1flush(), f2printf(), get_a_line(), get_token(), get_token_between_braces(), Hierarchy_Flag, Inst_Plist, is_an_identifier(), ISEMPTY, ISNOTEMPTY, LENGTH, LINLENGTH, Max_Depth, MAXDEPTH, MAXPARMS, Net_Lib_Name, Num_Cells, Num_Voids, print_error_banner_and_exit(), print_error_location(), print_limits(), rearrange_data_interfaces(), record_cell_nam(), record_file_nam(), STDERR, STDOUT, STRING_DATA_TYPE, STRLENGTH, UNDEFINED, UNKNOWN_TYPE, var_id(), and Var_List.
Referenced by line_parsing().
void get_debug | ( | char * | str | ) |
Definition at line 3126 of file lp.c.
References array_id(), Debug_Flag, debug_id(), Debug_List, directive_id(), get_sign_and_token(), increment_debug_number(), is_an_identifier(), is_an_instruction(), ISEMPTY, ISNOTEMPTY, LENGTH, MAXDEPTH, node_id(), Num_Debugs, print_error_banner_and_exit(), print_error_location(), print_warning_location(), record_id(), STDERR, strcpy_alloc(), STRLENGTH, UNDEFINED, and var_id().
Referenced by line_parsing().
void get_decimate | ( | char * | str | ) |
Definition at line 1836 of file lp.c.
References DECIMATE_SEGMENT_TYPE, Drop_Flag, get_sign_and_token(), increment_segment_number(), ISEMPTY, ISNOTEMPTY, MAXDEPTH, Num_Segments, print_error_banner_and_exit(), print_error_location(), print_warning_location(), Segment_List, STDERR, STRLENGTH, UNDEFINED, var_id(), and Var_List.
Referenced by line_parsing().
void get_declare | ( | char * | str | ) |
Definition at line 2679 of file lp.c.
References ANALOG_DATA_TYPE, BOOLEAN_DATA_TYPE, clean_parentheses(), CONSTANT_TYPE, Declare_Common_List, Declare_List, DIGITAL_DATA_TYPE, get_sign_and_token(), get_token_between_braces(), increment_common_number(), increment_declare_number(), increment_init_number(), increment_var_number(), ISEMPTY, LINLENGTH, MAXDEPTH, Num_Declare_Commons, Num_Declares, Num_Inits, Num_Segments, Num_Vars, print_error_location(), print_warning_location(), resolve_pathnames(), STDERR, strcpy_alloc(), STRING_DATA_TYPE, STRLENGTH, UNKNOWN_TYPE, and Var_List.
Referenced by get_var(), and line_parsing().
void get_directive | ( | char * | str1 | ) |
Definition at line 1661 of file lp.c.
References alias_id(), Alias_List, array_id(), Array_List, directive_id(), Directive_List, get_sign_and_token(), get_token_between_braces(), increment_directive_number(), is_a_keyword(), is_an_identifier(), ISEMPTY, ISNOTEMPTY, MAXDEPTH, node_id(), Num_Directives, print_error_location(), print_location(), print_warning_location(), record_id(), Record_List, STDERR, strcpy_alloc(), STRLENGTH, UNDEFINED, var_id(), and Var_List.
Referenced by line_parsing().
void get_drop | ( | char * | str | ) |
Definition at line 2015 of file lp.c.
References clean_parentheses(), Drop_Flag, DROP_SEGMENT_TYPE, get_token(), increment_segment_number(), ISEMPTY, MAXDEPTH, Num_Segments, print_error_banner_and_exit(), print_error_location(), print_warning_location(), resolve_pathnames(), Segment_List, STDERR, strcpy_alloc(), and STRLENGTH.
Referenced by line_parsing().
void get_dump | ( | char * | str | ) |
Definition at line 4168 of file lp.c.
References clean_parentheses(), Dump_Flag, Dump_List, fnstrcmp(), get_token(), get_token_between_braces(), INPUT_TYPE, IO_List, ISEMPTY, MAXDEPTH, Num_IOs, Num_Segments, OUTPUT_TYPE, print_error_location(), print_warning_location(), resolve_pathnames(), Segment_List, simplify_pathname(), STDERR, strcpy_alloc(), STRING_DATA_TYPE, STRLENGTH, UNDEFINED, var_id(), and Var_List.
Referenced by line_parsing().
void get_event | ( | const char * | str | ) |
Definition at line 1299 of file lp.c.
References get_update(), get_var(), and LINLENGTH.
Referenced by line_parsing().
void get_export | ( | const char * | str | ) |
Definition at line 3662 of file lp.c.
References Export_Flag, Export_List, increment_export_number(), ISEMPTY, MAXDEPTH, Num_Exports, print_error_location(), STDERR, and strcpy_alloc().
Referenced by get_var(), and line_parsing().
void get_format | ( | char * | str | ) |
Definition at line 3907 of file lp.c.
References get_token_between_braces(), ISEMPTY, print_error_location(), print_warning_location(), read_doub_format(), read_hex_format(), read_int_format(), read_str_format(), STDERR, and STRLENGTH.
Referenced by line_parsing().
void get_fs_ts | ( | char * | str, |
long | fs1ts0 ) |
Definition at line 3293 of file lp.c.
References ANALOG_DATA_TYPE, constant_type(), Fs_Flag, get_sign_and_token(), ISEMPTY, ISNOTEMPTY, MAXDEPTH, Periodic_Flag, print_error_location(), print_location(), print_warning_location(), Sampling_List, STDERR, STRLENGTH, and Ts_Flag.
Referenced by line_parsing().
void get_gateway | ( | char * | str | ) |
Definition at line 2860 of file lp.c.
References Gateway_Flag, Gateway_List, get_sign_and_token(), ISNOTEMPTY, Num_Segments, print_error_location(), print_warning_location(), Segment_List, STDERR, and STRLENGTH.
Referenced by line_parsing().
void get_header | ( | char * | str | ) |
Definition at line 1577 of file lp.c.
References build_pathname(), Cur_Lib_Name, drop_pathname(), Error_Flag, extract_directory(), fnstrcmp(), get_token_between_braces(), Header_Lib_Name, Header_List, increment_header_number(), ISEMPTY, ISNOTEMPTY, MAXDEPTH, Num_Headers, print_error_location(), print_warning_location(), replace_dollar(), simplify_pathname(), STDERR, strcpy_alloc(), strcpy_realloc(), and STRLENGTH.
Referenced by line_parsing().
void get_init | ( | char * | str | ) |
Definition at line 2634 of file lp.c.
References clean_parentheses(), increment_init_number(), increment_var_number(), ISEMPTY, MAXDEPTH, Num_Inits, Num_Segments, Num_Vars, print_error_location(), resolve_pathnames(), STDERR, strcpy_alloc(), STRLENGTH, UNKNOWN_TYPE, and Var_List.
Referenced by line_parsing().
void get_inject | ( | char * | str | ) |
Definition at line 2978 of file lp.c.
References clean_parentheses(), get_sign_and_token(), increment_inject_number(), Inject_Flag, Inject_List, is_an_identifier(), ISEMPTY, ISNOTEMPTY, ISSMALL, MAXDEPTH, Num_Injects, print_error_location(), resolve_pathnames(), STDERR, strcpy_alloc(), and STRLENGTH.
Referenced by line_parsing().
void get_input | ( | char * | str | ) |
Definition at line 2291 of file lp.c.
References Dump_Flag, Dump_List, fnstrcmp(), get_token(), increment_IO_number(), Input_Flag, INPUT_TYPE, IO_List, ISEMPTY, MAXDEPTH, Num_IOs, Num_Segments, OUTPUT_TYPE, print_error_location(), resolve_pathnames(), Segment_List, simplify_pathname(), STDERR, strcpy_alloc(), and STRLENGTH.
Referenced by line_parsing().
void get_interlude | ( | char * | str | ) |
Definition at line 3452 of file lp.c.
References get_sign_and_token(), Interlude_Flag1, Interlude_Flag2, Interlude_Flag3, Interlude_List, ISEMPTY, ISNOTEMPTY, LENGTH, MAXDEPTH, print_error_location(), print_warning_location(), STDERR, and STRLENGTH.
Referenced by line_parsing().
void get_interpolate | ( | char * | str | ) |
Definition at line 1940 of file lp.c.
References Drop_Flag, get_sign_and_token(), increment_segment_number(), Interpolate_Flag, INTERPOLATE_SEGMENT_TYPE, ISEMPTY, MAXDEPTH, Num_Segments, print_error_banner_and_exit(), print_error_location(), print_warning_location(), Segment_List, STDERR, STRLENGTH, UNDEFINED, var_id(), and Var_List.
Referenced by line_parsing().
void get_load | ( | char * | str | ) |
Definition at line 4248 of file lp.c.
References get_token(), get_token_between_braces(), ISEMPTY, LINLENGTH, Load_Flag, Load_List, MAXDEPTH, print_error_location(), print_warning_location(), resolve_pathnames(), simplify_pathname(), STDERR, strcpy_alloc(), STRING_DATA_TYPE, STRLENGTH, UNDEFINED, var_id(), and Var_List.
Referenced by line_parsing().
char * get_node | ( | char * | str, |
char * | nodnam, | ||
long * | pseudo ) |
Definition at line 600 of file lp.c.
References ALGEBRA_KIND, alias_id(), Alias_List, array_id(), Array_List, CELL_KIND, CONST_KIND, DALGEBRA_KIND, DC_KIND, DELAY_KIND, directive_id(), Directive_List, DTOOL_KIND, DUSER_KIND, ERROR, Expand_Flag, expand_nodeset(), GEN_KIND, get_function_identifier(), get_node(), get_sign_and_token(), get_token_between_braces(), IALGEBRA_KIND, increment_node_number(), increment_void_number(), is_a_keyword(), is_an_identifier(), ISEMPTY, ISNOTEMPTY, ITOOL_KIND, IUSER_KIND, LINLENGTH, MAX, MAXDEPTH, MAYBE, node_id(), node_kind(), Node_List, Num_Creates, Num_Nodes, Num_Segments, Num_Voids, print_error_location(), print_location(), print_warning_location(), process_node_error(), process_node_kind_error(), record_function_identifier(), record_id(), Record_List, replace_parentheses(), resolve_pathnames(), Segment_List, SET_KIND, STDERR, STDOUT, strcpy_alloc(), STRLENGTH, TEST_KIND, TOGGLE_KIND, UNDEFINED, UNKNOWN_KIND, UNKNOWN_TYPE, var_id(), Var_List, and WARNING.
Referenced by get_node(), and line_parsing().
void get_nominal | ( | char * | str | ) |
Definition at line 1795 of file lp.c.
References Drop_Flag, get_sign_and_token(), increment_segment_number(), MAXDEPTH, NOMINAL_SEGMENT_TYPE, Num_Segments, print_error_banner_and_exit(), print_error_location(), print_warning_location(), Segment_List, STDERR, and STRLENGTH.
Referenced by line_parsing().
void get_opcode | ( | char * | str | ) |
Definition at line 4119 of file lp.c.
References clean_parentheses(), get_sign_and_token(), get_token(), increment_opcode_number(), is_an_identifier(), MAXDEPTH, Num_Opcodes, Opcode_List, print_error_location(), STDERR, strcpy_alloc(), and STRLENGTH.
Referenced by line_parsing().
void get_output | ( | char * | str | ) |
Definition at line 2220 of file lp.c.
References Dump_Flag, Dump_List, fnstrcmp(), get_token(), increment_IO_number(), INPUT_TYPE, IO_List, ISEMPTY, MAXDEPTH, Num_IOs, Num_Segments, Output_Flag, OUTPUT_TYPE, print_error_location(), resolve_pathnames(), Segment_List, simplify_pathname(), STDERR, strcpy_alloc(), and STRLENGTH.
Referenced by line_parsing().
void get_ping | ( | char * | str | ) |
Definition at line 3197 of file lp.c.
References get_token(), ISEMPTY, MAXDEPTH, Ping_Flag, Ping_List, print_error_location(), print_warning_location(), resolve_pathnames(), STDERR, strcpy_alloc(), STRING_DATA_TYPE, STRLENGTH, UNDEFINED, var_id(), and Var_List.
Referenced by line_parsing().
void get_post | ( | char * | str | ) |
Definition at line 1319 of file lp.c.
References DTOOL_KIND, fnstrcmp(), get_sign_and_token(), get_token(), get_type(), Group_List, increment_group_number(), increment_post_number(), IO_List, ISEMPTY, ISNOTEMPTY, ITOOL_KIND, Last_Instruction, Last_Postprocess, LENGTH, MAXDEPTH, Node_List, Num_Groups, Num_IOs, Num_Nodes, Num_Posts, Num_Segments, Post_Flag, Post_List, print_error_banner_and_exit(), print_error_location(), print_warning_location(), replace_parentheses(), resolve_pathnames(), STDERR, strcpy_alloc(), strcpy_realloc(), STRING_DATA_TYPE, STRLENGTH, UNDEFINED, var_id(), Var_List, and Void_List_Name.
Referenced by line_parsing().
void get_random_seed | ( | const char * | str | ) |
Definition at line 3584 of file lp.c.
References Antithetic_Flag, ISEMPTY, MAXDEPTH, print_error_location(), print_warning_location(), Seed_Flag, Seed_List, and STDERR.
Referenced by line_parsing().
void get_restart | ( | const char * | str | ) |
Definition at line 3086 of file lp.c.
References increment_restart_number(), increment_update_number(), ISNOTEMPTY, MAXDEPTH, Num_Restarts, Num_Segments, Num_Updates, print_error_location(), print_warning_location(), Segment_List, STDERR, strcpy_alloc(), STRLENGTH, Update_Flag, and Update_List.
Referenced by line_parsing().
void get_sampling | ( | char * | str | ) |
Definition at line 3402 of file lp.c.
References clean_parentheses(), Fs_Flag, ISEMPTY, MAXDEPTH, Num_Segments, Periodic_Flag, print_error_location(), print_location(), print_warning_location(), resolve_pathnames(), Sampling_List, STDERR, strcpy_alloc(), and Ts_Flag.
Referenced by line_parsing().
void get_stuck | ( | char * | str | ) |
Definition at line 2907 of file lp.c.
References clean_parentheses(), get_sign_and_token(), increment_stuck_number(), is_an_identifier(), ISEMPTY, ISNOTEMPTY, MAXDEPTH, Num_Stucks, print_error_location(), resolve_pathnames(), STDERR, strcpy_alloc(), STRLENGTH, Stuck_Flag, and Stuck_List.
Referenced by line_parsing().
void get_synchronize | ( | char * | str | ) |
Definition at line 2599 of file lp.c.
References get_token_between_braces(), ISEMPTY, ISNOTEMPTY, print_error_location(), print_warning_location(), STDERR, STRLENGTH, and Synchro_Flag.
Referenced by line_parsing().
void get_terminate | ( | char * | str | ) |
Definition at line 2559 of file lp.c.
References C_syntax_checker(), clean_parentheses(), ISEMPTY, Loop_Flag, MAXDEPTH, print_error_location(), print_warning_location(), resolve_pathnames(), STDERR, strcpy_alloc(), Terminate_Flag, and Terminate_List.
Referenced by line_parsing().
void get_title | ( | char * | str | ) |
Definition at line 3622 of file lp.c.
References get_token(), ISNOTEMPTY, LENGTH, LINLENGTH, print_warning_location(), resolve_pathnames(), STDERR, Title_Flag, and Title_String.
Referenced by line_parsing().
void get_update | ( | char * | str, |
const char * | instruction ) |
Definition at line 2126 of file lp.c.
References clean_parentheses(), get_sign_and_token(), get_token_between_braces(), increment_update_number(), INSTRUCTION, is_an_identifier(), ISEMPTY, ISNOTEMPTY, MAXDEPTH, MAYBE, node_id(), NOT_INSTRUCTION, Num_Segments, Num_Updates, print_error_location(), resolve_pathnames(), Segment_List, STDERR, strcpy_alloc(), STRLENGTH, UNDEFINED, Update_Flag, and Update_List.
Referenced by get_event(), get_var(), and line_parsing().
void get_var | ( | char * | str, |
const char * | instruction ) |
Definition at line 965 of file lp.c.
References alias_id(), Alias_List, ANALOG_DATA_TYPE, array_id(), Array_List, clean_parentheses(), DIGITAL_DATA_TYPE, directive_id(), Directive_List, ERROR, get_declare(), get_export(), get_sign_and_token(), get_token(), get_token_between_braces(), get_update(), increment_var_number(), INSTRUCTION, is_a_keyword(), is_an_identifier(), ISEMPTY, ISNOTEMPTY, LENGTH, MAXDEPTH, MAYBE, node_id(), Node_List, Num_Segments, Num_Vars, print_error_location(), print_location(), print_warning_location(), record_id(), Record_List, resolve_pathnames(), STDERR, strcpy_alloc(), STRING_DATA_TYPE, STRLENGTH, UNDEFINED, unique_name(), UNKNOWN_TYPE, var_id(), Var_List, and WARNING.
Referenced by get_event(), and line_parsing().
void get_void | ( | char * | str | ) |
Definition at line 2362 of file lp.c.
References build_pathname(), Cur_Lib_Name, extract_directory(), get_token_between_braces(), Header_Lib_Name, ISEMPTY, LENGTH, print_error_location(), print_warning_location(), simplify_pathname(), STDERR, STRLENGTH, and Void_List_Name.
Referenced by line_parsing().
void inspect_short_form | ( | const char * | instruction, |
char * | string, | ||
const char * | tok ) |
Definition at line 5202 of file lp.c.
References print_error_banner_and_exit(), print_error_location(), and STDERR.
Referenced by line_parsing().
void line_parsing | ( | void | ) |
Definition at line 118 of file lp.c.
References CELL_KIND, Cell_Name_Prefix, check_version(), Cur_Fil_Name, Cur_Lib_Name, drop_pathname(), Expand_Flag, expand_indirections(), f2printf(), GEN_KIND, get_a_line(), get_alias(), get_array(), get_assert(), get_call(), get_command_line(), get_comment(), get_data(), get_debug(), get_decimate(), get_declare(), get_directive(), get_drop(), get_dump(), get_event(), get_export(), get_format(), get_fs_ts(), get_gateway(), get_header(), get_init(), get_inject(), get_input(), get_interlude(), get_interpolate(), get_load(), get_node(), get_nominal(), get_opcode(), get_output(), get_ping(), get_post(), get_random_seed(), get_restart(), get_sampling(), get_stuck(), get_synchronize(), get_terminate(), get_title(), get_token(), get_token_between_braces(), get_update(), get_var(), get_void(), Hierarchy_Flag, increment_segment_number(), inspect_short_form(), INSTRUCTION, is_an_identifier(), ISEMPTY, Last_Instruction, LENGTH, LINLENGTH, Main_File_Name, MAIN_SEGMENT_TYPE, MAX, MAXDEPTH, multiple(), NOT_INSTRUCTION, Num_Segments, Periodic_Flag, print_error_banner_and_exit(), print_error_location(), print_warning_location(), process_cell(), process_cell_line(), process_gen(), process_instruction_error(), process_width(), record_file_nam(), restore_line(), sanity_check(), Segment_List, SET_KIND, STDERR, STDOUT, strip_extension(), STRLENGTH, Title_Flag, Title_String, trap_unconsistencies(), and UNKNOWN_KIND.
Referenced by main().
void process_cell | ( | char * | str, |
const char * | nodnam, | ||
long * | pseudo, | ||
char * | cell ) |
Definition at line 4724 of file lp.c.
References build_pathname(), Cell_Name_Prefix, Cell_Num_Parms, Cell_Plist, constant_type(), Cur_Fil_Name, Cur_Lib_Name, Expand_Flag, extract_directory(), f1flush(), get_a_line(), get_token(), get_token_between_braces(), Hierarchy_Flag, Inst_Plist, is_an_extended_identifier(), is_an_identifier(), ISEMPTY, ISNOTEMPTY, LENGTH, LINLENGTH, Max_Depth, MAXDEPTH, MAXPARMS, Net_Lib_Name, Num_Cells, Num_Voids, print_error_banner_and_exit(), print_error_location(), print_limits(), record_cell_nam(), record_file_nam(), simplify_pathname(), STDERR, STRING_DATA_TYPE, STRLENGTH, UNDEFINED, UNKNOWN_KIND, UNKNOWN_TYPE, var_id(), and Var_List.
Referenced by line_parsing().
char * process_gen | ( | char * | str, |
long * | pseudo, | ||
char * | cell ) |
Definition at line 4560 of file lp.c.
References build_pathname(), compact_line(), Cur_Lib_Name, Expand_Flag, extract_directory(), f1flush(), Generator_Lib_Name, get_token(), get_token_between_braces(), increment_generator_number(), ISEMPTY, LENGTH, LINLENGTH, Num_Generators, print_error_banner_and_exit(), print_error_location(), print_limits(), resolve_pathnames(), simplify_pathname(), STDERR, STRING_DATA_TYPE, UNDEFINED, UNKNOWN_KIND, var_id(), and Var_List.
Referenced by line_parsing().
long process_width | ( | const char * | brc, |
const char * | tok, | ||
const char * | instr ) |
Definition at line 4986 of file lp.c.
References NAPA_DIGITAL_TYPE, print_error_location(), and STDERR.
Referenced by line_parsing().
void read_doub_format | ( | char * | str | ) |
Definition at line 3959 of file lp.c.
References DEFAULT_R_FORMAT, get_token_between_braces(), ISEMPTY, ISNOTEMPTY, LENGTH, print_error_location(), print_warning_location(), R_Format, R_FORMAT_L, R_FORMAT_M, R_FORMAT_S, R_String_Format, STDERR, and STRLENGTH.
Referenced by get_format().
void read_hex_format | ( | char * | str | ) |
Definition at line 4039 of file lp.c.
References DEFAULT_X_FORMAT, get_token_between_braces(), ISEMPTY, ISNOTEMPTY, LENGTH, NAPA_DIGITAL_TYPE, print_error_location(), print_warning_location(), STDERR, STRLENGTH, X_Format, X_FORMAT_L, X_FORMAT_M, X_FORMAT_S, and X_String_Format.
Referenced by get_format().
void read_int_format | ( | char * | str | ) |
Definition at line 3999 of file lp.c.
References DEFAULT_I_FORMAT, get_token_between_braces(), I_Format, I_FORMAT_L, I_FORMAT_M, I_FORMAT_S, I_String_Format, ISEMPTY, ISNOTEMPTY, LENGTH, NAPA_DIGITAL_TYPE, print_error_location(), print_warning_location(), STDERR, and STRLENGTH.
Referenced by get_format().
void read_str_format | ( | char * | str | ) |
Definition at line 4079 of file lp.c.
References DEFAULT_S_FORMAT, get_token_between_braces(), ISEMPTY, ISNOTEMPTY, LENGTH, print_error_location(), print_warning_location(), S_Format, S_FORMAT_L, S_FORMAT_M, S_FORMAT_S, S_String_Format, STDERR, and STRLENGTH.
Referenced by get_format().
void rearrange_data_interfaces | ( | char * | data_if, |
char * | inst_if, | ||
const unsigned long * | mlin, | ||
const unsigned long * | mfil ) |
Definition at line 5025 of file lp.c.
References clean_line(), get_token(), ISEMPTY, MAX, MAXPARMS, print_error_banner_and_exit(), print_error_location(), STDERR, and STRLENGTH.
Referenced by get_data().
void record_cell_nam | ( | const char * | nam, |
long | cur_depth, | ||
unsigned long * | mlin, | ||
const unsigned long * | mfil ) |
Definition at line 5158 of file lp.c.
References increment_instance_number(), Num_Instances, print_error_banner_and_exit(), print_error_location(), Record_Instantiation_Name, STDERR, and strcpy_alloc().
Referenced by get_data(), and process_cell().
void record_file_nam | ( | long | d, |
const unsigned long * | mlin, | ||
const unsigned long * | mfil ) |
Definition at line 5178 of file lp.c.
References Cur_Fil_Name, fnstrcmp(), increment_filecell_number(), Num_FileCells, print_error_banner_and_exit(), print_error_location(), Record_Cell_File_Table, Record_Cell_File_Usage, STDERR, and strcpy_alloc().
Referenced by get_data(), line_parsing(), and process_cell().
void trap_unconsistencies | ( | void | ) |
Definition at line 5269 of file lp.c.
References Cmdline_Flag, Error_Flag, Fs_Flag, Interpolate_Flag, Num_Headers, Periodic_Flag, Ping_Flag, Ping_List, print_error_location(), print_warning_location(), Sampling_List, STDERR, Terminate_Flag, and Ts_Flag.
Referenced by line_parsing().