Module: kamailio Branch: master Commit: efe6966fa1691cbb762ec13aa11164b0989e3cb4 URL: https://github.com/kamailio/kamailio/commit/efe6966fa1691cbb762ec13aa11164b0...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-06-06T11:19:38+02:00
core: throw yyerror on invalid cfg var definition
---
Modified: src/core/cfg.y
---
Diff: https://github.com/kamailio/kamailio/commit/efe6966fa1691cbb762ec13aa11164b0... Patch: https://github.com/kamailio/kamailio/commit/efe6966fa1691cbb762ec13aa11164b0...
---
diff --git a/src/core/cfg.y b/src/core/cfg.y index 890f964cfb..59125a1659 100644 --- a/src/core/cfg.y +++ b/src/core/cfg.y @@ -1594,6 +1594,7 @@ cfg_var_idn: ID | NUMBER { yyerror("cfg var field name - use of number or reserved token not allowed: %s", yy_number_str); + YYERROR; } ;