File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -148,19 +148,19 @@ fn handle_function_macro(
148
148
Some ( [ first, second] )
149
149
if first. is_abutting ( & second) && second. spelling ( ) == b"(" =>
150
150
{
151
- let mut joined =
151
+ let mut spelled =
152
152
tokens. into_iter ( ) . map ( clang:: ClangToken :: spelling) ;
153
- let boundary = joined
153
+ let boundary = spelled
154
154
. clone ( ) // clone the iterator to avoid consuming elements
155
155
. position ( |s| s == b")" )
156
156
. unwrap_or ( joined. len ( ) ) ;
157
157
158
158
// Add 1, to convert index to length.
159
- let left = joined . by_ref ( ) . take ( boundary + 1 ) ;
159
+ let left = spelled . by_ref ( ) . take ( boundary + 1 ) ;
160
160
let left = left. collect :: < Vec < _ > > ( ) . concat ( ) ;
161
161
let left =
162
162
String :: from_utf8 ( left) . map_err ( |_| ParseError :: Continue ) ?;
163
- let right = joined ;
163
+ let right = spelled ;
164
164
// Drop last token with LLVM < 4.0, due to an LLVM bug.
165
165
//
166
166
// See:
You can’t perform that action at this time.
0 commit comments