Hi Christophe,

On 01/20/2015 03:03 PM, Christophe CURIS wrote:
> There is a new script to generate the documentation, because from the way
> we generate it we cannot assume that 'texi2any' is available  and working
> on the user's computer; it is also the opportunity to generate a better
> looking document (see the description at the beginning of the script);

Thanks for these patches!

However, I get the following errors from the new script if I only have
mawk available.
> awk: line 42: syntax error at or near ,
> awk: line 52: syntax error at or near {
> awk: line 58: syntax error at or near :
> awk: line 62: syntax error at or near :
> awk: line 65: syntax error at or near }
> Makefile:488: recipe for target '../../README.i18n' failed

With gawk, everything is fine.

I believe these are the lines in question:
>   local_idx = match(line, /^([^ \t]+)([ \t]*)(.*)$/, local_split);
>   if (local_idx > 0) {
>     variable[ local_split[1] ] = local_split[3];
>   }
> }
>
> # Write a single line to the output
> function write_line(line) {
>   if (!cond_state) { return; }
>
>   switch (redirect_out) {
>   case "no":
>     print line;
>     line_number++;
>     break;
>
>   case "copyright":
>     copyright_lines[copyright_count++] = line;
>     break;
>
>   default:
>     report_error("redirect output mode \"" redirect_out "\" is not
> supported (line " NR ")");
>   }
> }





--
To unsubscribe, send mail to [email protected].

Reply via email to