Module: sip-router Branch: andrei/script_vars Commit: ea6f7be1772436d182335086847fe6a0e5908d4e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ea6f7be1...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Sat Nov 29 15:58:14 2008 +0100
script: more error messages on EOF
---
cfg.lex | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/cfg.lex b/cfg.lex index 56c51e5..b196c32 100644 --- a/cfg.lex +++ b/cfg.lex @@ -911,6 +911,21 @@ EAT_ABLE [\ \t\b\r] LOG(L_CRIT, "ERROR: unexpected EOF:" "comment line open\n"); break; + case ATTR_S: + LOG(L_CRIT, "ERROR: unexpected EOF" + " while parsing" + " avp name\n"); + break; + case PVAR_P_S: + LOG(L_CRIT, "ERROR: unexpected EOF" + " while parsing pvar name" + " (%d paranthesis open)\n", + p_nest); + break; + case AVP_PVAR_S: + LOG(L_CRIT, "ERROR: unexpected EOF" + " while parsing" + " avp or pvar name\n"); } return 0; }