src/c-types-{impl,parse}.lisp: Support C11 `_Atomic'.
[sod] / src / sod-module.5
index 21a9fee..86b124d 100644 (file)
@@ -712,15 +712,34 @@ class-definition
 .B _Complex
 .|
 .I qualifier
+.|
+.I atomic-type
 .br
 .I qualifier
 ::=
+.I atomic
+|
 .B const
 |
 .B volatile
 |
 .B restrict
 .br
+.I atomic-type
+::=
+.I
+atomic
+.B (
+.IR declaration-specifier \*+
+.I abstract-declarator
+.B )
+.br
+.I atomic
+::=
+.B atomic
+|
+.B _Atomic
+.br
 .I type-name
 ::=
 .I identifier
@@ -854,6 +873,10 @@ and one of the following, up to reordering.
 .IR declaration-specifier \*+
 .I argument-declarator
 .br
+.I abstract-declarator
+::=
+.IR declarator [\*e]
+.br
 .I argument-declarator
 ::=
 .IR declarator [ identifier " | \*e]"