pike.git / src / docode.c

version» Context lines:

pike.git/src/docode.c:1:   /*   || 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: docode.c,v 1.177 2004/06/02 00:09:48 nilsson Exp $ + || $Id: docode.c,v 1.178 2004/06/30 00:17:21 nilsson Exp $   */      #include "global.h" - RCSID("$Id: docode.c,v 1.177 2004/06/02 00:09:48 nilsson Exp $"); + RCSID("$Id: docode.c,v 1.178 2004/06/30 00:17:21 nilsson Exp $");   #include "las.h"   #include "program.h"   #include "pike_types.h"   #include "stralloc.h"   #include "interpret.h"   #include "constants.h"   #include "array.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "pike_memory.h"
pike.git/src/docode.c:1832:    case F_CONTINUE: {    struct statement_label *label, *p;       if (CAR(n)) {    struct pike_string *name = CAR(n)->u.sval.u.string;    struct statement_label_name *lbl_name;    for (label = current_label; label; label = label->prev)    for (lbl_name = label->name; lbl_name; lbl_name = lbl_name->next)    if (lbl_name->str == name)    goto label_found_1; -  my_yyerror("No surrounding statement labeled '%s'.", name->str); +  my_yyerror("No surrounding statement labeled %S.", name);    return 0;       label_found_1:    if (n->token == F_CONTINUE && label->continue_label < 0) {    my_yyerror("Cannot continue the non-loop statement on line %d.",    lbl_name->line_number);    return 0;    }    }