CWB
|
This file contains the main function for CQP (interactive loop) More...
#include <stdio.h>
#include <signal.h>
#include "../cl/macros.h"
#include "cqp.h"
#include "eval.h"
#include "options.h"
#include "macro.h"
#include "variables.h"
#include "output.h"
#include "ascii-print.h"
This file contains the main function for CQP (interactive loop)
In addition, it contains the functions that interactive CQP will need if command-line editing with GNU Readline is enabled.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main function for the interactive CQP program.
Doesn't do much except call the initialisation function, and then one of the loop-and-parse-input functions.
argc | Number of commandline arguments. |
argv | Pointer to commandline arguments. |
References batchfd, batchmode, child_process, cqp, cqp_parse_file(), get_colour_escape(), get_typeface_escape(), initialize_cqp(), install_signal_handler(), macro_debug, macro_statistics(), use_colour, use_readline, VERSION, and which_app.