Minor cleanup.
This commit is contained in:
parent
f11fbf3b36
commit
14a8e31fa5
|
@ -937,11 +937,8 @@ final class Scanner
|
||||||
|
|
||||||
// Scan directive name
|
// Scan directive name
|
||||||
reader_.sliceBuilder.begin();
|
reader_.sliceBuilder.begin();
|
||||||
{
|
|
||||||
scope(failure) { reader_.sliceBuilder.finish(); }
|
|
||||||
scanDirectiveNameToSlice(startMark);
|
scanDirectiveNameToSlice(startMark);
|
||||||
throwIfError();
|
throwIfError();
|
||||||
}
|
|
||||||
const name = reader_.sliceBuilder.finish();
|
const name = reader_.sliceBuilder.finish();
|
||||||
|
|
||||||
reader_.sliceBuilder.begin();
|
reader_.sliceBuilder.begin();
|
||||||
|
|
Loading…
Reference in a new issue