54 #define PLACE(c) ep[c >> 3] |= bittab[c & 07]
55 #define ISTHERE(c) (ep[c >> 3] & bittab[c & 07])
71 char *ep,
char *endbuf,
int seof);
75 #define SEDERR_CGMES "command garbled: %s"
76 #define SEDERR_SMMES "Space missing before filename: %s"
77 #define SEDERR_TMMES "too much command text: %s"
78 #define SEDERR_LTLMES "label too long: %s"
79 #define SEDERR_ULMES "undefined label: %s"
80 #define SEDERR_DLMES "duplicate labels: %s"
81 #define SEDERR_TMLMES "too many labels: %s"
82 #define SEDERR_AD0MES "no addresses allowed: %s"
83 #define SEDERR_AD1MES "only one address allowed: %s"
84 #define SEDERR_TOOBIG "suffix too large: %s"
85 #define SEDERR_OOMMES "out of memory"
86 #define SEDERR_COPFMES "cannot open pattern file: %s"
87 #define SEDERR_COIFMES "cannot open input file: %s"
88 #define SEDERR_TMOMES "too many {'s"
89 #define SEDERR_TMCMES "too many }'s"
90 #define SEDERR_NRMES "first RE may not be null"
91 #define SEDERR_UCMES "unrecognized command: %s"
92 #define SEDERR_TMWFMES "too many files in w commands"
93 #define SEDERR_COMES "cannot open %s"
94 #define SEDERR_CCMES "cannot create %s"
95 #define SEDERR_TMLNMES "too many line numbers"
96 #define SEDERR_TMAMES "too many appends after line %" APR_INT64_T_FMT
97 #define SEDERR_TMRMES "too many reads after line %" APR_INT64_T_FMT
98 #define SEDERR_DOORNG "``\\digit'' out of range: %s"
99 #define SEDERR_EDMOSUB "ending delimiter missing on substitution: %s"
100 #define SEDERR_EDMOSTR "ending delimiter missing on string: %s"
101 #define SEDERR_FNTL "file name too long: %s"
102 #define SEDERR_CLTL "command line too long"
103 #define SEDERR_TSNTSS "transform strings not the same size: %s"
104 #define SEDERR_OLTL "output line too long."
105 #define SEDERR_HSOVERFLOW "hold space overflowed."
106 #define SEDERR_INTERNAL "internal sed error"
#define NBRA
Definition: regexp.h:52
void command_errf(sed_commands_t *commands, const char *fmt,...) __attribute__((format(printf
char * sed_compile(sed_commands_t *commands, sed_comp_args *compargs, char *ep, char *endbuf, int seof)
struct _sed_comp_args sed_comp_args
struct _step_vars_storage step_vars_storage
int nbra
Definition: regexp.h:67
int circf
Definition: regexp.h:66
int size
Definition: regexp.h:62
int low
Definition: regexp.h:61
char * braelist[NBRA]
Definition: regexp.h:60
char * loc2
Definition: regexp.h:58
char * loc1
Definition: regexp.h:58
char * braslist[NBRA]
Definition: regexp.h:59
char * locs
Definition: regexp.h:58