Branch: Tag:

2007-06-02

2007-06-02 14:23:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed broken diagnostic detected by the new typechecker.

Rev: lib/modules/Tools.pmod/AutoDoc.pmod/PikeParser.pike:1.46
Rev: lib/modules/Tools.pmod/Standalone.pmod/extract_locale.pike:1.19

2:   //   // By Martin Nilsson and Andreas Lange   // - // $Id: extract_locale.pike,v 1.18 2004/01/21 19:01:32 grubba Exp $ + // $Id: extract_locale.pike,v 1.19 2007/06/02 14:22:20 grubba Exp $      #pike __REAL_VERSION__   
762:    lambda(object foo, mapping m) {    if(!m->project || m->project=="") {    werror("\n * Error: Missing project in %s\n", -  m->project, filename); +  filename);    exit(1);    }    if(args->project && m->project!=args->project)
1050:       if( (!(xml_name && args->sync && args->xmlpath && args->baselang)) &&    (!sizeof(files) || args->help) ) { -  sscanf("$Revision: 1.18 $", "$"+"Revision: %s $", string v); +  sscanf("$Revision: 1.19 $", "$"+"Revision: %s $", string v);    werror("\n Locale Extractor Utility "+v+"\n\n");    werror(" Syntax: pike -x extract_locale [arguments] infile(s)\n\n");    werror(" Arguments: --project=name default: first found in infile\n");