Browse Source

cfg. parser: fix warnings

- removed flex input warnings
- workaround for bison conflicts warnings (%expect ...)
Andrei Pelinescu-Onciul 15 years ago
parent
commit
0dabc34afe
2 changed files with 3 additions and 0 deletions
  1. 1 0
      cfg.lex
  2. 2 0
      cfg.y

+ 1 - 0
cfg.lex

@@ -84,6 +84,7 @@
  *  2010-02-17 added DST_BLST_{UDP,TCP,TLS,SCTP}_IMASK (andrei)
 */
 
+%option noinput
 
 %{
 	#include "dprint.h"

+ 2 - 0
cfg.y

@@ -101,6 +101,8 @@
  * 2010-02-17  added blacklist imask (DST_BLST_*_IMASK) support (andrei)
 */
 
+%expect 5
+
 %{
 
 #include <stdlib.h>