From 0167fbba73144e7dcf81a783a1d6c985343222f4 Mon Sep 17 00:00:00 2001 From: murf Date: Tue, 3 Mar 2009 18:11:34 +0000 Subject: These changes allow AEL to better check ${} constructs within $[...], that are concatenated with text. I modified and added rules in ast_expr2.fl to better handle the concatenations. I added some default routines to ast_expr2.y so the standalone would compile. It also looks like I haven't run this thru bison since 2.1, so it's good to get this updated. The Makefile has comments added now for check_expr2 and check_expr to explain what they are for, and how to run them. The testexpr2s stuff has been removed, in favor of check_expr2. expr2.testinput has been updated to include the two expressions that inspired these changes (from mcnobody on #asterisk this morning) The regression has been run and all looks well. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@179807 f38db490-d61c-443f-a65b-d21fe96a405b --- main/ast_expr2.y | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main/ast_expr2.y') diff --git a/main/ast_expr2.y b/main/ast_expr2.y index b2faf374d..caa4314bd 100644 --- a/main/ast_expr2.y +++ b/main/ast_expr2.y @@ -422,6 +422,14 @@ is_zero_or_null (struct val *vp) #ifdef STANDALONE +void ast_register_file_version(const char *file, const char *version) +{ +} + +void ast_unregister_file_version(const char *file) +{ +} + void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...) { va_list vars; -- cgit v1.2.3