summaryrefslogtreecommitdiff
path: root/gcc/cpp.texi
Commit message (Collapse)AuthorAgeFilesLines
* * cpp.texi: Update for _Pragma.neil2000-11-041-19/+46
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37253 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Update for new command line assertion syntax.neil2000-10-311-3/+5
| | | | | | | | | | | * cpplib.c (cpp_define): Simplify a bit. (cpp_assert, cpp_unassert): Use handle_assertion. (handle_assertion): New function; accept new command line syntax with '='. * testsuite/gcc.dg/cpp/assert3.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37171 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Update.neil2000-10-271-21/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37094 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Update with implementation-defined behavior andneil2000-10-251-13/+106
| | | | | | | internal limits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37054 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Update documentation, including some clarifications,neil2000-09-181-25/+45
| | | | | | | | the treatment of various newline combinations, and space between backslash and newline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36514 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Add @section for assertions.neil2000-08-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35811 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,zack2000-08-021-134/+212
| | | | | | | | | | | | | | | | | | | | cppspec.c: Do not use 'legal' or 'illegal' in error messages and comments. * cppmain.c (cb_define, cb_undef): Don't generate any output if not done_initializing. * cpplex.c (maybe_paste_with_next): When the token after a ## is an omitted rest argument, only delete the token before it if that token is a comma. Do not warn about bogus token pastes for , ## rest_arg. * cpp.texi: Update. * cpp.1: Regenerate. * gcc.dg/cpp/macsyntx.c: Fix error regexp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35421 138bc75d-0d04-0410-961f-82ee72b054a4
* Thu Jul 27 11:54:17 2000 Andrew Cagney <cagney@b1.cygnus.com>cagney2000-07-271-3/+3
| | | | | | | * cpp.texi: Append a trailing full-stop to xrefs where needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35284 138bc75d-0d04-0410-961f-82ee72b054a4
* * contrib.texi, cpp.texi, extend.texi, invoke.texi: Updatelaw2000-07-171-10/+13
| | | | | | | | references to C9X. Change references to -fstd and -flang-isoc9x to refer to -std. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35087 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Update.neil2000-07-111-8/+11
| | | | | | | * gcc.dg/cpp/cmdlne-C.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34957 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Update.neil2000-07-071-16/+65
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34903 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Update to new lexer.neil2000-07-071-845/+948
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34898 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Document #pragma GCC dependencynathan2000-06-301-0/+14
| | | | | | | | | | | | | | | | | * cppfiles.c (open_include_file): Set date to unknown. (_cpp_compare_file_date): New function. (read_include_file): Set file date. * cpphash.h (struct include_file): Add date member. (_cpp_compare_file_date): Prototype. * cpplib.c (parse_include): Add trail parameter. Adjust. (do_include): Adjust parse_include call. (do_import): Likewise. (do_include_next): Likewise. (gcc_pragmas): Add dependency pragma. (do_pragma_dependancy): New pragma. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34808 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Clarify #pragma GCC namespace.nathan2000-06-241-4/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34676 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplib.c (struct pragma_entry): New structure.nathan2000-06-231-10/+18
| | | | | | | | | | | (pragma_dispatch): Pragma dispatcher. (top_pragmas, gcc_pragmas): New static variables. (do_pragma): Use pragma_dispatch. (do_pragma_gcc): New pragma handler. * cpp.texi: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34663 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppinit.c (cpp_reader_init): Initialise col_adjust andneil2000-05-181-0/+7
| | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33982 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplib.c: New feature, #pragma system_header.zack2000-05-171-3/+51
| | | | | | | | * cpp.texi: Document special treatment of system headers, and the various mechanisms to get a header that special treatment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33962 138bc75d-0d04-0410-961f-82ee72b054a4
* * extend.texi: ISO C99 is not a draft anymore.loewis2000-04-111-4/+5
| | | | | | | | * invoke.texi: ISO C++ is not a draft anymore. * cpp.texi: __cplusplus is required by the ISO standard. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33073 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppexp.c (parse_charconst): Null does not end characterneil2000-04-081-0/+38
| | | | | | | | | | | | | | constants. * cppinit.c (ISTABLE): Null character handled as whitespace. * cpplex.c (null_warning): new function. (skip_string): Emit warning if nulls encountered. (_cpp_skip_hspace): Emit warning if nulls encountered. (_cpp_lex_token): Emit warning if nulls encountered. Drop them. * cpp.texi: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33013 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-03-16 Neil Booth <NeilB@earthling.net>neil2000-03-161-4/+6
| | | | | | | | | | * cppinit.c (handle_option): Implement #unassert directive as -A- command line option. (print_help): Update. * cpptexi.c: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32584 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix copyrights.law2000-02-261-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32173 138bc75d-0d04-0410-961f-82ee72b054a4
* Jonathan Larmour <jlarmour@redhat.co.uk>:rth2000-02-161-6/+13
| | | | | | | Add new __GNUC_PATCHLEVEL__ define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32004 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (cppexp.o): Depend on cpphash.h.geoffk1999-09-091-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx. Include cpphash.h. * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx. * cpplib.c (do_define): Generalise to handle poisoned definitions, redefining poisoned identifiers, etc. (do_undef): Don't allow poisoned identifiers to be undefined. (do_pragma): Add #pragma poison. (do_xifdef): Handle `#ifdef xxx' for poisoned xxx. * cccp.c: Add T_POISON node type. (special_symbol): Handle `defined(xxx)' and plain `xxx' for poisoned xxx. (do_define): Generalise to handle poisoned definitions, redefining poisoned identifiers, etc. (do_undef): Don't allow poisoned identifiers to be undefined. (do_pragma): Add #pragma poison. (do_xifdef): Handle `#ifdef xxx' for poisoned xxx. * c-pragma.c (handle_pragma_token): Ignore #pragma poison. * c-pragma.h: Add ps_poison state. We now always have generic pragmas. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29224 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge in gcc2-ss-010999law1999-09-071-8/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29150 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Add a node documenting macro varargs (copiedlaw1999-08-241-2/+64
| | | | | | | from extend.texi). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28814 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-06-14 Zack Weinberg <zack@rabi.columbia.edu>zack1999-06-141-11/+34
| | | | | | | | | * cpp.texi: Minor update. * cpp.1: Regenerate from cpp.texi, using... * contrib/texi2pod.pl: ...this (new file) plus some hand tweaks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27525 138bc75d-0d04-0410-961f-82ee72b054a4
* Trivial change to test new features in the script to update the online docs.law1999-05-271-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27206 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppspec.c: Insert -no-gcc into command line unless -gcc waslaw1999-05-171-36/+72
| | | | | | | | | | | | given by user. * gcc.c (default_compilers): Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc was not given. * objc/lang-specs.h: Likewise. * cpp.texi: Document -x and -std options; explain that -lang is no longer supported. Minor related corrections. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26990 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Fix some typos.law1999-05-131-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26922 138bc75d-0d04-0410-961f-82ee72b054a4
* Copyright fixes.law1999-01-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24535 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi: Update for Fortran usage from Craig.law1998-09-281-5/+45
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22613 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpp.texi, gcc.texi: Add @dircategory, @direntry meant tolaw1998-06-231-7/+4
| | | | | | | accompany previous Makefile.in (install-info) change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20672 138bc75d-0d04-0410-961f-82ee72b054a4
* * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12law1998-04-041-31/+29
| | | | | | | | | for details. * haifa-sched.c: Mirror recent changes from gcc2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18984 138bc75d-0d04-0410-961f-82ee72b054a4
* dummy commit before mergelaw1998-04-031-0/+23
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18980 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly cpp.texi.~30~kenner1997-04-131-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13873 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly cpp.texi.~29~eggert1997-03-261-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13806 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly cpp.texi.~28~eggert1997-03-211-24/+30
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13759 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly cpp.texi.~27~kenner1997-03-191-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13745 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly cpp.texi.~26~kenner1996-12-071-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13226 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly cpp.texi.~25~kenner1996-11-161-8/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13190 138bc75d-0d04-0410-961f-82ee72b054a4
* Formerly cpp.texi.~24~kenner1996-10-091-5/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12928 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkenner1996-09-211-0/+2861
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12748 138bc75d-0d04-0410-961f-82ee72b054a4