diff options
author | Michael Forney <mforney@mforney.org> | 2024-03-22 01:50:07 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2024-03-22 01:50:07 -0700 |
commit | 92c59818b538ae7ca4973b5e0bafa8b7efadcb78 (patch) | |
tree | e0545b1df179827448e05fa8e6bd965870e94ed8 /cc.h | |
parent | f24b8ba07d0b2a5f4d81979aa6812bcdf410a365 (diff) |
Implement C23 nullptr constant
Diffstat (limited to 'cc.h')
-rw-r--r-- | cc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -166,7 +166,8 @@ enum typekind { TYPEARRAY, TYPEFUNC, TYPESTRUCT, - TYPEUNION + TYPEUNION, + TYPENULLPTR, }; enum typeprop { @@ -446,6 +447,7 @@ extern struct type typeint, typeuint; extern struct type typelong, typeulong; extern struct type typellong, typeullong; extern struct type typefloat, typedouble, typeldouble; +extern struct type typenullptr; extern struct type *typeadjvalist; /* targ */ |