문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top