Rename LCC constexpr function to constantexpr, avoiding C23 keyword clash

This commit is contained in:
Tim Angus committed 2025-03-08 13:00:48 +00:00
1 parent 3fb9006e64
commit c9697a0104
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -192,7 +192,7 @@ static int initstruct(int len, Type ty, int lev) {
return n;
}
/* initializer - constexpr | { constexpr ( , constexpr )* [ , ] } */
/* initializer - constantexpr | { constantexpr ( , constantexpr )* [ , ] } */
Type initializer(Type ty, int lev) {
int n = 0;
Tree e;