Frage

In section 6.4.1 of the C11 standard an asterisk appears in the list of keywords:

keyword: one of
  auto      ∗ if        unsigned
  break       inline    void
  ...

Does this indicate that * is a keyword?

If not, what is its use here indicating?

War es hilfreich?

Lösung

It is a diff mark.

In the abstract (p.1) of N1570:

Changes from the previous draft (N1539) are indicated by ‘‘diff marks’’ in the right margin: deleted text is marked with ‘‘∗’’, new or changed text with ‘‘ ’’.

In the N1539 draft, alignof was a keyword, appearing on the first row of that table:

N1750 dropped alignof and replaced it with _Alignof.

The placement of the "*" does seem slightly odd, but it definitely doesn't refer to the * operator.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top