<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/76537>76537</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [Flang] Support multiple spaces in compiler directives
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            flang
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          eschnett
      </td>
    </tr>
</table>

<pre>
    I am using Flang 17.0.6, built via MacPorts on macOS. I find that the directive
```
!dir$ ignore_tkr(tkr) buf
```
cannot have multiple spaces between the `!dir$` and the `ignore` tokens, this leads to a confused error `error: expected end of statement`.

It would be nice if this was supported. The Fortran language supports arbitrary amounts of white space where a single white space is allowed, and it would be nice if that was also possible in this directive.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUk1vnDwQ_jXmMgoCswvLgUPeN1oph6qV0ns12AO4MTbyDLvNv69gN42qRkIGZhiej3mQ2Y2BqFPH_9TxKcNVppg6YjMFEsn6aN-6Z8AZVnZhhLPHMELZ5EVeK_0_9KvzAheH8AXNt5iEIQaY0Xx9yeEZBhcsyIQCMhFYl8iIu5AqnlTxqOrift1edWldUvoAbgwx0Q95TUqf9rOFfh0-nTIYQhSY8EIwr17c4gl4QUMMPcmVKOzY28A7gKoLwJ3YXr_BbUWJrxR40yWTY_CElkEiIJgYhpXJAqUU0za1P6jqEejXQka2VrAQB2BBoZmCqLrI75z381ngGldvoScIzhC44YZzRQZelyUmIZvD94ngHJMkDLDZveJI730GTL2ThOkNcI5r2Awf4Do5ucuG60SJAGHbl6e_Wo4BvY9XspvGzQL3KSeUnRN6jrBEZtd7AhdubP9sMc9sV9m2ajGjrmyKqmlPTV1nU1e3jWmMxebUFH2PVJ_aVpftoWoOtW1Kk7lOF7oqtT7pUtdFnR_K0_GIA1aH2g6mb9WhoBmdz72_zHlMY-aYV-qa-lg1mceePO-Z1XrYPFJab_FN3fb9Q7-OrA6Fdyz88Qdx4veg7yFWxyd4uZn6T3BcABPnxXlKH3I5W5PvJpGFVfWo9Fnp8-hkWvvcxFnp8wZ0vz0sKf4kI0qfd96s9Hmn_jsAAP__vXchYQ">