tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Nice, simple code for dumping symbol tables wanted


From: Peter \"Firefly\" Lund
Subject: [Tinycc-devel] Nice, simple code for dumping symbol tables wanted
Date: Fri, 7 Mar 2003 00:48:41 +0100 (MET)

Fabrice,

you don't happen to have some code lying around that will dump symbol
tables, do you?

I'm about to look at this bug:

 # cat bug1.c
 #define s hello
 #define hello(msg) printf("%s\n",msg)

 main() {
   s("hi");
 }

 # tcc bug1.c
 tcc: undefined symbol 'hello'

I know it would build character to write that code myself, but...

-Peter

"Of course, I'm not unbiased, but in my humble opinion, I've
 gotten close to something that I can be really proud of."
 -- Knuth on The Art of Computer Programming.




reply via email to

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