cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit b46de4e7fcf6bc519f2fc1dc7f5e8c2fc0db67d7
parent 74b43a9973a22c95411137721775c11d58665660
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 13 Mar 2019 12:27:14 -0700

Update __PRETTY_FUNCTION__ comment

Diffstat:
Mqbe.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qbe.c b/qbe.c @@ -395,7 +395,7 @@ mkfunc(char *name, struct type *t, struct scope *s) d->value = mkglobal("__func__", true); scopeputdecl(s, "__func__", d); /* - needed for glibc's assert definition with __GNUC__=4 + needed for glibc's assert definition with __GNUC__=2 __GNUC_MINOR__=4 XXX: this should also work at file scope, where it should evaluate to "toplevel" */ scopeputdecl(s, "__PRETTY_FUNCTION__", d);