From 786fd9b96b1e5e3492e527e2fd0e14dcabbe381c Mon Sep 17 00:00:00 2001 From: Fabian Gast Date: Wed, 24 Feb 2021 11:03:25 +0100 Subject: [PATCH] Fix wrong route type in error message --- cfg.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg.y b/cfg.y index 5ff7349ae17..8b60d836bd7 100644 --- a/cfg.y +++ b/cfg.y @@ -1527,7 +1527,7 @@ event_route_stm: ROUTE_EVENT LBRACK route_name RBRACK LBRACE actions RBRACE { if (i_tmp==-1) YYABORT; push($6, &sroutes->event[i_tmp].a); } - | ROUTE_EVENT error { yyerror("invalid timer_route statement"); } + | ROUTE_EVENT error { yyerror("invalid event_route statement"); } ;