diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2005-02-10 20:50:31 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2005-02-10 20:50:31 +0000 |
commit | a758b0b5fd9985d853637e2aa988519329533771 (patch) | |
tree | 13ac72625becca6611085c6ca03fe28f7bd0cfff /perly.h | |
parent | 2080282f2af44db6021d1dce04e81f0141289f86 (diff) | |
download | perl-a758b0b5fd9985d853637e2aa988519329533771.tar.gz |
[perl #34101] not() || 1 produces segmentation fault
Fixed by making not() behave like not(0). This is also the
way not() behaved before it started segfaulting in 5.6.0.
p4raw-id: //depot/perl@23960
Diffstat (limited to 'perly.h')
-rw-r--r-- | perly.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,8 +1,8 @@ #ifdef PERL_CORE -/* A Bison parser, made by GNU Bison 1.875. */ +/* A Bison parser, made by GNU Bison 2.0. */ /* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -171,8 +171,8 @@ typedef union YYSTYPE { OP *opval; GV *gvval; } YYSTYPE; -/* Line 1248 of yacc.c. */ -#line 173 "perly.h" +/* Line 1318 of yacc.c. */ +#line 174 "perly.h" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 |