aboutsummaryrefslogtreecommitdiff
path: root/src/build.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.l')
-rw-r--r--src/build.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build.l b/src/build.l
index dc4ddda..7b770f7 100644
--- a/src/build.l
+++ b/src/build.l
@@ -1,8 +1,8 @@
1%{ 1%{
2 #include "buildparser.h" 2 #include "buildparser.h"
3 #include "bu/fstring.h" 3 #include "bu/string.h"
4 4
5char *fstrdup( const Bu::FString &s ) 5char *fstrdup( const Bu::String &s )
6{ 6{
7 char *sRet = new char[s.getSize()+1]; 7 char *sRet = new char[s.getSize()+1];
8 memcpy( sRet, s.getStr(), s.getSize()+1 ); 8 memcpy( sRet, s.getStr(), s.getSize()+1 );
@@ -17,7 +17,7 @@ char *rstrdup( const char *sIn )
17} 17}
18void build_error( YYLTYPE *locp, yyscan_t yyscanner, BuildParser &bld, const char *msg ); 18void build_error( YYLTYPE *locp, yyscan_t yyscanner, BuildParser &bld, const char *msg );
19 19
20Bu::FString sBuf; 20Bu::String sBuf;
21int iStrDepth = 0; 21int iStrDepth = 0;
22%} 22%}
23 23