aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.c
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-05-18 11:09:27 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-05-18 11:09:27 +0000
commit6ab3e7dde0bb5e0ebae56b7182b049c6a3626955 (patch)
tree183a804a4d784ff0a4492f7cc32f7ac45a78527e /gcc/cpphash.c
parentfc5b21380eee9b33e07a59dbdb91c05cfe18a3cf (diff)
downloadgcc-6ab3e7dde0bb5e0ebae56b7182b049c6a3626955.zip
gcc-6ab3e7dde0bb5e0ebae56b7182b049c6a3626955.tar.gz
gcc-6ab3e7dde0bb5e0ebae56b7182b049c6a3626955.tar.bz2
cppinit.c (cpp_reader_init): Initialise col_adjust and default tab stop size.
* cppinit.c (cpp_reader_init): Initialise col_adjust and default tab stop size. (no_num, OPT_ftabstop): New. (handle_option): Handle "ftabstop=" command-line option. (print_help): Document it. * cpplex.c (COLUMN): Remove. (handle_newline): Reset col_adjust. (skip_whitespace): Update col_adjust as tabs encountered. (_cpp_lex_line): Update to use col_adjust. Call skip_whitespace for all whitespace. * cpplib.h (struct cpp_options): New member tabstop. (struct cpp_reader): New member col_adjust. (CPP_BUF_COL): Update. (CPP_BUF_COLUMN): New. * cpp.texi: Document "-ftabstop=" command line option. From-SVN: r33982
Diffstat (limited to 'gcc/cpphash.c')
0 files changed, 0 insertions, 0 deletions