Module: sip-router
Branch: sr_3.0
Commit: ec41cab0c1133893a4edeb21e448eafd526d41ce
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ec41cab0c1133893a4edeb21e448eafd526d41ce

Author: Andrei Pelinescu-Onciul <[email protected]>
Committer: Andrei Pelinescu-Onciul <[email protected]>
Date:   Wed Mar 10 09:45:28 2010 +0100

cfg. parser: fix warnings

- removed flex input warnings
- workaround for bison conflicts warnings (%expect ...)
(cherry picked from commit 0dabc34afe64672f07f572acfcd9478fc3575c9d)

---

 cfg.lex |    1 +
 cfg.y   |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cfg.lex b/cfg.lex
index 3d41477..ef8cc6f 100644
--- a/cfg.lex
+++ b/cfg.lex
@@ -83,6 +83,7 @@
  *  2010-01-10  added SHM_MEM_SZ (andrei)
 */
 
+%option noinput
 
 %{
        #include "dprint.h"
diff --git a/cfg.y b/cfg.y
index bfaff5f..05740c2 100644
--- a/cfg.y
+++ b/cfg.y
@@ -100,6 +100,8 @@
  *             added SHM_MEM_SZ (andrei)
 */
 
+%expect 5
+
 %{
 
 #include <stdlib.h>


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to