Module: sip-router Branch: master Commit: 0fa738b70e8978587f0a1ca7e5db54b12ece4e43 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0fa738b7...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Thu Aug 27 11:28:33 2009 +0300
core: use count() for 'include' directive
---
cfg.lex | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cfg.lex b/cfg.lex index ac7032d..a5941e4 100644 --- a/cfg.lex +++ b/cfg.lex @@ -577,7 +577,7 @@ EAT_ABLE [\ \t\b\r] <INITIAL>{DEFAULT} { count(); yylval.strval=yytext; return DEFAULT; } <INITIAL>{WHILE} { count(); yylval.strval=yytext; return WHILE; }
-<INITIAL>{INCLUDE} { BEGIN(INCL); } +<INITIAL>{INCLUDE} { count(); BEGIN(INCL); }
<INITIAL>{URIHOST} { count(); yylval.strval=yytext; return URIHOST; } <INITIAL>{URIPORT} { count(); yylval.strval=yytext; return URIPORT; }