From 2913e17def90109ac83922e55a9df8999844ec58 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 3 Jul 2007 00:55:31 +0000 Subject: Since libbu++-reorg is now the trunk, build has been updated to work with it. --- src/build.l | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/build.l') diff --git a/src/build.l b/src/build.l index 5b69177..9065a49 100644 --- a/src/build.l +++ b/src/build.l @@ -1,8 +1,15 @@ %{ # include +# include # include "buildparser.h" # include "build.tab.h" -# include "stringrep.h" + +char *stringdup( const char *sin ) +{ + char *n = new char[strlen(sin)+1]; + strcpy( n, sin ); + return n; +} std::string strbuf; %} -- cgit v1.2.3