Browse Source

Parise makes #forscopes accept a variable

Jon Parise 23 years ago
parent
commit
257272aad7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ppremake/ppCommandFile.cxx

+ 1 - 1
ppremake/ppCommandFile.cxx

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