aboutsummaryrefslogtreecommitdiffstats
path: root/main/ast_expr2.y
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-25 16:21:30 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-25 16:21:30 +0000
commit73a9575e9286345eff3e7d6e6d7e15dc871d2ee5 (patch)
tree8ca9f7188b0cb5ff771c22571a2321130cdc3384 /main/ast_expr2.y
parent7b69bb8f38eb41a0745b09b4bcd4c522f42af747 (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: http://svn.digium.com/svn/asterisk/trunk@87024 f38db490-d61c-443f-a65b-d21fe96a405b
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