[sr-dev] syntax error in switch statement
Juha Heinanen
jh at tutpro.com
Tue Sep 22 15:34:35 CEST 2009
i'm getting syntax error on last line of this kind of switch statement:
if (defined($fd.foo)) {
switch ($fd.foo) {
case "fi":
route(TEST);
return($retcode);
why is that? in k, that kind of construct used to work.
-- juha
0(26885) : <core> [cfg.y:3208]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 2971, column 19: syntax error
0(26885) : <core> [cfg.y:3208]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 2971, column 19: ==, !=, <,>, >= or <= expected
More information about the sr-dev
mailing list