summaryrefslogtreecommitdiff
path: root/main/ast_expr2.y
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-10-25 16:21:30 +0000
committerSteve Murphy <murf@digium.com>2007-10-25 16:21:30 +0000
commit16d06cb62f96c83e90c808f968cd3710c0070be4 (patch)
tree8ca9f7188b0cb5ff771c22571a2321130cdc3384 /main/ast_expr2.y
parenta8cc80e36d5645bac000cd0be1d34f32021bd07a (diff)
closes issue #11045 - each file needs to define ASTERISK_FILE_VERSION, if you are going to set MTX_PROFILE in the compiler flags; the problem was that the fixes were getting made to the generated .c file, and erased the next time someone regenerated that file from the corresponding .y or .flex file. Moral of story: keep your eyes open and make mods to the .y (or flex input file) and re-run bison (or flex) as the Makefile directs for that file, and then check in both. Also, res_config_sqlite was kinda missed, and has the same issue.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/ast_expr2.y')
-rw-r--r--main/ast_expr2.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/ast_expr2.y b/main/ast_expr2.y
index d910987d6..cb46aeb2b 100644
--- a/main/ast_expr2.y
+++ b/main/ast_expr2.y
@@ -15,6 +15,7 @@
#include <sys/types.h>
#include <stdio.h>
#include "asterisk.h"
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#define FP___PRINTF "%.18Lg"
#define FP___TYPE long double