|
From: | Charles Lohr |
Subject: | Re: [Tinycc-devel] Getting text of symbols when genning code |
Date: | Sat, 30 Sep 2017 13:44:02 -0400 |
One of the issues I'm running into is I want to be able to use the actual function or variable names for some things when generating my code. I.e. gfunc_call(...) How can I find the actual text of the function I'm calling, or, when loading/storing variables how to get the names of the variables.I've tried using get_tok_str on just about every and any pointer I can get my hands on in gfunc_call(...). None give me the function name. Is there a good general rule for getting symbol names "near me"?I know I've been asking a lot of questions, but you guys are REALLY helpful. I really appreciate it!
[Prev in Thread] | Current Thread | [Next in Thread] |