bug-cflow
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-cflow] Print function/macro definition/declaration


From: Peng Yu
Subject: [bug-cflow] Print function/macro definition/declaration
Date: Fri, 4 Jan 2019 13:29:04 -0600

Hi,

cflow generates the following output. Is there a way to show the
information of the caller in this print() is a macro instead of a
function and where it is declared? Thanks.

$ cflow main.c
main() <int main () at main.c:5>:
    print()
$ cat main.c
// vim: set noexpandtab tabstop=2:
#include <stdio.h>

#define print(x) puts(x)
int main() {
    print("Hello World!");
    return 0;
}

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]