Branch: Tag:

2003-08-22

2003-08-22 14:26:26 by Martin Nilsson <mani@lysator.liu.se>

Don't pretend return is a function.

Rev: lib/modules/Graphics.pmod/Graph.pmod/polyline.pike:1.5
Rev: lib/modules/Parser.pmod/LR.pmod/GrammarParser.pmod:1.5
Rev: lib/modules/Parser.pmod/LR.pmod/lr.pike:1.5
Rev: lib/modules/Parser.pmod/LR.pmod/module.pmod:1.11
Rev: lib/modules/Protocols.pmod/DNS.pmod:1.80
Rev: lib/modules/SSL.pmod/sslfile.pike:1.56
Rev: lib/modules/Sql.pmod/mysql.pike:1.18
Rev: lib/modules/Sql.pmod/sql_result.pike:1.12
Rev: lib/modules/Sql.pmod/sql_util.pmod:1.12
Rev: lib/modules/Stdio.pmod/module.pmod:1.181

1:   /*    * Graph sub-module providing draw functions. -  * $Id: polyline.pike,v 1.4 2001/11/19 00:01:32 nilsson Exp $ +  * $Id: polyline.pike,v 1.5 2003/08/22 14:26:26 nilsson Exp $    */      #pike __REAL_VERSION__
33:    for (int i = 0; i < CAPSTEPS; i++) {    s_t[i] = sin(PI*i/(CAPSTEPS-1));    } -  return(s_t); +  return s_t;   }      static array(float) cap_sin_table = init_cap_sin_table();
45:    for (int i = 0; i < CAPSTEPS; i++) {    c_t[i] = cos(PI*i/(CAPSTEPS-1));    } -  return(c_t); +  return c_t;   }      static array(float) cap_cos_table = init_cap_cos_table();