FUNCTIONS ^

static void lex_error(yyscan_t yyscanner, char const *const message, ...)

Emit an error message.

static global_state *init_global_state(char *const filename, FILE *outfile)

create and initialize a global_state structure, containing all 'global' variables that are needed during the scanning.

static void destroy_global_state(global_state *state)

free all memory of the global state structure.

static void scanfile(char *const filename, FILE *outputfile)

int main(int argc, char *argv[])

Entry point of the heredoc pre-processor.


parrot