pike.git / lib / modules / Tools.pmod / Standalone.pmod / extract_locale.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Standalone.pmod/extract_locale.pike:1064:    werror("\n");    return 1;    }       // Try to read and parse xml-file    mapping xml_data;    xml_data = parse_xml_file(xml_name, args->baselang);    write("\n");       // Read, parse and (if necessary) update the sourcefiles -  object R = Regexp("(\.pike|\.pmod)$"); +  object R = Regexp("(pike|pmod)$");    foreach(files, string filename)    if(R->match(filename))    update_pike_sourcefiles( ({ filename }) );    else    update_xml_sourcefiles( ({ filename }) );       // Save all strings to outfile xml    if(!xml_name)    if(args->project && args->project!="")    xml_name = args->project+"_eng.xml";