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
@@ -119,7 +119,7 @@ void statement(int loop, Swtch swp, int lev) {
static char stop[] = { IF, ID, 0 };
Tree p;
t = gettok();
p = constexpr(0);
p = constantexpr(0);
if (generic(p->op) == CNST && isint(p->type)) {
if (swp) {
needconst++;