src/c-types-{impl,parse}.tex: Support `_Atomic' types.
[sod] / src / c-types-parse.lisp
index 2c0e725..4244d3e 100644 (file)
@@ -96,7 +96,8 @@
                    ((type :taggedp t) :enum :struct :union)
                    (size :short :long (:long-long :name "long long"))
                    (sign :signed :unsigned)
-                   (qualifier :const :restrict :volatile)))
+                   (qualifier :const :restrict :volatile
+                              (:atomic :compat "_Atomic"))))
       (destructuring-bind (kind &key (taggedp nil))
          (let ((spec (car item)))
            (if (consp spec) spec (list spec)))