diff options
Diffstat (limited to '')
-rw-r--r-- | src/build.l | 6 |
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 | ||
5 | char *fstrdup( const Bu::FString &s ) | 5 | char *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 | } |
18 | void build_error( YYLTYPE *locp, yyscan_t yyscanner, BuildParser &bld, const char *msg ); | 18 | void build_error( YYLTYPE *locp, yyscan_t yyscanner, BuildParser &bld, const char *msg ); |
19 | 19 | ||
20 | Bu::FString sBuf; | 20 | Bu::String sBuf; |
21 | int iStrDepth = 0; | 21 | int iStrDepth = 0; |
22 | %} | 22 | %} |
23 | 23 | ||