aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/cpp.texi
AgeCommit message (Collapse)AuthorFilesLines
2001-12-10cpp.texi: Don't condition menus on @ifinfo.Joseph Myers1-2/+2
* doc/cpp.texi: Don't condition menus on @ifinfo. Condition the copyright notice formerly conditioned on @ifinfo on @ifnottex instead. f: * g77.texi: Don't condition menus on @ifinfo. ch: * chill.texi: Don't condition menus on @ifinfo. From-SVN: r47842
2001-12-09cpp.texi, [...]: Use American spelling.Joseph Myers1-2/+2
* doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling. From-SVN: r47816
2001-11-14texi2pod.pl: Handle @ifnottex, @iftex and @display.Joseph Myers1-9/+10
contrib: * texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var in verbatim blocks specially. Handle @unnumbered, @unnumberedsec and @center. Allow [a-z] after @enumerate. Handle 0 and numbers greater than 9 in enumerations. gcc: * Makefile.in (POD2MAN): Don't include --section=1. (manext): Rename to man1ext. All users changed. (man7ext): New. (man7dir): New. (generated-manpages): Also depend on $(docdir)/gfdl.7, $(docdir)/gpl.7, and $(docdir)/fsf-funding.7. ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include --section=1 in calls to $(POD2MAN). ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New. (maintainer-clean, install, uninstall): Handle the new man pages. ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi. (installdirs): Create man7dir. * doc/cpp.texi: Include GFDL in this manual. In the man page, refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/invoke.texi: Apply GFDL to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/include/fdl.texi, doc/include/funding.texi, doc/include/gpl.texi: Adjust for conversion by texi2pod.pl. * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7. gcc/cp: * Make-lang.in: Change all uses of $(manext) to $(man1ext). gcc/f: * Make-lang.in: Change all uses of $(manext) to $(man1ext). From-SVN: r46998
2001-10-17c-tree.texi: Eliminate duplicated word.Matt Kraai1-2/+2
* c-tree.texi: Eliminate duplicated word. * cpp.texi: Likewise. * install.texi: Likewise. * invoke.texi: Likewise. * tm.texi: Likewise. From-SVN: r46310
2001-10-09c-common.c: Fix comment typos.Kazu Hirata1-3/+3
* c-common.c: Fix comment typos. * cfgrtl.c: Likewise. * collect2.c: Likewise. * cpplex.c: Likewise. * doloop.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * gcc.c: Likewise. * gcov.c: Likewise. * gcse.c: Likewise. * global.c: Likewise. * ifcvt.c: Likewise. * loop.c: Likewise. * optabs.c: Likewise. * protoize.c: Likewise. * regclass.c: Likewise. * reorg.c: Likewise. * rtl.h: Likewise. * stmt.c: Likewise. * tree.h: Likewise. * doc/cpp.texi: Likewise. * doc/c-tree.texi: Likewise. * doc/extend.texi: Likewise. * doc/invoke.texi: Likewise. * doc/objc.texi: Likewise. * doc/tm.texi: Likewise. From-SVN: r46114
2001-10-08cppmacro.c (_cpp_create_definition): Leave comments off.Neil Booth1-9/+5
* cppmacro.c (_cpp_create_definition): Leave comments off. * doc/cpp.texi: Update. From-SVN: r46089
2001-09-24c-lex.c (cb_def_pragma): Update.Neil Booth1-4/+4
* c-lex.c (cb_def_pragma): Update. (c_lex): Update, and skip padding. * cppexp.c (lex, parse_defined): Update, remove unused variable. * cpphash.h (struct toklist): Delete. (union utoken): New. (struct cpp_context): Update. (struct cpp_reader): New members eof, avoid_paste. (_cpp_temp_token): New. * cppinit.c (cpp_create_reader): Update. * cpplex.c (_cpp_temp_token): New. (_cpp_lex_direct): Add PREV_WHITE when parsing args. (cpp_output_token): Don't print leading whitespace. (cpp_output_line): Update. * cpplib.c (glue_header_name, parse_include, get__Pragma_string, do_include_common, do_line, do_ident, do_pragma, do_pragma_dependency, _cpp_do__Pragma, parse_answer, parse_assertion): Update. (get_token_no_padding): New. * cpplib.h (CPP_PADDING): New. (AVOID_LPASTE): Delete. (struct cpp_token): New union member source. (cpp_get_token): Update. * cppmacro.c (macro_arg): Convert to use pointers to const tokens. (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p, replace_args, quote_string, stringify_arg, parse_arg, next_context, enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput, _cpp_backup_tokens, _cpp_create_definition): Update. (push_arg_context): Delete. (padding_token, push_token_context, push_ptoken_context): New. (make_string_token, make_number_token): Update, rename. (cpp_get_token): Update to handle tokens as pointers to const, and insert padding appropriately. * cppmain.c (struct printer): New member prev. (check_multiline_token): Constify. (do_preprocessing, cb_line_change): Update. (scan_translation_unit): Update to handle spacing. * scan-decls.c (get_a_token): New. (skip_to_closing_brace, scan_decls): Update. * fix-header.c (read_scan_file): Update. * doc/cpp.texi: Update. * gcc.dg/cpp/macro10.c: New test. * gcc.dg/cpp/strify3.c: New test. * gcc.dg/cpp/spacing1.c: Add tests. * gcc.dg/cpp/19990703-1.c: Remove bogus test. * gcc.dg/cpp/20000625-2.c: Fudge to pass. From-SVN: r45793
2001-08-03combine.c, [...]: consistently use "VAX", "VAXen", and "MicroVAX" in ↵Lars Brinkhoff1-2/+2
comments and documentation. * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c, simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h, config/convex/convex.h, config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c, config/mips/mips.h, config/mn10200/mn10200.h, config/mn10300/mn10300.h, config/pdp11/pdp11.md, config/v850/v850.h, config/vax/openbsd.h, config/vax/openbsd1.h, config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h, cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX" in comments and documentation. From-SVN: r44589
2001-07-29cppexp.c (parse_defined): Always record the macro name.Neil Booth1-5/+8
* cppexp.c (parse_defined): Always record the macro name. (lex): Don't worry about identifiers, or special-case CPP_NOT here. (_cpp_parse_expr): Figure out at the end of the routine whether we saw a valid !defined() expression. * cppfiles.c (stack_include_file): Update for mi_valid. (_cpp_pop_file_buffer): Similarly. * cpplex.c (_cpp_lex_token): Similarly. * cpphash.h (enum mi_state, enum mi_ind, mi_state, mi_if_not_defined, mi_lexed): Remove. (mi_valid): New. * cpplib.c (do_if): Simplify. (do_endif, push_conditional, _cpp_handle_directive): Update for renaming of mi_state to mi_valid. * cpp.texi: Add index entries for digraphs, and add comment that C++ refers to them as alternative tokens. From-SVN: r44459
2001-07-04cppinit.c (remove_dup_dirs): Inform if a system include directory is being ↵Nathan Sidwell1-1/+7
reordered. * cppinit.c (remove_dup_dirs): Inform if a system include directory is being reordered. * doc/invoke.texi (Directory Options): GCC warns if you hide a system include. * doc/cpp.texi (Search Paths): Likewise. * doc/gcc.texi (Interoperation): Remove information about -I/usr/include. From-SVN: r43769
2001-06-27c-tree.texi, [...]: Replace . at end of sentences preceded by a capital ↵Joseph Myers1-16/+16
letter with @.. * doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi, doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi, doc/gcov.texi, doc/install-old.texi, doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace . at end of sentences preceded by a capital letter with @.. From-SVN: r43611
2001-06-27cpp.texi, [...]: Use @: where necessary when a full stop does not end a ↵Joseph Myers1-4/+4
sentence. * doc/cpp.texi, doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi, doc/tm.texi: Use @: where necessary when a full stop does not end a sentence. From-SVN: r43600
2001-06-26c-tree.texi, [...]: Use two spaces after ends of sentences.Joseph Myers1-10/+10
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/objc.texi, doc/rtl.texi, doc/tm.texi: Use two spaces after ends of sentences. From-SVN: r43594
2001-06-21contrib.texi, [...]: Use the correct name "Objective-C" everywhere instead ↵Stan Shebs1-7/+7
of "Objective C". * doc/contrib.texi, doc/cpp.texi, doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/objc.texi, doc/tm.texi: Use the correct name "Objective-C" everywhere instead of "Objective C". From-SVN: r43485
2001-06-16cpp.texi, [...]: Update.Neil Booth1-26/+39
* cpp.texi, invoke.texi: Update. * cpp.1, gcc.1: Regenerate. From-SVN: r43419
2001-06-15cpp.texi: Update.Neil Booth1-42/+44
* doc/cpp.texi: Update. * doc/cpp.1: Regenerate. From-SVN: r43414
2001-06-15cpp.texi: Formatting corrections.Zack Weinberg1-299/+319
* doc/cpp.texi: Formatting corrections. Correct buggy example of use of __GNUC__ etc. Clarify $ in identifiers. * doc/cpp.1: Regenerate. From-SVN: r43404
2001-06-15cpp.texi: Revised and brought up to date.Zack Weinberg1-2428/+2946
* doc/cpp.texi: Revised and brought up to date. * doc/cpp.1: Regenerate. From-SVN: r43394
2001-06-02cpp.texi, [...]: Move contents to just after title page.Joseph Myers1-1/+1
* doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi: Move contents to just after title page. ch: * chill.texi: Move contents to just after title page. f: * g77.texi: Move contents to just after title page. java: * gcj.texi: Move contents to just after title page. From-SVN: r42808
2001-06-01c-tree.texi, [...]: Move to doc subdirectory.DJ Delorie1-0/+3734
* c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi, extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi, objc.texi, rtl.texi, tm.texi, texinfo.tex: Move to doc subdirectory. * install.texi: Move to doc/install-old.texi. * gcc.texi: Move to doc, refer to install-old.texi. * Makefile.in: Reflect move of docs to doc/. * f/Make-lang.in: Ditto. * java/Make-lang.in: Ditto. * doc/.cvsignore: New. From-SVN: r42779