preprocessor oprtion -C (keep comments)
This is done by impression of the pcc -C option.
Usual execution path and speed are not changed.
This commit is contained in:
3
tcc.h
3
tcc.h
@ -812,6 +812,7 @@ struct TCCState {
|
||||
char *option_m; /* only -m32/-m64 handled */
|
||||
int print_search_dirs; /* option */
|
||||
int option_r; /* option -r */
|
||||
int option_C; /* option -C, keep comments when -E */
|
||||
int do_bench; /* option -bench */
|
||||
int gen_deps; /* option -MD */
|
||||
char *deps_outfile; /* option -MF */
|
||||
@ -1406,7 +1407,7 @@ ST_FUNC void *tcc_get_symbol_err(TCCState *s, const char *name);
|
||||
#ifndef TCC_TARGET_PE
|
||||
ST_FUNC int tcc_load_dll(TCCState *s1, int fd, const char *filename, int level);
|
||||
ST_FUNC int tcc_load_ldscript(TCCState *s1);
|
||||
ST_FUNC uint8_t *parse_comment(uint8_t *p);
|
||||
ST_FUNC uint8_t *parse_comment(uint8_t *p, int skip);
|
||||
ST_FUNC void minp(void);
|
||||
ST_INLN void inp(void);
|
||||
ST_FUNC int handle_eob(void);
|
||||
|
||||
Reference in New Issue
Block a user