[flang] Do not print format tabs

As an extension, tabs are accepted in a format, but should be skipped,
not printed.
This commit is contained in:
V Donaldson 2022-02-23 16:31:07 -08:00
parent 9d899d8f01
commit 338b478e70

View File

@ -111,7 +111,9 @@ private:
};
void SkipBlanks() {
while (offset_ < formatLength_ && format_[offset_] == ' ') {
while (offset_ < formatLength_ &&
(format_[offset_] == ' ' || format_[offset_] == '\t' ||
format_[offset_] == '\v')) {
++offset_;
}
}