aboutsummaryrefslogtreecommitdiff
path: root/src/build.l
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-07-03 00:55:31 +0000
committerMike Buland <eichlan@xagasoft.com>2007-07-03 00:55:31 +0000
commit2913e17def90109ac83922e55a9df8999844ec58 (patch)
tree435d08bb62e3bfa045bcb4a59a9fcfba049fae1d /src/build.l
parenta1bc3936b85eab573361026ae323c1a02e0f0ccd (diff)
downloadbuild-2913e17def90109ac83922e55a9df8999844ec58.tar.gz
build-2913e17def90109ac83922e55a9df8999844ec58.tar.bz2
build-2913e17def90109ac83922e55a9df8999844ec58.tar.xz
build-2913e17def90109ac83922e55a9df8999844ec58.zip
Since libbu++-reorg is now the trunk, build has been updated to work with it.
Diffstat (limited to '')
-rw-r--r--src/build.l9
1 files changed, 8 insertions, 1 deletions
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 @@
1%{ 1%{
2# include <string> 2# include <string>
3# include <string.h>
3# include "buildparser.h" 4# include "buildparser.h"
4# include "build.tab.h" 5# include "build.tab.h"
5# include "stringrep.h" 6
7char *stringdup( const char *sin )
8{
9 char *n = new char[strlen(sin)+1];
10 strcpy( n, sin );
11 return n;
12}
6 13
7std::string strbuf; 14std::string strbuf;
8%} 15%}