commit
0539fb4b0d
|
@ -203,11 +203,13 @@ void TokenStreamRewriter::Delete(Token *from, Token *to) {
|
|||
}
|
||||
|
||||
void TokenStreamRewriter::Delete(const std::string &programName, size_t from, size_t to) {
|
||||
replace(programName, from, to, nullptr);
|
||||
std::string nullString;
|
||||
replace(programName, from, to, nullString);
|
||||
}
|
||||
|
||||
void TokenStreamRewriter::Delete(const std::string &programName, Token *from, Token *to) {
|
||||
replace(programName, from, to, nullptr);
|
||||
std::string nullString;
|
||||
replace(programName, from, to, nullString);
|
||||
}
|
||||
|
||||
size_t TokenStreamRewriter::getLastRewriteTokenIndex() {
|
||||
|
|
Loading…
Reference in New Issue