[sr-dev] return($retcode) gives syntax error

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Jun 1 12:10:08 CEST 2009


On May 30, 2009 at 09:19, Juha Heinanen <jh at tutpro.com> wrote:
> here is one more:
> 
> 	return($retcode);
> 
>  0(6768) : <core> [cfg.y:2921]: parse error in config file, line 2905, column 17: syntax error
>  0(6768) : <core> [cfg.y:2921]: parse error in config file, line 2905, column 17: ==, !=, <,>, >= or <=  expected

The return code system is not yet "unified". We should move the $retcode
pv into the core and add all the aliases for it ($? , $rc) and then
remove the ser built-in versions ($retocde, $?) from cfg.lex & cfg.y.

Workaround for the curent version: use $rc.

Andrei



More information about the sr-dev mailing list