Browse Source

core: cfg parser: allow negative numbers in modparams

Andrei Pelinescu-Onciul 15 years ago
parent
commit
d4b2eee2e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cfg.y

+ 1 - 1
cfg.y

@@ -1631,7 +1631,7 @@ module_stm:
 			 yyerror("Can't set module parameter");
 			 yyerror("Can't set module parameter");
 		}
 		}
 	}
 	}
-	| MODPARAM LPAREN STRING COMMA STRING COMMA NUMBER RPAREN {
+	| MODPARAM LPAREN STRING COMMA STRING COMMA intno RPAREN {
 	#ifdef SHM_MEM
 	#ifdef SHM_MEM
 		if (!shm_initialized() && init_shm()<0) {
 		if (!shm_initialized() && init_shm()<0) {
 			yyerror("Can't initialize shared memory");
 			yyerror("Can't initialize shared memory");