Browse code

core: throw yyerror on invalid cfg var definition

(cherry picked from commit efe6966fa1691cbb762ec13aa11164b0989e3cb4)
(cherry picked from commit 7ded0a730fa36922449834b4b96fd014d5600b47)

Daniel-Constantin Mierla authored on 06/06/2017 09:19:38
Showing 1 changed files
... ...
@@ -1554,6 +1554,7 @@ cfg_var_idn: ID
1554 1554
 	| NUMBER {
1555 1555
 		yyerror("cfg var field name - use of number or reserved token not allowed: %s",
1556 1556
 				yy_number_str);
1557
+		YYERROR;
1557 1558
 	}
1558 1559
 	;
1559 1560