Browse code

core: cfg parser: allow negative numbers in modparams

Andrei Pelinescu-Onciul authored on 19/03/2010 13:47:46
Showing 1 changed files
... ...
@@ -1631,7 +1631,7 @@ module_stm:
1631 1631
 			 yyerror("Can't set module parameter");
1632 1632
 		}
1633 1633
 	}
1634
-	| MODPARAM LPAREN STRING COMMA STRING COMMA NUMBER RPAREN {
1634
+	| MODPARAM LPAREN STRING COMMA STRING COMMA intno RPAREN {
1635 1635
 	#ifdef SHM_MEM
1636 1636
 		if (!shm_initialized() && init_shm()<0) {
1637 1637
 			yyerror("Can't initialize shared memory");