diff --git a/ast_expr2.fl b/ast_expr2.fl
index e104d2a19a24bc53e27315fa12199851d6a2d25d..32525cfff1ae801711c1d5cd956241a88ec7726d 100644
--- a/ast_expr2.fl
+++ b/ast_expr2.fl
@@ -201,7 +201,7 @@ int ast_yyerror (const char *s,  yyltype *loc, struct parse_io *parseio )
 			s, parseio->string,spacebuf2);
 #endif
 #ifndef STANDALONE
-	ast_log(LOG_WARNING,"If you have questions, please refer to doc/README.variables in the asterisk source.\n");
+	ast_log(LOG_WARNING,"If you have questions, please refer to doc/channelvariables.txt in the asterisk source.\n");
 #endif
 	return(0);
 }
diff --git a/ast_expr2f.c b/ast_expr2f.c
index 3079eb901d7abd203b9ed27f8cf22aee2c51aba2..13927ef8e1e6091365b933aa41296b600337f314 100644
--- a/ast_expr2f.c
+++ b/ast_expr2f.c
@@ -2981,7 +2981,7 @@ int ast_yyerror (const char *s,  yyltype *loc, struct parse_io *parseio )
 			s, parseio->string,spacebuf2);
 #endif
 #ifndef STANDALONE
-	ast_log(LOG_WARNING,"If you have questions, please refer to doc/README.variables in the asterisk source.\n");
+	ast_log(LOG_WARNING,"If you have questions, please refer to doc/channelvariables.txt in the asterisk source.\n");
 #endif
 	return(0);
 }