Module: sip-router
Branch: master
Commit: 584508d5374726bf523a23693da86f0763b34767
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=584508d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Jun 23 05:37:34 2013 +0200
core: allow c++ style of one line comments
- can make easier the read of config files with defines and comments
---
cfg.lex | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cfg.lex b/cfg.lex
index 4b69287..053fa2e 100644
--- a/cfg.lex
+++ b/cfg.lex
@@ -540,7 +540,7 @@ CR \n
EVENT_RT_NAME [a-zA-Z][0-9a-zA-Z-]*(":"[a-zA-Z][0-9a-zA-Z-]*)+
-COM_LINE #
+COM_LINE "#"|"//"
COM_START "/\*"
COM_END "\*/"