]> www.ginac.de Git - ginac.git/blobdiff - ginac/wildcard.cpp
- dummy index renaming works better
[ginac.git] / ginac / wildcard.cpp
index 528df593f0bbb5528499a28715fc4f669b053aa9..31d934a3d14790b2686e97442aa6e5199868e5c2 100644 (file)
@@ -77,7 +77,7 @@ void wildcard::archive(archive_node &n) const
 DEFAULT_UNARCHIVE(wildcard)
 
 //////////
-// functions overriding virtual functions from bases classes
+// functions overriding virtual functions from base classes
 //////////
 
 int wildcard::compare_same_type(const basic & other) const
@@ -115,9 +115,9 @@ unsigned wildcard::calchash(void) const
 
 bool wildcard::match(const ex & pattern, lst & repl_lst) const
 {
-       // Wildcards must match exactly (this is required for subs() to work
-       // properly because in the final step it substitutes all wildcards by
-       // their matching expressions)
+       // Wildcards must match each other exactly (this is required for
+       // subs() to work properly because in the final step it substitutes
+       // all wildcards by their matching expressions)
        return is_equal(*pattern.bp);
 }