coan 4.2.4
The Line Despatch component interface
Collaboration diagram for The Line Despatch component interface:

Modules

 Macro-generated code

Files

file  line_despatch.c
file  line_despatch.h

Functions

void print (void)
void drop (void)
void substitute (const char *replacement)
void line_despatch_no_op (void)

Function Documentation

void drop ( void  )

Drop the line-buffer from output

Definition at line 308 of file line_despatch.c.

References GET_PUBLIC, GET_STATE, and SET_STATE.

Referenced by Delif(), Delse(), Dendif(), Dfalse(), node_proc(), Selse(), Sfalse(), and Strue().

void line_despatch_no_op ( void  )

Config the print() and drop() functions to be no-ops when we are not executing the `source' command, as they are then redundant.

Definition at line 282 of file line_despatch.c.

References flushline_dummy(), and SET_STATE.

Referenced by parse_args().

Here is the call graph for this function:

void print ( void  )

Print the line-buffer to output

Definition at line 288 of file line_despatch.c.

References GET_PUBLIC, GET_STATE, SET_PUBLIC, and SET_STATE.

Referenced by keywordedit(), Pelif(), Pelse(), and Pendif().

void substitute ( const char *  replacement)

Substitute a diagnostic insert for the line in the line-buffer and print it to output.

Parameters:
replacementThe diagnostic insert to print.

Depending on the policy selected by the specified or default value of the --conflict option, a hash-define or hash-undef directive read from input that contradicts one of the --define or --undefine options may be replaced on output with a diagnostic comment or a diagnostic hash-error directive.

Definition at line 317 of file line_despatch.c.

References GET_STATE.

Referenced by insert_pending_contradiction().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines