Branch: Tag:

2007-04-02

2007-04-02 17:02:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Changed behaviour of new_check_call() in strict mode somewhat.

Rev: src/las.c:1.384

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: las.c,v 1.383 2007/04/02 12:58:39 grubba Exp $ + || $Id: las.c,v 1.384 2007/04/02 17:02:20 grubba Exp $   */      #include "global.h"
3500:    if (msg)    {    if (flags & YYTE_IS_WARNING) -  yywarning("%s", msg); +  yywarning("%S", msg);    else    yyerror(msg);    }
3510:    } else if (expected_t) {    struct pike_string *s = describe_type(expected_t);    if (flags & YYTE_IS_WARNING) { -  yywarning("Expected: %s", s->str); +  yywarning("Expected: %S", s);    } else {    my_yyerror("Expected: %S", s);    }
3518:    } else if (got_t) {    struct pike_string *s = describe_type(got_t);    if (flags & YYTE_IS_WARNING) { -  yywarning("Got : %s", s->str); +  yywarning("Got : %S", s);    } else {    my_yyerror("Got : %S", s);    }