summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-03 19:41:07 +0000
committerobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-03 19:41:07 +0000
commit7bf4eb4dad34d5f3d0908a9813de9ad30874c83f (patch)
tree3586912b22c6071c1626fa03f67b450cccce67dc /gcc
parentfe566ff29531e77bde19488c3c186b364b2230c4 (diff)
downloadgcc-7bf4eb4dad34d5f3d0908a9813de9ad30874c83f.tar.gz
Under the "obviously correct" rule, fix the formatting breakage of people
using 8-space indents vs. a single <tab> character. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40221 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog32
-rw-r--r--gcc/ChangeLog.196
-rw-r--r--gcc/ChangeLog.350
-rw-r--r--gcc/ChangeLog.4170
-rw-r--r--gcc/ChangeLog.lib438
5 files changed, 393 insertions, 393 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 566c3bcda74..a4f7d64429b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -22,17 +22,17 @@ Sat Mar 3 19:47:13 CET 2001 Jan Hubicka <jh@suse.cz>
2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
- * cpplex.c (parse_string): Unconditionally pedwarn.
+ * cpplex.c (parse_string): Unconditionally pedwarn.
2001-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
- * cpp.texi: Update.
- * cppexp.c (parse_number): Update.
- * cpplex.c (parse_string): Pedwarn if multiline string does not
- result from a system header's macro.
- * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
- * cppmacro.c (sys_objmacro_p): Rename sys_macro_p. Return true
- for function-like macros too.
+ * cpp.texi: Update.
+ * cppexp.c (parse_number): Update.
+ * cpplex.c (parse_string): Pedwarn if multiline string does not
+ result from a system header's macro.
+ * cpplib.h (sys_objmacro_p): Rename sys_macro_p.
+ * cppmacro.c (sys_objmacro_p): Rename sys_macro_p. Return true
+ for function-like macros too.
* c-lex.c (lex_number): Update.
2001-03-03 Richard Henderson <rth@redhat.com>
@@ -3084,7 +3084,7 @@ Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2001-01-16 Phil Edwards <pme@sources.redhat.com>
* gcc.c: Revert previous -fsyntax-only-related change; move
- to cp/g++spec.c.
+ to cp/g++spec.c.
2001-01-16 Jakub Jelinek <jakub@redhat.com>
@@ -3111,7 +3111,7 @@ Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2001-01-16 Phil Edwards <pme@sources.redhat.com>
* gcc.c: When -fsyntax-only is given, do not complain about
- unused libraries.
+ unused libraries.
2001-01-15 Richard Henderson <rth@redhat.com>
@@ -3619,7 +3619,7 @@ Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz>
2001-01-12 Phil Edwards <pme@sources.redhat.com>
* extend.texi: Move C++-extension-related node from the C section
- into the C++ section.
+ into the C++ section.
2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
@@ -3742,9 +3742,9 @@ Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz>
2000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
- * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
- (read_name_map): Use IS_ABSOLUTE_PATH.
- * tradcpp.c (get_filename): Likewise.
+ * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
+ (read_name_map): Use IS_ABSOLUTE_PATH.
+ * tradcpp.c (get_filename): Likewise.
2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
@@ -4027,7 +4027,7 @@ Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com)
2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
* reload.c (find_reloads_address): Check for eliminable registers
- when substituting a constant expression for a pseudo.
+ when substituting a constant expression for a pseudo.
2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
@@ -5212,7 +5212,7 @@ Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
2000-12-27 Phil Edwards <pme@sources.redhat.com>
* extend.texi (C++ Extensions): New node for C++ attributes;
- describe init_priority and com_interface.
+ describe init_priority and com_interface.
* invoke.texi: Remove -finit-priority as it now has zero effect.
* install.texi: Fix xref syntax.
* md.texi: Likewise.
diff --git a/gcc/ChangeLog.1 b/gcc/ChangeLog.1
index a117c6c299c..85cf1422a6d 100644
--- a/gcc/ChangeLog.1
+++ b/gcc/ChangeLog.1
@@ -13,12 +13,12 @@ Tue May 18 03:53:37 1999 Craig Burley <craig@jcb-sc.com>
Tue May 18 00:51:46 1999 Krister Walfridsson <cato@df.lth.se>
- * configure.in (arm*-*-netbsd*): Use collect2.
- (i[34567]86-*-netbsd*): Likewise.
- (m68k*-*-netbsd*): Likewise.
- (ns32k-*-netbsd*): Likewise.
- (sparc-*-netbsd*): Likewise.
- (vax-*-netbsd*): Likewise.
+ * configure.in (arm*-*-netbsd*): Use collect2.
+ (i[34567]86-*-netbsd*): Likewise.
+ (m68k*-*-netbsd*): Likewise.
+ (ns32k-*-netbsd*): Likewise.
+ (sparc-*-netbsd*): Likewise.
+ (vax-*-netbsd*): Likewise.
* configure: Rebuilt.
Tue May 18 00:21:34 1999 Zack Weinberg <zack@rabi.phys.columbia.edu>
@@ -57,9 +57,9 @@ Mon May 17 19:45:41 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Mon May 17 07:23:34 1999 Mark Mitchell <mark@codesourcery.com>
* tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match
- reality.
- * expr.c (init_noncopied_parts): Don't generate initializers for
- parts that don't need them.
+ reality.
+ * expr.c (init_noncopied_parts): Don't generate initializers for
+ parts that don't need them.
Mon May 17 02:56:35 PDT 1999 Jeff Law (law@cygnus.com)
@@ -118,7 +118,7 @@ Sat May 15 14:09:08 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
Fri May 14 21:31:36 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.md (*umulqi3_highpart_clobber): Fix operand 2
- constraints order.
+ constraints order.
1999-05-14 Ulrich Drepper <drepper@cygnus.com>
@@ -159,10 +159,10 @@ Thu May 13 01:31:19 1999 Nick Burrett <nick.burrett@btinternet.com>
Wed May 12 18:08:48 1999 David Edelsohn <edelsohn@gnu.org>
Richard Henderson <rth@cygnus.com>
- * rs6000.c (print_operand) [w]: Calculate signed constant more clearly.
- (rs6000_allocate_stack_space): Print as hexadecimal value.
- * rs6000.h (CONST_OK_FOR_LETTER_P): 'L' checks for a signed,
- 16-bit shifted constant. Fix typo for 'P'.
+ * rs6000.c (print_operand) [w]: Calculate signed constant more clearly.
+ (rs6000_allocate_stack_space): Print as hexadecimal value.
+ * rs6000.h (CONST_OK_FOR_LETTER_P): 'L' checks for a signed,
+ 16-bit shifted constant. Fix typo for 'P'.
(EXTRA_CONSTARINT): 'T' checks for a 32-bit mask operand.
* rs6000.md (movsi, addsi3_internal1, movdi, adddi3_internal1):
Use 'L' for shifted constant.
@@ -338,8 +338,8 @@ Sat May 8 01:25:09 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
Fri May 7 19:10:15 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
* sparc.h (GO_IF_LEGITIMATE_ADDRESS): Prohibit REG+REG addressing
- for TFmode when there are no instructions which accept REG+REG
- instructions.
+ for TFmode when there are no instructions which accept REG+REG
+ instructions.
Fri May 7 12:38:54 1999 Jim Wilson <wilson@cygnus.com>
@@ -400,10 +400,10 @@ Wed May 5 23:44:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
Wed May 5 16:26:13 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
* function.c (purge_addressof_replacements): Rename into
- purge_bitfield_addressof_replacements.
+ purge_bitfield_addressof_replacements.
(purge_addressof_replacements): New variable.
(purge_addressof_1): Add code for changing addressof in notes for
- field values which are extracted by usage MEM with narrower mode.
+ field values which are extracted by usage MEM with narrower mode.
(purge_addressof): Initialize purge_bitfield_addressof_replacements.
Wed May 5 07:40:02 1999 Nick Clifton <nickc@cygnus.com>
@@ -620,12 +620,12 @@ Mon Apr 26 23:28:54 1999 Mumit Khan <khan@xraylith.wisc.edu>
(store_one_arg): Change ptr_mode to Pmode in
setup for chkr_set_right_libfunc.
- * c-parse.in (absdcl1): Allow attributes in explicit typespecs.
- (%expect): Update.
- * c-parse.y: Regenerate.
- * c-parse.c: Likewise.
- * objc/objc-parse.c: Likewise.
- * objc/objc-parse.y: Likewise.
+ * c-parse.in (absdcl1): Allow attributes in explicit typespecs.
+ (%expect): Update.
+ * c-parse.y: Regenerate.
+ * c-parse.c: Likewise.
+ * objc/objc-parse.c: Likewise.
+ * objc/objc-parse.y: Likewise.
Mon Apr 26 21:17:41 1999 Jason Merrill <jason@yorick.cygnus.com>
@@ -745,12 +745,12 @@ Mon Apr 26 00:58:54 1999 Jerry Quinn <jquinn@nortelnetworks.com>
Mon Apr 26 00:28:25 1999 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
- * flags.h (inline_max_insns): Declare.
- * integrate.c (inline_max_insns): New variable.
- (function_cannot_inline_p): Use it.
- * toplev.c (main): Add the flag -finline-limit-n.
- (display_help): Document -finline-limit-n.
- * invoke.texi: Document -finline-limit-n
+ * flags.h (inline_max_insns): Declare.
+ * integrate.c (inline_max_insns): New variable.
+ (function_cannot_inline_p): Use it.
+ * toplev.c (main): Add the flag -finline-limit-n.
+ (display_help): Document -finline-limit-n.
+ * invoke.texi: Document -finline-limit-n
Sun Apr 25 23:03:32 1999 Richard Henderson <rth@cygnus.com>
@@ -901,7 +901,7 @@ Tue Apr 20 16:38:11 1999 Richard Henderson <rth@cygnus.com>
Tue Apr 20 17:57:14 1999 Catherine Moore <clm@cygnus.com>
- * config/arm/arm.md (movhi): Add check for odd offset.
+ * config/arm/arm.md (movhi): Add check for odd offset.
Tue Apr 20 13:14:58 EDT 1999 John Wehle (john@feith.com)
@@ -986,13 +986,13 @@ Sat Apr 17 21:30:11 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
Sat Apr 17 21:10:10 1999 Jan Hubicka <hubicka@freesoft.cz>
- * i386.c (i386_preferred_stack_boundary_string): New global variable.
- (i386_preferred_stack_boundary): New global variable.
- (override_functions): Set it. Tidy option setting code.
- * i386.h (TARGET_OPTIONS): New command line option.
- (i386_preferred_stack_boundary_string): Declare it.
- (i386_preferred_stack_boundary): Likewise.
- (PREFERRED_STACK_BOUNDARY): Use i386_preferred_stack_boundary.
+ * i386.c (i386_preferred_stack_boundary_string): New global variable.
+ (i386_preferred_stack_boundary): New global variable.
+ (override_functions): Set it. Tidy option setting code.
+ * i386.h (TARGET_OPTIONS): New command line option.
+ (i386_preferred_stack_boundary_string): Declare it.
+ (i386_preferred_stack_boundary): Likewise.
+ (PREFERRED_STACK_BOUNDARY): Use i386_preferred_stack_boundary.
Sat Apr 17 19:22:38 1999 Jan Hubicka <hubicka@freesoft.cz>
@@ -1000,11 +1000,11 @@ Sat Apr 17 19:22:38 1999 Jan Hubicka <hubicka@freesoft.cz>
Sat Apr 17 19:13:22 1999 Donn Terry <donn@interix.com>
- * i386.h (PRINT_OPERAND_PUNCT_VALID_P): Allow _.
- * i386.c (print_operand): New %_ operator.
+ * i386.h (PRINT_OPERAND_PUNCT_VALID_P): Allow _.
+ * i386.c (print_operand): New %_ operator.
(load_pic_register): Proper number of leading _ in GOT literal.
- * i386.md (prologue_get_pc_and_set_got): Likewise.
- * i386/unix.h (ASM_OUTPUT_MI_THUNK): Likewise.
+ * i386.md (prologue_get_pc_and_set_got): Likewise.
+ * i386/unix.h (ASM_OUTPUT_MI_THUNK): Likewise.
Sat Apr 17 19:13:07 1999 Richard Henderson <rth@cygnus.com>
@@ -1097,12 +1097,12 @@ Thu Apr 15 23:13:35 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
Thu Apr 15 02:45:19 1999 Mumit Khan <khan@xraylith.wisc.edu>
- * aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.
- * configure.in: Use.
- * configure: Rebuilt.
- * acconfig.h (MKDIR_TAKES_ONE_ARG): Add.
- * config.in: Rebuilt.
- * system.h: Use.
+ * aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.
+ * configure.in: Use.
+ * configure: Rebuilt.
+ * acconfig.h (MKDIR_TAKES_ONE_ARG): Add.
+ * config.in: Rebuilt.
+ * system.h: Use.
Thu Apr 15 01:03:21 1999 Jan Hubicka <hubicka@freesoft.cz>
Jeff Law <law@cygnus.com>
diff --git a/gcc/ChangeLog.3 b/gcc/ChangeLog.3
index feb39cdb4bc..03278d86b98 100644
--- a/gcc/ChangeLog.3
+++ b/gcc/ChangeLog.3
@@ -1403,7 +1403,7 @@ Tue Jun 6 19:25:32 2000 Philippe De Muyter <phdm@macqel.be>
2000-06-06 Nathan Sidwell <nathan@codesourcery.com>
- * eh-common.h (EH_ALLOC_SIZE, EH_ALLOC_ALIGN): New #defines.
+ * eh-common.h (EH_ALLOC_SIZE, EH_ALLOC_ALIGN): New #defines.
(eh_context): Add alloc_mask and alloc_buffer emergency fallback
space.
* libgcc2.c (__eh_alloc): Moved from cp/exception.cc. Fallback on
@@ -3302,33 +3302,33 @@ Wed May 17 18:06:12 2000 John David Anglin <dave@hiauly1.hia.nrc.ca>
Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
* flags.h (warn_unused_function, warn_unused_label,
- warn_unused_parameter, warn_unused_variable, warn_unused_value):
- Replace ``warn_unused''.
+ warn_unused_parameter, warn_unused_variable, warn_unused_value):
+ Replace ``warn_unused''.
(set_Wunused): Add declaration.
* toplev.c (set_Wunused): New function.
(warn_unused_function, warn_unused_label, warn_unused_parameter,
- warn_unused_variable, warn_unused_value): New variables.
+ warn_unused_variable, warn_unused_value): New variables.
(W_options): Add -Wunused-function, -Wunused-function,
- -Wunused-label, -Wunused-parameter, -Wunused-variable and
- -Wunused-value. Delete -Wunused. Handled in decode_W_option.
+ -Wunused-label, -Wunused-parameter, -Wunused-variable and
+ -Wunused-value. Delete -Wunused. Handled in decode_W_option.
* toplev.c (decode_W_option): Update -Wunused flags by calling
- set_Wunused.
- * c-decl.c (c_decode_option): Ditto for -Wall.
+ set_Wunused.
+ * c-decl.c (c_decode_option): Ditto for -Wall.
* stmt.c (expand_expr_stmt, expand_expr_stmt,
- warn_about_unused_variables): Replace warn_unused with more
- explicit warn_unused_value et.al.
+ warn_about_unused_variables): Replace warn_unused with more
+ explicit warn_unused_value et.al.
* function.c (expand_function_end): Ditto.
* c-typeck.c (internal_build_compound_expr,
- internal_build_compound_expr): Ditto.
+ internal_build_compound_expr): Ditto.
* c-decl.c (poplevel, pop_label_level): Ditto.
* toplev.c (check_global_declarations): Replace warn_unused with
check for either warn_unused_function or warn_unused_variable.
* gcc.1, invoke.texi (Warning Options): Document
- -Wunused-function, -Wunused-function, -Wunused-label,
- -Wunused-parameter, -Wunused-variable and -Wunused-value options.
+ -Wunused-function, -Wunused-function, -Wunused-label,
+ -Wunused-parameter, -Wunused-variable and -Wunused-value options.
Wed May 17 10:28:12 2000 Philippe De Muyter <phdm@macqel.be>
@@ -3941,7 +3941,7 @@ Tue May 9 22:28:03 2000 Denis Chertykov <denisc@overta.ru>
Tue May 9 20:52:43 2000 Denis Chertykov <denisc@overta.ru>
- * config/avr/avr-protos.h (extra_constraint): change a type of
+ * config/avr/avr-protos.h (extra_constraint): change a type of
second argument from char to int to avoid warnings.
(asm_output_byte): Likewise.
@@ -4255,15 +4255,15 @@ Sun May 7 00:54:57 EDT 2000 John Wehle (john@feith.com)
2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
- * cpphash.h: Remove conditional #define of __extension__.
- * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
- RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
- (ENABLE_RTL_CHECKING only).
- * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
- CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
- (ENABLE_TREE_CHECKING only).
- * varray.h: Add __extension__ to VARRAY_CHECK macro
- (ENABLE_CHECKING only).
+ * cpphash.h: Remove conditional #define of __extension__.
+ * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
+ RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
+ (ENABLE_RTL_CHECKING only).
+ * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
+ CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
+ (ENABLE_TREE_CHECKING only).
+ * varray.h: Add __extension__ to VARRAY_CHECK macro
+ (ENABLE_CHECKING only).
2000-05-06 Richard Earnshaw (reanrsha@arm.com)
@@ -5280,7 +5280,7 @@ Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
2000-04-27 Ulrich Drepper <drepper@cygnus.com>
* i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
- for call instruction with mode QImode.
+ for call instruction with mode QImode.
2000-04-27 Alex Samuel <samuel@codesourcery.com>
@@ -5637,7 +5637,7 @@ Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
* config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
in fr_pad_size calculation.
(save_restore_insns): Move PR save area. Correct uses of
- RTX_FRAME_RELATED_P.
+ RTX_FRAME_RELATED_P.
(ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
(ia64_expand_epilogue): Add eh_epilogue support.
(ia64_function_prologue): Emit .prologue directive.
diff --git a/gcc/ChangeLog.4 b/gcc/ChangeLog.4
index 8e324a411e8..f450baa55ec 100644
--- a/gcc/ChangeLog.4
+++ b/gcc/ChangeLog.4
@@ -210,8 +210,8 @@
2000-12-27 Chandrakala Chavva <cchavva@redhat.com>
* calls.c (store_one_arg): If parm is passed both in stack and in
- register and offset is greater than reg_parm_stack_space, split
- the offset and call emit_push_insn().
+ register and offset is greater than reg_parm_stack_space, split
+ the offset and call emit_push_insn().
2000-12-27 Nick Clifton <nickc@redhat.com>
@@ -354,8 +354,8 @@
2000-12-22 Graham Stott <grahams@redhat.com>
* reload.c (update_auto_inc_notes): New, broken out from ...
- (find_reloads_address_1): ... use here, also correct possible
- use of uninitialised reloadnum.
+ (find_reloads_address_1): ... use here, also correct possible
+ use of uninitialised reloadnum.
2000-12-21 David O'Brien <obrien@FreeBSD.org>
@@ -636,24 +636,24 @@ Tue Dec 19 00:37:08 2000 J"orn Rennecke <amylaar@redhat.com>
2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
- * cppmain.c: Update print.lineno with -P.
+ * cppmain.c: Update print.lineno with -P.
2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
- * c-lex.c: s/change_file/file_change.
- * cpplib.h: Similarly.
- * cppmain.c: Similarly.
- * fix-header.c: Similarly.
- * cppfiles.c (stack_include_file): Pass the buffer location and
- size to cpp_push_buffer. Generate the file_change callback,
- so that sysp is already set.
- * cpphash.h: Add _cpp_do_file_change.
- * cpplib.c (do_line): Set buffer->sysp directly. Generate the
- file_change callback after setting sysp.
- (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
- here.
- (cpp_push_buffer): Don't generate a callback. Clear sysp.
- (cpp_pop_buffer): Clean up logic.
+ * c-lex.c: s/change_file/file_change.
+ * cpplib.h: Similarly.
+ * cppmain.c: Similarly.
+ * fix-header.c: Similarly.
+ * cppfiles.c (stack_include_file): Pass the buffer location and
+ size to cpp_push_buffer. Generate the file_change callback,
+ so that sysp is already set.
+ * cpphash.h: Add _cpp_do_file_change.
+ * cpplib.c (do_line): Set buffer->sysp directly. Generate the
+ file_change callback after setting sysp.
+ (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
+ here.
+ (cpp_push_buffer): Don't generate a callback. Clear sysp.
+ (cpp_pop_buffer): Clean up logic.
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
@@ -667,11 +667,11 @@ Tue Dec 19 00:37:08 2000 J"orn Rennecke <amylaar@redhat.com>
2000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
- * c-lex.c (lex_lineno): Remove.
- (init_c_lex, c_lex): Remove lex_lineno.
- (cb_change_file): Update lineno correctly, both before calling
- push_srcloc and before leaving the function.
- (cb_def_pragma): Set lineno before outputting diagnostics.
+ * c-lex.c (lex_lineno): Remove.
+ (init_c_lex, c_lex): Remove lex_lineno.
+ (cb_change_file): Update lineno correctly, both before calling
+ push_srcloc and before leaving the function.
+ (cb_def_pragma): Set lineno before outputting diagnostics.
Sun Dec 17 18:45:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
@@ -681,15 +681,15 @@ Sun Dec 17 18:45:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
- * cpplib.h (struct cpp_reader): Remove references to string_pool
- and temp_string_pool.
- * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
- ident_pool in place.
- * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
- save_comment, cpp_token_as_text): Similarly.
- * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
- * cppmacro.c (make_number_token, builtin_macro, lock_pools,
- unlock_pools, stringify_arg, paste_tokens): Similarly.
+ * cpplib.h (struct cpp_reader): Remove references to string_pool
+ and temp_string_pool.
+ * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
+ ident_pool in place.
+ * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
+ save_comment, cpp_token_as_text): Similarly.
+ * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
+ * cppmacro.c (make_number_token, builtin_macro, lock_pools,
+ unlock_pools, stringify_arg, paste_tokens): Similarly.
Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
@@ -704,10 +704,10 @@ Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
- * cppmain.c (check_multiline_token): New function.
- (scan_buffer): Use it.
- (cb_change_file): Restructure to avoid warning.
- * cpperror.c (print_location): Initialize col.
+ * cppmain.c (check_multiline_token): New function.
+ (scan_buffer): Use it.
+ (cb_change_file): Restructure to avoid warning.
+ * cpperror.c (print_location): Initialize col.
2000-12-14 Philipp Thomas <pthomas@suse.de>
@@ -739,21 +739,21 @@ Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
- * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
- * cpperror.c (print_containing_files): Get right line number.
- (print_location): Output column of 1 if 0.
- * cppfiles.c (stack_include_file): cpp_push_buffer handles
- the callback.
- * cpphash.h (_cpp_do_file_change): No longer external.
- * cpplib.c (do_file_change): Now local to cpplib.c.
- (do_line): Fake a buffer stack for preprocessed files.
- (cpp_push_buffer): Create a file_change callback. Handle faked
- buffers.
- (cpp_pop_buffer): Similarly.
- * cpplib.h: BUF_FAKE: New buffer type.
- * cppmain.c: Update to handle correct file renaming where a
- #line is the first line of the main file, and produce only
- the renamed file, not the original file, as output.
+ * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
+ * cpperror.c (print_containing_files): Get right line number.
+ (print_location): Output column of 1 if 0.
+ * cppfiles.c (stack_include_file): cpp_push_buffer handles
+ the callback.
+ * cpphash.h (_cpp_do_file_change): No longer external.
+ * cpplib.c (do_file_change): Now local to cpplib.c.
+ (do_line): Fake a buffer stack for preprocessed files.
+ (cpp_push_buffer): Create a file_change callback. Handle faked
+ buffers.
+ (cpp_pop_buffer): Similarly.
+ * cpplib.h: BUF_FAKE: New buffer type.
+ * cppmain.c: Update to handle correct file renaming where a
+ #line is the first line of the main file, and produce only
+ the renamed file, not the original file, as output.
2000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
@@ -774,7 +774,7 @@ Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
- to c4x_init_builtins.
+ to c4x_init_builtins.
* config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
@@ -837,12 +837,12 @@ Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2000-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
- * tradcpp.c: T_WARNING: New.
- (do_warning): New function.
- (finclude): Skip past the newline and increase the line number
- before calling output_line_command.
- (do_line): Skip the new line after output_line_command. Don't
- pre-decrement the line number.
+ * tradcpp.c: T_WARNING: New.
+ (do_warning): New function.
+ (finclude): Skip past the newline and increase the line number
+ before calling output_line_command.
+ (do_line): Skip the new line after output_line_command. Don't
+ pre-decrement the line number.
2000-12-15 Diego Novillo <dnovillo@redhat.com>
@@ -926,16 +926,16 @@ Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com>
2000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
- * gcc.c (cpp_options): Update to use '&'.
- (struct switchstr): Change type of validated to save space.
- New member 'ordering'.
- (handle_braces, validate_switches): Update to handle '&'.
+ * gcc.c (cpp_options): Update to use '&'.
+ (struct switchstr): Change type of validated to save space.
+ New member 'ordering'.
+ (handle_braces, validate_switches): Update to handle '&'.
2000-12-13 Laurynas Biveinis <lauras@softhome.net>
- * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
- found in a header.
- * fixinc/fixincl.x: regenerated.
+ * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
+ found in a header.
+ * fixinc/fixincl.x: regenerated.
2000-12-13 DJ Delorie <dj@redhat.com>
@@ -970,25 +970,25 @@ Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com>
2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
- * tradcpp.c (special_symbol): Improve test for definedness,
- though it is still not perfect.
- (do_define): Don't define illegal macro names.
+ * tradcpp.c (special_symbol): Improve test for definedness,
+ though it is still not perfect.
+ (do_define): Don't define illegal macro names.
2000-12-07 Aldy Hernandez <aldyh@redhat.com>
- * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
- if changing into .bss section.
- * config/mips/elf64.h: same.
- * config/mips/iris6.h: same.
- * config/mips/netbsd.h: same.
- * config/mips/openbsd.h: same.
+ * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
+ if changing into .bss section.
+ * config/mips/elf64.h: same.
+ * config/mips/iris6.h: same.
+ * config/mips/netbsd.h: same.
+ * config/mips/openbsd.h: same.
2000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
- * cppfiles.c (read_name_map): Return null if open () fails.
- (remap_filename): Simplify logic. Add ICE if it doesn't work
- as expected. Perform secondary lookup attempt on base filename
- only.
+ * cppfiles.c (read_name_map): Return null if open () fails.
+ (remap_filename): Simplify logic. Add ICE if it doesn't work
+ as expected. Perform secondary lookup attempt on base filename
+ only.
Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz>
@@ -1010,8 +1010,8 @@ Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz>
2000-12-12 Brad Lucier <lucier@math.purdue.edu>
- * tradcpp.c (do_error): Cast difference of pointers to int
- for error message.
+ * tradcpp.c (do_error): Cast difference of pointers to int
+ for error message.
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
@@ -1035,9 +1035,9 @@ Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz>
2000-12-12 Neil Booth <neil@daikokuya.demon.co.uk>
- * tradcpp.c (enum node_type): Add T_ERROR.
- (do_error): New function.
- (directive_table): Add #error handler.
+ * tradcpp.c (enum node_type): Add T_ERROR.
+ (do_error): New function.
+ (directive_table): Add #error handler.
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
@@ -4493,7 +4493,7 @@ Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz>
2000-11-07 Neil Booth <neilb@earthling.net>
- * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
+ * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
diff --git a/gcc/ChangeLog.lib b/gcc/ChangeLog.lib
index 7e03e765521..5eb4fa28112 100644
--- a/gcc/ChangeLog.lib
+++ b/gcc/ChangeLog.lib
@@ -1,6 +1,6 @@
Wed Jan 1 17:54:47 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
- * pexecute.c (pexecute, [_WIN32]): Yes, mask termstat for mingw32.
+ * pexecute.c (pexecute, [_WIN32]): Yes, mask termstat for mingw32.
Mon Dec 22 18:59:34 1997 Pascal Obry <pascal.obry@der.edfgdf.fr>
@@ -74,7 +74,7 @@ Tue Sep 9 18:23:57 1997 Doug Evans <dje@cygnus.com>
1997-08-08 Paul Eggert <eggert@twinsun.com>
* choose-temp.c, pexecute.c:
- Include "config.h" first, as per autoconf manual.
+ Include "config.h" first, as per autoconf manual.
1997-08-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
@@ -208,7 +208,7 @@ Wed Jan 15 22:36:59 1997 Jim Meyering <meyering@kropotkin.gnu.ai.mit.edu>
Tue Jan 7 14:29:37 1997 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
* config.guess: Add hppa1.1-hitachi-hiuxmpp support, passed along
- by rms.
+ by rms.
Sat Jan 4 22:43:21 1997 Miles Bader <miles@gnu.ai.mit.edu>
@@ -312,7 +312,7 @@ Fri Nov 8 11:34:58 1996 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
LynxOs is not a hardware supplier.
* config.guess: Contributions from bug-gnu-utils to add support for:
- OpenBSD like NetBSD.
+ OpenBSD like NetBSD.
Stratus systems.
More Pyramid systems.
i[n>4]86 Intel chips.
@@ -385,7 +385,7 @@ Fri Jun 28 13:29:05 1996 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
Tue Jun 25 22:43:48 1996 Doug Evans <dje@cygnus.com>
- * pexecute.c (PEXECUTE_VERBOSE): Define.
+ * pexecute.c (PEXECUTE_VERBOSE): Define.
(MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
Mon Jun 24 14:32:22 1996 Jim Wilson <wilson@cygnus.com>
@@ -434,7 +434,7 @@ Wed May 22 17:20:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
Tue May 21 18:55:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* config.sub: Restore `hp9k2[0-9][0-9] | hp9k31[0-9])' case line
- apparently accidentally removed in the last change.
+ apparently accidentally removed in the last change.
Mon May 20 11:58:15 1996 Jeffrey A. Law <law@cygnus.com>
@@ -442,8 +442,8 @@ Mon May 20 11:58:15 1996 Jeffrey A. Law <law@cygnus.com>
Fri May 3 02:35:56 1996 Noah Friedman <friedman@prep.ai.mit.edu>
- * mkinstalldirs: Don't report an error if mkdir fails because
- a directory was created by another process.
+ * mkinstalldirs: Don't report an error if mkdir fails because
+ a directory was created by another process.
Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
@@ -452,9 +452,9 @@ Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
* obstack.h [__STDC__] (obstack_init, obstack_begin,
- obstack_specify_allocation, obstack_specify_allocation_with_arg,
- obstack_chunkfun, obstack_freefun): Duplicate definition with complete
- type cast.
+ obstack_specify_allocation, obstack_specify_allocation_with_arg,
+ obstack_chunkfun, obstack_freefun): Duplicate definition with complete
+ type cast.
Wed Apr 17 14:28:43 1996 Doug Evans <dje@cygnus.com>
@@ -544,7 +544,7 @@ Thu Feb 22 15:51:09 1996 Karl Heuer <kwzh@gnu.ai.mit.edu>
Tue Feb 13 13:20:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
* getopt.c (_getopt_internal): Give FIRST_NONOPT & LAST_NONOPT
- rational values if OPTIND has been moved back by the user.
+ rational values if OPTIND has been moved back by the user.
Mon Feb 12 18:23:35 1996 Doug Evans <dje@cygnus.com>
@@ -714,7 +714,7 @@ Fri Aug 4 10:27:54 1995 Jim Meyering (meyering@comco.com)
Tue Aug 1 14:29:43 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* getloadavg.c (getloadavg): Set FD_CLOEXEC flag on /dev/kmem file
- descriptor.
+ descriptor.
Wed Jul 26 00:26:34 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
@@ -735,12 +735,12 @@ Thu Jun 22 18:36:42 1995 Uwe Seimet (seimet@iris1.chemie.uni-kl.de)
Tue Jun 20 02:41:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* getloadavg.c [convex] (LOAD_AVE_TYPE, LDAV_CVT): Define to
- double, no conversion.
+ double, no conversion.
* obstack.c (OBSTACK_INTERFACE_VERSION): New macro. Rewrote
- conditionals to use that macro to ensure that the installed GNU
- libc supports the interface the obstack.h corresponding to this
- obstack.c needs, and only then elide the code in this file.
+ conditionals to use that macro to ensure that the installed GNU
+ libc supports the interface the obstack.h corresponding to this
+ obstack.c needs, and only then elide the code in this file.
Sun May 28 18:53:29 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
@@ -795,13 +795,13 @@ Thu Apr 27 13:11:11 1995 Jim Meyering (meyering@comco.com)
Thu Apr 27 09:22:33 1995 Peder Chr. Norgaard <pcn@tbit.dk>
- * config.guess (i[34]86:*:3.2:*) test for /usr/options/cb.name
+ * config.guess (i[34]86:*:3.2:*) test for /usr/options/cb.name
before calling uname.
Wed Apr 26 17:19:34 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* signame.c [HAVE_UNISTD_H]: Include unistd.h so it can declare
- sys_siglist.
+ sys_siglist.
Wed Apr 26 14:00:00 1995 Michael Meissner (meissner@cygnus.com)
@@ -828,8 +828,8 @@ Thu Apr 6 19:55:54 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
Fri Mar 24 00:52:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* getopt.c (_getopt_internal): When optind is zero, bump it to 1
- after initializing; we don't want to scan ARGV[0], which is the
- program name.
+ after initializing; we don't want to scan ARGV[0], which is the
+ program name.
Tue Mar 21 16:44:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
@@ -897,7 +897,7 @@ Wed Dec 21 15:51:08 1994 Warner Losh (imp@boulder.openware.com)
Tue Dec 6 02:29:42 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* config.guess (dummy.c) [sony]: Include <sys/param.h> and emit
- newsos4 #ifdef NEWSOS4.
+ newsos4 #ifdef NEWSOS4.
Tue Nov 29 17:01:29 1994 Mark Dapoz (md@bsc.no)
@@ -949,18 +949,18 @@ Tue Nov 1 14:24:39 1994 Per Bothner (bothner@spiff.gnu.ai.mit.edu)
Mon Oct 31 07:02:15 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* getopt.h: Change #if __STDC__ to #if defined (__STDC__) &&
- __STDC__.
+ __STDC__.
* getopt.c: Change #ifndef __STDC__ to #if !defined (__STDC__) ||
- !__STDC__.
+ !__STDC__.
* getopt1.c: Likewise.
* obstack.c: Change #ifdef __STDC__ to #if defined (__STDC__) &&
- __STDC__.
+ __STDC__.
* obstack.h: Likewise.
Wed Oct 26 20:34:59 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* getloadavg.c [alliant && i860] (FSCALE): Move defn before
- #ifndef FSCALE.
+ #ifndef FSCALE.
Tue Oct 25 19:10:41 1994 Paul Eggert <eggert@twinsun.com>
@@ -971,7 +971,7 @@ Tue Oct 25 19:10:41 1994 Paul Eggert <eggert@twinsun.com>
Tue Oct 25 11:22:30 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
* xmalloc.c (xmalloc, xrealloc): If 0 bytes requested, pretend
- it's 1, for diff.
+ it's 1, for diff.
Thu Oct 20 18:47:53 1994 Per Bothner (bothner@wombat.gnu.ai.mit.edu)
@@ -1036,7 +1036,7 @@ Thu Sep 29 18:47:34 1994 Jerry Frain (jerry@sneffels.tivoli.com)
Wed Sep 28 17:00:12 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* getloadavg.c [alliant && i860] (LOAD_AVE_TYPE, FSCALE,
- NLIST_STRUCT): Define.
+ NLIST_STRUCT): Define.
Mon Sep 26 17:53:05 1994 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
@@ -1204,7 +1204,7 @@ Mon Jun 6 04:59:28 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
Sat Jun 4 01:24:59 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
* getloadavg.c: Put #include of errno.h and decl of errno before
- #ifndef HAVE_GETLOADAVG.
+ #ifndef HAVE_GETLOADAVG.
Thu Jun 2 13:42:39 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
@@ -1268,8 +1268,8 @@ Fri Apr 15 22:46:59 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
Tue Apr 12 15:05:08 1994 Noah Friedman (friedman@prep.ai.mit.edu)
- * config.guess: Merge rms' new entry for i486-ncr-sysv4 with the
- previously existing one.
+ * config.guess: Merge rms' new entry for i486-ncr-sysv4 with the
+ previously existing one.
Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
@@ -1302,13 +1302,13 @@ Tue Mar 1 21:53:03 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu)
Thu Feb 24 14:54:23 1994 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
- * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
- (_getopt_initialize): New function, broken out of _getopt_internal.
- (_getopt_internal):
- If long_only and the ARGV-element has the form "-f", where f is
- a valid short option, don't consider it an abbreviated form of
- a long option that starts with f. Otherwise there would be no
- way to give the -f short option.
+ * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
+ (_getopt_initialize): New function, broken out of _getopt_internal.
+ (_getopt_internal):
+ If long_only and the ARGV-element has the form "-f", where f is
+ a valid short option, don't consider it an abbreviated form of
+ a long option that starts with f. Otherwise there would be no
+ way to give the -f short option.
Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
@@ -1326,20 +1326,20 @@ Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
Tue Feb 8 14:14:31 1994 David J. MacKenzie (djm at douglas.gnu.ai.mit.edu)
- Handle obstack_chunk_alloc returning NULL. This allows
- obstacks to be used by libraries, without forcing them
- to call exit or longjmp.
- * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
- If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
- (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
- * obstack.h (struct obstack): Add alloc_failed flag.
- _obstack_begin, _obstack_begin_1): Declare to return int, not void.
- (obstack_finish): If alloc_failed, return NULL.
- (obstack_base, obstack_next_free, objstack_object_size):
- If alloc_failed, return 0.
- (obstack_grow, obstack_grow0, obstack_1grow, obstack_ptr_grow,
- obstack_int_grow, obstack_blank): If alloc_failed, do nothing that
- could corrupt the obstack.
+ Handle obstack_chunk_alloc returning NULL. This allows
+ obstacks to be used by libraries, without forcing them
+ to call exit or longjmp.
+ * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
+ If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
+ (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
+ * obstack.h (struct obstack): Add alloc_failed flag.
+ _obstack_begin, _obstack_begin_1): Declare to return int, not void.
+ (obstack_finish): If alloc_failed, return NULL.
+ (obstack_base, obstack_next_free, objstack_object_size):
+ If alloc_failed, return 0.
+ (obstack_grow, obstack_grow0, obstack_1grow, obstack_ptr_grow,
+ obstack_int_grow, obstack_blank): If alloc_failed, do nothing that
+ could corrupt the obstack.
(obstack_chunkfun, obstack_freefun): New macros, used in GDB.
Sun Jan 30 17:58:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
@@ -1368,7 +1368,7 @@ Sun Dec 26 03:58:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
- * getopt.c (_NO_PROTO): Define before config.h is included.
+ * getopt.c (_NO_PROTO): Define before config.h is included.
Wed Dec 22 17:01:19 1993 Jim Meyering (meyering@comco.com)
@@ -1383,7 +1383,7 @@ Tue Dec 07 14:52:39 1993 Jim Meyering (meyering@comco.com)
Sat Nov 20 17:47:50 1993 Noah Friedman (friedman@gnu.ai.mit.edu)
- * error.c (error): fflush stdout before writing to stderr.
+ * error.c (error): fflush stdout before writing to stderr.
Tue Nov 09 10:05:48 1993 Jim Meyering (meyering@comco.com)
@@ -1392,7 +1392,7 @@ Tue Nov 09 10:05:48 1993 Jim Meyering (meyering@comco.com)
Thu Nov 4 12:59:19 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
* config.guess: add support for {i386,m68k,sparc} LynxOS; Hitachi
- HPPA machines; Acorn Risc Machines; DG/UX; Motorola SVr3 on m88k
+ HPPA machines; Acorn Risc Machines; DG/UX; Motorola SVr3 on m88k
Wed Nov 3 08:06:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
@@ -1660,8 +1660,8 @@ Sun May 23 13:53:12 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
Sun May 23 05:47:31 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
- * mkinstalldirs (errstatus): New variable.
- Use inner `for' loop instead of `while test' on $#.
+ * mkinstalldirs (errstatus): New variable.
+ Use inner `for' loop instead of `while test' on $#.
Sat May 22 20:14:23 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
@@ -2045,8 +2045,8 @@ Sat Nov 7 13:50:27 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
Sat Nov 7 03:28:08 1992 Jim Blandy (jimb@apple-gunkies.gnu.ai.mit.edu)
- * getdate.y [emacs]: Include <config.h>; under Emacs, we get
- some additional configuration information from that.
+ * getdate.y [emacs]: Include <config.h>; under Emacs, we get
+ some additional configuration information from that.
Sat Nov 7 00:53:35 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
@@ -2100,13 +2100,13 @@ Wed Sep 30 13:54:36 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
Tue Sep 29 07:36:29 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
- * getloadavg.c: if symbol `sony_news' is defined, define
- NLIST_STRUCT and declare LOAD_AVE_TYPE as long.
+ * getloadavg.c: if symbol `sony_news' is defined, define
+ NLIST_STRUCT and declare LOAD_AVE_TYPE as long.
Thu Sep 17 20:10:03 1992 Karl Berry (karl@geech.gnu.ai.mit.edu)
- * regex.[ch]: made links into ../regex/, per rms' suggestion.
- Please put further ChangeLog entries there.
+ * regex.[ch]: made links into ../regex/, per rms' suggestion.
+ Please put further ChangeLog entries there.
Tue Sep 15 20:13:30 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
@@ -2131,7 +2131,7 @@ Fri Sep 11 10:42:24 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
Fri Sep 11 07:46:21 1992 Karl Berry (karl@hal.gnu.ai.mit.edu)
- * regex.h (_RE_ARGS) [!__STDC__]: expand to empty parens.
+ * regex.h (_RE_ARGS) [!__STDC__]: expand to empty parens.
Fri Sep 11 00:57:56 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
@@ -2156,13 +2156,13 @@ Thu Sep 10 16:35:10 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
Wed Sep 9 21:49:20 1992 Karl Berry (karl@apple-gunkies.gnu.ai.mit.edu)
- * regex.[ch]: version 0.10, incorporating below changes and
- more. See /gd/gnu/lib/regex-*/ChangeLog.
+ * regex.[ch]: version 0.10, incorporating below changes and
+ more. See /gd/gnu/lib/regex-*/ChangeLog.
Wed Sep 9 03:09:55 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
- * malloc.c: if USG, define macros for bcopy and bzero.
- Don't redefine USG for hpux if already defined.
+ * malloc.c: if USG, define macros for bcopy and bzero.
+ Don't redefine USG for hpux if already defined.
Tue Sep 1 16:46:47 1992 Jim Blandy (jimb@pogo.cs.oberlin.edu)
@@ -2233,8 +2233,8 @@ Sat Aug 1 00:11:25 1992 Fred Fish (fnf at fishpond)
Wed Jul 29 18:53:13 1992 Karl Berry (karl@hal)
- * regex.c: version 0.9; fixes bug wrt always finding the longest
- match. See /gd/gnu/lib/regex-*/ChangeLog.
+ * regex.c: version 0.9; fixes bug wrt always finding the longest
+ match. See /gd/gnu/lib/regex-*/ChangeLog.
Sun Jul 26 18:24:13 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
@@ -2302,8 +2302,8 @@ Sat Jul 11 13:24:12 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
Fri Jul 10 15:01:25 1992 Karl Berry (karl@hal)
- * regex.[ch]: new version (0.8), incorporating the changes
- below. See /gd/gnu/regex/ChangeLog.
+ * regex.[ch]: new version (0.8), incorporating the changes
+ below. See /gd/gnu/regex/ChangeLog.
Fri Jul 10 03:46:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
@@ -2341,7 +2341,7 @@ Wed Jul 8 12:38:37 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
Sat Jul 4 07:53:45 1992 Karl Berry (karl@hal)
- * regex.c (re_compile_fastmap): init succeed_n_p (to false).
+ * regex.c (re_compile_fastmap): init succeed_n_p (to false).
Fri Jul 3 14:45:29 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
@@ -2354,7 +2354,7 @@ Thu Jul 2 15:47:20 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
Wed Jul 1 11:48:37 1992 Karl Berry (karl@hal)
- * regex.[ch]: new version (0.7). See /gd/gnu/regex/ChangeLog.
+ * regex.[ch]: new version (0.7). See /gd/gnu/regex/ChangeLog.
Sun Jun 28 06:05:39 1992 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
@@ -2394,7 +2394,7 @@ Mon Jun 8 18:03:28 1992 Jim Blandy (jimb@pogo.cs.oberlin.edu)
Wed Jun 3 16:59:49 1992 Karl Berry (karl@geech.gnu.ai.mit.edu)
- * regex.[ch]: new version (0.6). See ~karl/regex/ChangeLog.
+ * regex.[ch]: new version (0.6). See ~karl/regex/ChangeLog.
Sat May 23 22:28:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
@@ -2409,7 +2409,7 @@ Fri May 22 14:50:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
Thu May 14 16:50:28 1992 Karl Berry (karl@kropotkin.gnu.ai.mit.edu)
- * regex.c, regex.h: new version (0.5). See ~karl/regex/ChangeLog.
+ * regex.c, regex.h: new version (0.5). See ~karl/regex/ChangeLog.
Tue May 12 03:27:19 1992 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
@@ -2496,7 +2496,7 @@ Sun Mar 15 22:50:30 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
Thu Mar 12 14:26:48 1992 Karl Berry (karl@apple-gunkies.gnu.ai.mit.edu)
- * regex.[ch]: new version (0.4). See ~karl/regex/ChangeLog.
+ * regex.[ch]: new version (0.4). See ~karl/regex/ChangeLog.
Tue Mar 10 22:26:14 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
@@ -2515,8 +2515,8 @@ Tue Feb 25 21:23:50 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
Thu Feb 20 13:04:57 1992 Karl Berry (karl@wombat.gnu.ai.mit.edu)
- * regex.[ch]: new version (0.3). See ~karl/regex/ChangeLog for all
- the details.
+ * regex.[ch]: new version (0.3). See ~karl/regex/ChangeLog for all
+ the details.
Wed Feb 19 23:04:05 1992 Charles Hannum (mycroft@gnu.ai.mit.edu)
@@ -2577,8 +2577,8 @@ Tue Jan 7 02:08:10 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu)
Mon Jan 6 12:53:42 1992 Karl Berry (karl at apple-gunkies.gnu.ai.mit.edu)
- * regex.[ch]: new versions. See ~karl/regex/ChangeLog for all
- the details.
+ * regex.[ch]: new versions. See ~karl/regex/ChangeLog for all
+ the details.
Tue Dec 24 22:42:59 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
@@ -2669,9 +2669,9 @@ Sat Sep 28 02:01:45 1991 David J. MacKenzie (djm at churchy.gnu.ai.mit.edu)
Wed Sep 4 17:32:51 1991 Kathryn A. Hargreaves (letters at apple-gunkies)
- * regex.[ch]: Put current version (0.1) here, after backing up old
- files. For ChangeLog details, please refer to the ChangeLog
- file in my regex directory.
+ * regex.[ch]: Put current version (0.1) here, after backing up old
+ files. For ChangeLog details, please refer to the ChangeLog
+ file in my regex directory.
Sat Aug 24 04:22:01 1991 David J. MacKenzie (djm at apple-gunkies)
@@ -3096,61 +3096,61 @@ Mon Mar 26 00:36:52 1990 David J. MacKenzie (djm at spike.ai.mit.edu)
Sun Mar 4 12:11:31 1990 Kathy Hargreaves (kathy at hayley)
* regex.h: Added syntax bit RE_NO_EMPTY_RANGES which is set if
- an ending range point has to collate higher or equal to the
- starting range point.
- Added syntax bit RE_NO_HYPHEN_RANGE_END which is set if a hyphen
- can't be an ending range point.
- Set to two above bits in RE_SYNTAX_POSIX_BASIC and
- RE_SYNTAX_POSIX_EXTENDED.
-
- regex.c: (re_compile_pattern): Don't allow empty ranges if the
- RE_NO_EMPTY_RANGES syntax bit is set.
- Don't let a hyphen be a range end if the RE_NO_HYPHEN_RANGE_END
+ an ending range point has to collate higher or equal to the
+ starting range point.
+ Added syntax bit RE_NO_HYPHEN_RANGE_END which is set if a hyphen
+ can't be an ending range point.
+ Set to two above bits in RE_SYNTAX_POSIX_BASIC and
+ RE_SYNTAX_POSIX_EXTENDED.
+
+ regex.c: (re_compile_pattern): Don't allow empty ranges if the
+ RE_NO_EMPTY_RANGES syntax bit is set.
+ Don't let a hyphen be a range end if the RE_NO_HYPHEN_RANGE_END
syntax bit is set.
(ESTACK_PUSH_2): renamed this PUSH_FAILURE_POINT and made it
- push all the used registers on the stack, as well as the number
- of the highest numbered register used, and (as before) the two
- failure points.
+ push all the used registers on the stack, as well as the number
+ of the highest numbered register used, and (as before) the two
+ failure points.
(re_match_2): Fixed up comments.
- Added arrays best_regstart[], best_regstart_seg1[], best_regend[],
- and best_regend_seg1[] to keep track of the best match so far
- whenever reach the end of the pattern but not the end of the
- string, and there are still failure points on the stack with
- which to backtrack; if so, do the saving and force a fail.
+ Added arrays best_regstart[], best_regstart_seg1[], best_regend[],
+ and best_regend_seg1[] to keep track of the best match so far
+ whenever reach the end of the pattern but not the end of the
+ string, and there are still failure points on the stack with
+ which to backtrack; if so, do the saving and force a fail.
If reach the end of the pattern but not the end of the string,
- but there are no more failure points to try, restore the best
- match so far, set the registers and return.
+ but there are no more failure points to try, restore the best
+ match so far, set the registers and return.
Compacted some code.
In stop_memory case, if the subexpression we've just left is in
- a loop, push onto the stack the loop's on_failure_jump failure
- point along with the current pointer into the string (d).
- In finalize_jump case, in addition to popping the failure
- points, pop the saved registers.
+ a loop, push onto the stack the loop's on_failure_jump failure
+ point along with the current pointer into the string (d).
+ In finalize_jump case, in addition to popping the failure
+ points, pop the saved registers.
In the fail case, restore the registers, as well as the failure
- points.
+ points.
Sun Feb 18 15:08:10 1990 Kathy Hargreaves (kathy at hayley)
* regex.c: (global): Defined a macro GET_BUFFER_SPACE which
makes sure you have a specified number of buffer bytes
- allocated.
- Redefined the macro BUFPUSH to use this.
- Added comments.
+ allocated.
+ Redefined the macro BUFPUSH to use this.
+ Added comments.
- (re_compile_pattern): Call GET_BUFFER_SPACE before storing or
- inserting any jumps.
+ (re_compile_pattern): Call GET_BUFFER_SPACE before storing or
+ inserting any jumps.
(re_match_2): Set d to string1 + pos and dend to end_match_1
- only if string1 isn't null.
+ only if string1 isn't null.
Force exit from a loop if it's around empty parentheses.
- In stop_memory case, if found some jumps, increment p2 before
- extracting address to which to jump. Also, don't need to know
- how many more times can jump_n.
+ In stop_memory case, if found some jumps, increment p2 before
+ extracting address to which to jump. Also, don't need to know
+ how many more times can jump_n.
In begline case, d must equal string1 or string2, in that order,
- only if they are not null.
- In maybe_finalize_jump case, skip over start_memorys' and
- stop_memorys' register numbers, too.
+ only if they are not null.
+ In maybe_finalize_jump case, skip over start_memorys' and
+ stop_memorys' register numbers, too.
Thu Feb 15 15:53:55 1990 Kathy Hargreaves (kathy at hayley)
@@ -3164,178 +3164,178 @@ Wed Jan 24 17:07:46 1990 Kathy Hargreaves (kathy at hayley)
Added to some comments.
regex.c: (re_compile_pattern): Tried to bulletproof some code,
- i.e., checked if backward references (e.g., p[-1]) were within
- the range of pattern.
+ i.e., checked if backward references (e.g., p[-1]) were within
+ the range of pattern.
- (re_compile_fastmap): Fixed a bug in succeed_n part where was
- getting the amount to jump instead of how many times to jump.
+ (re_compile_fastmap): Fixed a bug in succeed_n part where was
+ getting the amount to jump instead of how many times to jump.
- (re_search_2): Changed the name of the variable ``total'' to
- ``total_size.''
- Condensed some code.
+ (re_search_2): Changed the name of the variable ``total'' to
+ ``total_size.''
+ Condensed some code.
(re_match_2): Moved the comment about duplicate from above the
- start_memory case to above duplicate case.
+ start_memory case to above duplicate case.
- (global): Rewrote some comments.
- Added commandline arguments to testing.
+ (global): Rewrote some comments.
+ Added commandline arguments to testing.
Wed Jan 17 11:47:27 1990 Kathy Hargreaves (kathy at hayley)
* regex.c: (global): Defined a macro STORE_NUMBER which stores a
- number into two contiguous bytes. Also defined STORE_NUMBER_AND_INCR
+ number into two contiguous bytes. Also defined STORE_NUMBER_AND_INCR
which does the same thing and then increments the pointer to the
storage place to point after the number.
- Defined a macro EXTRACT_NUMBER which extracts a number from two
- continguous bytes. Also defined EXTRACT_NUMBER_AND_INCR which
- does the same thing and then increments the pointer to the
- source to point to after where the number was.
+ Defined a macro EXTRACT_NUMBER which extracts a number from two
+ continguous bytes. Also defined EXTRACT_NUMBER_AND_INCR which
+ does the same thing and then increments the pointer to the
+ source to point to after where the number was.
Tue Jan 16 12:09:19 1990 Kathy Hargreaves (kathy at hayley)
* regex.h: Incorporated rms' changes.
Defined RE_NO_BK_REFS syntax bit which is set when want to
- interpret back reference patterns as literals.
- Defined RE_NO_EMPTY_BRACKETS syntax bit which is set when want
- empty bracket expressions to be illegal.
- Defined RE_CONTEXTUAL_ILLEGAL_OPS syntax bit which is set when want
+ interpret back reference patterns as literals.
+ Defined RE_NO_EMPTY_BRACKETS syntax bit which is set when want
+ empty bracket expressions to be illegal.
+ Defined RE_CONTEXTUAL_ILLEGAL_OPS syntax bit which is set when want
it to be illegal for *, +, ? and { to be first in an re or come
- immediately after a | or a (, and for ^ not to appear in a
- nonleading position and $ in a nontrailing position (outside of
- bracket expressions, that is).
- Defined RE_LIMITED_OPS syntax bit which is set when want +, ?
- and | to always be literals instead of ops.
- Fixed up the Posix syntax.
- Changed the syntax bit comments from saying, e.g., ``0 means...''
- to ``If this bit is set, it means...''.
- Changed the syntax bit defines to use shifts instead of integers.
-
- * regex.c: (global): Incorporated rms' changes.
-
- (re_compile_pattern): Incorporated rms' changes
- Made it illegal for a $ to appear anywhere but inside a bracket
- expression or at the end of an re when RE_CONTEXTUAL_ILLEGAL_OPS
- is set. Made the same hold for $ except it has to be at the
- beginning of an re instead of the end.
+ immediately after a | or a (, and for ^ not to appear in a
+ nonleading position and $ in a nontrailing position (outside of
+ bracket expressions, that is).
+ Defined RE_LIMITED_OPS syntax bit which is set when want +, ?
+ and | to always be literals instead of ops.
+ Fixed up the Posix syntax.
+ Changed the syntax bit comments from saying, e.g., ``0 means...''
+ to ``If this bit is set, it means...''.
+ Changed the syntax bit defines to use shifts instead of integers.
+
+ * regex.c: (global): Incorporated rms' changes.
+
+ (re_compile_pattern): Incorporated rms' changes
+ Made it illegal for a $ to appear anywhere but inside a bracket
+ expression or at the end of an re when RE_CONTEXTUAL_ILLEGAL_OPS
+ is set. Made the same hold for $ except it has to be at the
+ beginning of an re instead of the end.
Made the re "[]" illegal if RE_NO_EMPTY_BRACKETS is set.
- Made it illegal for | to be first or last in an re, or immediately
- follow another | or a (.
- Added and embellished some comments.
+ Made it illegal for | to be first or last in an re, or immediately
+ follow another | or a (.
+ Added and embellished some comments.
Allowed \{ to be interpreted as a literal if RE_NO_BK_CURLY_BRACES
- is set.
- Made it illegal for *, +, ?, and { to appear first in an re, or
- immediately follow a | or a ( when RE_CONTEXTUAL_ILLEGAL_OPS is set.
+ is set.
+ Made it illegal for *, +, ?, and { to appear first in an re, or
+ immediately follow a | or a ( when RE_CONTEXTUAL_ILLEGAL_OPS is set.
Made back references interpreted as literals if RE_NO_BK_REFS is set.
- Made recursive intervals either illegal (if RE_NO_BK_CURLY_BRACES
- isn't set) or interpreted as literals (if is set), if RE_INTERVALS
- is set.
+ Made recursive intervals either illegal (if RE_NO_BK_CURLY_BRACES
+ isn't set) or interpreted as literals (if is set), if RE_INTERVALS
+ is set.
Made it treat +, ? and | as literals if RE_LIMITED_OPS is set.
- Cleaned up some code.
+ Cleaned up some code.
Thu Dec 21 15:31:32 1989 Kathy Hargreaves (kathy at hayley)
* regex.c: (global): Moved RE_DUP_MAX to regex.h and made it
equal 2^15 - 1 instead of 1000.
- Defined NULL to be zero.
- Moved the definition of BYTEWIDTH to regex.h.
- Made the global variable obscure_syntax nonstatic so the tests in
- another file could use it.
-
- (re_compile_pattern): Defined a maximum length (CHAR_CLASS_MAX_LENGTH)
- for character class strings (i.e., what's between the [: and the
- :]'s).
+ Defined NULL to be zero.
+ Moved the definition of BYTEWIDTH to regex.h.
+ Made the global variable obscure_syntax nonstatic so the tests in
+ another file could use it.
+
+ (re_compile_pattern): Defined a maximum length (CHAR_CLASS_MAX_LENGTH)
+ for character class strings (i.e., what's between the [: and the
+ :]'s).
Defined a macro SET_LIST_BIT(c) which sets the bit for C in a
- character set list.
- Took out comments that EXTEND_BUFFER clobbers C.
- Made the string "^" match itself, if not RE_CONTEXT_IND_OPS.
+ character set list.
+ Took out comments that EXTEND_BUFFER clobbers C.
+ Made the string "^" match itself, if not RE_CONTEXT_IND_OPS.
Added character classes to bracket expressions.
- Change the laststart pointer saved with the start of each
- subexpression to point to start_memory instead of after the
- following register number. This is because the subexpression
- might be in a loop.
- Added comments and compacted some code.
+ Change the laststart pointer saved with the start of each
+ subexpression to point to start_memory instead of after the
+ following register number. This is because the subexpression
+ might be in a loop.
+ Added comments and compacted some code.
Made intervals only work if preceded by an re matching a single
- character or a subexpression.
- Made back references to nonexistent subexpressions illegal if
- using POSIX syntax.
+ character or a subexpression.
+ Made back references to nonexistent subexpressions illegal if
+ using POSIX syntax.
Made intervals work on the last preceding character of a
- concatenation of characters, e.g., ab{0,} matches abbb, not abab.
+ concatenation of characters, e.g., ab{0,} matches abbb, not abab.
Moved macro PREFETCH to outside the routine.
(re_compile_fastmap): Added succeed_n to work analogously to
- on_failure_jump if n is zero and jump_n to work analogously to
- the other backward jumps.
+ on_failure_jump if n is zero and jump_n to work analogously to
+ the other backward jumps.
- (re_match_2): Defined macro SET_REGS_MATCHED to set which
- current subexpressions had matches within them.
- Changed some comments.
+ (re_match_2): Defined macro SET_REGS_MATCHED to set which
+ current subexpressions had matches within them.
+ Changed some comments.
Added reg_active and reg_matched_something arrays to keep track
- of in which subexpressions currently have matched something.
- Defined MATCHING_IN_FIRST_STRING and replaced ``dend == end_match_1''
- with it to make code easier to understand.
+ of in which subexpressions currently have matched something.
+ Defined MATCHING_IN_FIRST_STRING and replaced ``dend == end_match_1''
+ with it to make code easier to understand.
Fixed so can apply * and intervals to arbitrarily nested
- subexpressions. (Lots of previous bugs here.)
+ subexpressions. (Lots of previous bugs here.)
Changed so won't match a newline if syntax bit RE_DOT_NOT_NULL is set.
- Made the upcase array nonstatic so the testing file could use it also.
+ Made the upcase array nonstatic so the testing file could use it also.
- (main.c): Moved the tests out to another file.
+ (main.c): Moved the tests out to another file.
(tests.c): Moved all the testing stuff here.
Sat Nov 18 19:30:30 1989 Kathy Hargreaves (kathy at hayley)
- * regex.c: (re_compile_pattern): Defined RE_DUP_MAX, the maximum
- number of times an interval can match a pattern.
- Added macro GET_UNSIGNED_NUMBER (used to get below):
- Added variables lower_bound and upper_bound for upper and lower
- bounds of intervals.
- Added variable num_fetches so intervals could do backtracking.
+ * regex.c: (re_compile_pattern): Defined RE_DUP_MAX, the maximum
+ number of times an interval can match a pattern.
+ Added macro GET_UNSIGNED_NUMBER (used to get below):
+ Added variables lower_bound and upper_bound for upper and lower
+ bounds of intervals.
+ Added variable num_fetches so intervals could do backtracking.
Added code to handle '{' and "\{" and intervals.
Added to comments.
- (store_jump_n): (Added) Stores a jump with a number following the
- relative address (for intervals).
+ (store_jump_n): (Added) Stores a jump with a number following the
+ relative address (for intervals).
- (insert_jump_n): (Added) Inserts a jump_n.
+ (insert_jump_n): (Added) Inserts a jump_n.
- (re_match_2): Defined a macro ESTACK_PUSH_2 for the error stack;
- it checks for overflow and reallocates if necessary.
+ (re_match_2): Defined a macro ESTACK_PUSH_2 for the error stack;
+ it checks for overflow and reallocates if necessary.
* regex.h: Added bits (RE_INTERVALS and RE_NO_BK_CURLY_BRACES)
to obscure syntax to indicate whether or not
a syntax handles intervals and recognizes either \{ and
\} or { and } as operators. Also added two syntaxes
RE_SYNTAX_POSIX_BASIC and RE_POSIX_EXTENDED and two command codes
- to the enumeration regexpcode; they are succeed_n and jump_n.
+ to the enumeration regexpcode; they are succeed_n and jump_n.
Sat Nov 18 19:30:30 1989 Kathy Hargreaves (kathy at hayley)
* regex.c: (re_compile_pattern): Defined INIT_BUFF_SIZE to get rid
- of repeated constants in code. Tested with value 1.
+ of repeated constants in code. Tested with value 1.
Renamed PATPUSH as BUFPUSH, since it pushes things onto the
- buffer, not the pattern. Also made this macro extend the buffer
- if it's full (so could do the following):
- Took out code at top of loop that checks to see if buffer is going
- to be full after 10 additions (and reallocates if necessary).
+ buffer, not the pattern. Also made this macro extend the buffer
+ if it's full (so could do the following):
+ Took out code at top of loop that checks to see if buffer is going
+ to be full after 10 additions (and reallocates if necessary).
- (insert_jump): Rearranged declaration lines so comments would read
- better.
+ (insert_jump): Rearranged declaration lines so comments would read
+ better.
(re_match_2): Compacted exactn code and added more comments.
(main): Defined macros TEST_MATCH and MATCH_SELF to do
- testing; took out loop so could use these instead.
+ testing; took out loop so could use these instead.
Tue Oct 24 20:57:18 1989 Kathy Hargreaves (kathy at hayley)
* regex.c (re_set_syntax): Gave argument `syntax' a type.
- (store_jump, insert_jump): made them void functions.
+ (store_jump, insert_jump): made them void functions.
Tue Mar 6 23:29:26 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)