aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-23 20:22:25 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-23 20:22:25 +0000
commit5b1d03dfd316d5c1962498fc00b30289b88ddd67 (patch)
tree9daf3ba23d3df8cd5961bb7a9563707ceac075b3 /main
parent4953bbd83bae8363c05baf86b86fb194aec1abe1 (diff)
this update to Makefile corrects how ast_expr2f.c should be generated
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@86881 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/Makefile b/main/Makefile
index dd2c97e40..10353da39 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -106,6 +106,8 @@ ast_expr2.c ast_expr2.h:
ast_expr2f.c:
flex -o $@ --full ast_expr2.fl
+ sed 's@free( (char \*) ptr );@if(ptr) free( (char *) ptr );@' ast_expr2f.c > zz
+ mv zz ast_expr2f.c
testexpr2: ast_expr2f.c ast_expr2.c ast_expr2.h
$(CC) -g -c -Iinclude -DSTANDALONE ast_expr2f.c