Parise makes #forscopes accept a variable

This commit is contained in:
Jon Parise 2003-01-30 00:41:21 +00:00 committed by David Rose
parent 9e8ba9e7e3
commit 257272aad7

View File

@ -1843,7 +1843,7 @@ replay_forscopes(const string &name) {
// Extract out the scope names from the #forscopes .. #end name. This
// is a space-delimited list of scope names.
vector<string> words;
tokenize_whitespace(name, words);
tokenize_whitespace(_scope->expand_string(name), words);
// Now build up the list of scopes with these names.
PPNamedScopes::Scopes scopes;