+ # Replace sequences of tabs and/or whitespace with a single
+ # whitespace character. We need the whitespace because the method
+ # may have been split between multiple lines, like e.g.:
+ #
+ # virtual std::vector<long_type_name>
+ # my_long_method_name ()
+ # TARGET_DEFAULT_IGNORE ();
+ #
+ # If we didn't preserve the whitespace, then we'd end up with:
+ #
+ # virtual std::vector<long_type_name>my_long_method_name ()TARGET_DEFAULT_IGNORE ()
+ #
+ # ... which wouldn't later be parsed correctly.
+ $all_the_text =~ s/[\t\s]+/ /g;
+