Browse code

core: throw yyerror on invalid cfg var definition

Daniel-Constantin Mierla authored on 06/06/2017 09:19:38
Showing 1 changed files
... ...
@@ -1594,6 +1594,7 @@ cfg_var_idn: ID
1594 1594
 	| NUMBER {
1595 1595
 		yyerror("cfg var field name - use of number or reserved token not allowed: %s",
1596 1596
 				yy_number_str);
1597
+		YYERROR;
1597 1598
 	}
1598 1599
 	;
1599 1600