]> www.ginac.de Git - ginac.git/blobdiff - ginac/wildcard.cpp
- moved is_of_type and friend macros into utils.h so they can be phased
[ginac.git] / ginac / wildcard.cpp
index 0d782622975ff773c63d5cb1af7875b9cc291c73..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 substitues 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);
 }