All checks were successful
BuildTest / Build and test (pull_request) Successful in 4m8s
85 lines
1.8 KiB
C
85 lines
1.8 KiB
C
|
|
#line 944 "nuweb.w"
|
|
#include "global.h"
|
|
/* Operating System Dependencies */
|
|
|
|
#line 972 "nuweb.w"
|
|
|
|
#if defined(VMS)
|
|
#define PATH_SEP(c) (c==']'||c==':')
|
|
#define PATH_SEP_CHAR ""
|
|
#define DEFAULT_PATH ""
|
|
#elif defined(MSDOS)
|
|
#define PATH_SEP(c) (c=='\\')
|
|
#define PATH_SEP_CHAR "\\"
|
|
#define DEFAULT_PATH "."
|
|
#else
|
|
#define PATH_SEP(c) (c=='/')
|
|
#define PATH_SEP_CHAR "/"
|
|
#define DEFAULT_PATH "."
|
|
#endif
|
|
|
|
#line 945 "nuweb.w"
|
|
|
|
/* Global variable definitions */
|
|
|
|
#line 1067 "nuweb.w"
|
|
int tex_flag = TRUE;
|
|
int html_flag = FALSE;
|
|
int output_flag = TRUE;
|
|
int compare_flag = TRUE;
|
|
int verbose_flag = FALSE;
|
|
int number_flag = FALSE;
|
|
int scrap_flag = TRUE;
|
|
int dangling_flag = FALSE;
|
|
int xref_flag = FALSE;
|
|
int prepend_flag = FALSE;
|
|
char * dirpath = DEFAULT_PATH; /* Default directory path */
|
|
char * path_sep = PATH_SEP_CHAR;
|
|
int listings_flag = FALSE;
|
|
int version_info_flag = FALSE;
|
|
char default_version_string[] = "no version";
|
|
char * version_string = default_version_string;
|
|
int hyperref_flag = FALSE;
|
|
int hyperopt_flag = FALSE;
|
|
char * hyperoptions = "";
|
|
int includepath_flag = FALSE; /* Do we have an include path? */
|
|
struct incl * include_list = NULL;
|
|
/* The list of include paths */
|
|
|
|
#line 1097 "nuweb.w"
|
|
int nw_char='@';
|
|
|
|
#line 1108 "nuweb.w"
|
|
char *command_name = NULL;
|
|
|
|
#line 1510 "nuweb.w"
|
|
unsigned char current_sector = 1;
|
|
unsigned char prev_sector = 1;
|
|
|
|
#line 1707 "nuweb.w"
|
|
char blockBuff[6400];
|
|
|
|
#line 2422 "nuweb.w"
|
|
int extra_scraps = 0;
|
|
|
|
#line 3906 "nuweb.w"
|
|
char *source_name = NULL;
|
|
int source_line = 0;
|
|
|
|
#line 4241 "nuweb.w"
|
|
int already_warned = 0;
|
|
|
|
#line 5108 "nuweb.w"
|
|
Name *file_names = NULL;
|
|
Name *macro_names = NULL;
|
|
Name *user_names = NULL;
|
|
int scrap_name_has_parameters;
|
|
int scrap_ended_with;
|
|
|
|
#line 946 "nuweb.w"
|
|
|
|
|
|
#line 6478 "nuweb.w"
|
|
label_node * label_tab = NULL;
|