Prechádzať zdrojové kódy

cfg. parser: fix warnings

- removed flex input warnings
- workaround for bison conflicts warnings (%expect ...)
(cherry picked from commit 0dabc34afe64672f07f572acfcd9478fc3575c9d)
Andrei Pelinescu-Onciul 15 rokov pred
rodič
commit
8b18772c4c
2 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 1 0
      cfg.lex
  2. 2 0
      cfg.y

+ 1 - 0
cfg.lex

@@ -83,6 +83,7 @@
  *  2010-01-10  added SHM_MEM_SZ (andrei)
 */
 
+%option noinput
 
 %{
 	#include "dprint.h"

+ 2 - 0
cfg.y

@@ -100,6 +100,8 @@
  *             added SHM_MEM_SZ (andrei)
 */
 
+%expect 5
+
 %{
 
 #include <stdlib.h>