Browse code

core: cfg parser: allow negative numbers in modparams (cherry picked from commit d4b2eee2e4f0e5a1fe4b5ea17d78d51a6fab70c7)

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